public class BodyRegion extends RegionReference
regionViewport
bpd, BT, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, ipd, log, LR, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, props, RL, TB
extensionAttachments, foreignAttributes
Constructor and Description |
---|
BodyRegion(int regionClass,
java.lang.String regionName,
RegionViewport parent,
int columnCount,
int columnGap)
Constructor which can read traits directly
from an fo:region-body formatting object.
|
BodyRegion(RegionBody rb,
RegionViewport parent)
Constructor which can read traits directly
from an fo:region-body formatting object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone this object.
|
BeforeFloat |
getBeforeFloat()
Get the before float area.
|
int |
getColumnCount()
Get the number of columns when not spanning
|
int |
getColumnGap() |
Footnote |
getFootnote()
Get the footnote area.
|
MainReference |
getMainReference()
Get the main reference area.
|
int |
getRemainingBPD() |
boolean |
isEmpty()
indicates whether the main reference area has any child areas added to it
|
addBlock, addChildArea, getBlocks, getCTM, getRegionClass, getRegionName, getRegionViewport, setCTM, toString
addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD
addExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributes
public BodyRegion(RegionBody rb, RegionViewport parent)
rb
- the region-body FO nodeparent
- the parent region viewportpublic BodyRegion(int regionClass, java.lang.String regionName, RegionViewport parent, int columnCount, int columnGap)
regionClass
- the region class (as returned by Region.getNameId())regionName
- the name of the region (as returned by Region.getRegionName())parent
- the parent region viewportcolumnCount
- the number of columnscolumnGap
- the gap between columnspublic int getColumnCount()
public int getColumnGap()
public MainReference getMainReference()
public boolean isEmpty()
public BeforeFloat getBeforeFloat()
public Footnote getFootnote()
public int getRemainingBPD()
public java.lang.Object clone()
clone
in class RegionReference
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.