Package org.apache.fop.layoutmgr.inline
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
Fields inherited from class org.apache.fop.layoutmgr.KnuthElement
INFINITE
-
Constructor Summary
ConstructorDescriptionKnuthInlineBox
(int width, AlignmentContext alignmentContext, Position pos, boolean auxiliary) Create a new KnuthBox. -
Method Summary
Methods inherited from class org.apache.fop.layoutmgr.KnuthElement
getPenalty, getShrink, getStretch, getWidth, isAuxiliary, isUnresolvedElement
Methods inherited from class org.apache.fop.layoutmgr.ListElement
getLayoutManager, getPosition, isForcedBreak, isGlue, isPenalty, setPosition
-
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()
-