Class BeforeFloat
java.lang.Object
org.apache.fop.area.AreaTreeObject
org.apache.fop.area.Area
org.apache.fop.area.BlockParent
org.apache.fop.area.BeforeFloat
- All Implemented Interfaces:
Serializable, Cloneable
The before-float-reference-area optionally generated by an fo:region-body.
It has an optional separator and before float block children.
See fo:region-body definition in the XSL Rec for more information.
- See Also:
-
Field Summary
FieldsFields inherited from class BlockParent
children, xOffset, yOffsetFields inherited from class Area
bidiLevel, bpd, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, effectiveIPD, ipd, log, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, traitsFields inherited from class AreaTreeObject
extensionAttachments, foreignAttributes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetBPD()Get the height of this before float.Get the separator area for this before float.booleanisEmpty()Check whether there are child areas.voidsetSeparator(Block sep) Set the separator area for this before float.Methods inherited from class BlockParent
activateEffectiveIPD, addBlock, addChildArea, getChildAreas, getEffectiveIPD, getXOffset, getYOffset, setXOffset, setYOffsetMethods inherited from class Area
addTrait, clone, getAllocBPD, getAllocIPD, getAreaClass, getBidiLevel, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getChangeBarList, getEffectiveAllocIPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, isFromFootnote, resetBidiLevel, setAreaClass, setBidiLevel, setBPD, setChangeBarList, setFromFootnote, setIPD, setTraits, setWritingModeTraits, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
separator
-
-
Constructor Details
-
BeforeFloat
public BeforeFloat()
-
-
Method Details
-
setSeparator
Set the separator area for this before float.- Parameters:
sep- the before float separator area
-
getSeparator
Get the separator area for this before float.- Returns:
- the before float separator area
-
getBPD
-
isEmpty
public boolean isEmpty()Check whether there are child areas.- Overrides:
isEmptyin classBlockParent- Returns:
- the result.
-