Class KnuthInlineBox
java.lang.Object
org.apache.fop.layoutmgr.ListElement
org.apache.fop.layoutmgr.KnuthElement
org.apache.fop.layoutmgr.KnuthBox
org.apache.fop.layoutmgr.inline.KnuthInlineBox
A knuth inline box.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AlignmentContextprivate FloatContentLayoutManagerprivate FootnoteBodyLayoutManagerFields inherited from class KnuthElement
INFINITE -
Constructor Summary
ConstructorsConstructorDescriptionKnuthInlineBox(int width, AlignmentContext alignmentContext, Position pos, boolean auxiliary) Create a new KnuthBox. -
Method Summary
Methods inherited from class KnuthElement
getPenalty, getShrink, getStretch, getWidth, isAuxiliary, isUnresolvedElementMethods inherited from class ListElement
getLayoutManager, getPosition, isForcedBreak, isGlue, isPenalty, setPosition
-
Field Details
-
footnoteBodyLM
-
alignmentContext
-
floatContentLM
-
-
Constructor Details
-
KnuthInlineBox
public KnuthInlineBox(int width, AlignmentContext alignmentContext, Position pos, boolean auxiliary) Create a new KnuthBox.- Parameters:
width- the width of this boxalignmentContext- the alignmentContext for this boxpos- the Position stored in this boxauxiliary- is this box auxiliary?
-
-
Method Details
-
getAlignmentContext
- Returns:
- the alignment context.
-
setFootnoteBodyLM
- Parameters:
fblm- the FootnoteBodyLM this box must hold a reference to
-
getFootnoteBodyLM
- Returns:
- the FootnoteBodyLM this box holds a reference to
-
isAnchor
public boolean isAnchor()- Returns:
- true if this box holds a reference to a FootnoteBodyLM
-
setFloatContentLM
-
getFloatContentLM
-
isFloatAnchor
public boolean isFloatAnchor()
-