|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.area.AreaTreeObject
org.apache.fop.area.Area
org.apache.fop.area.MainReference
The main-reference-area generated by an fo:region-body This object holds one or more span-reference-areas (block-areas stacked in the block progression direction) See fo:region-body definition in the XSL Rec for more information.
| Field Summary |
| Fields inherited from class org.apache.fop.area.Area |
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 |
| Fields inherited from class org.apache.fop.area.AreaTreeObject |
extensionAttachments, foreignAttributes |
| Constructor Summary | |
MainReference(BodyRegion parent)
Constructor |
|
| Method Summary | |
Span |
createSpan(boolean spanAll)
Add a span area to this area. |
int |
getColumnCount()
|
int |
getColumnGap()
|
Span |
getCurrentSpan()
Get the span area currently being filled (i.e., the last span created). |
java.util.List |
getSpans()
Get the span areas from this area. |
boolean |
isEmpty()
Indicates whether any child areas have been added to this reference area. |
void |
setSpans(java.util.List spans)
Do not use. |
| Methods inherited from class org.apache.fop.area.Area |
addChildArea, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toString |
| Methods inherited from class org.apache.fop.area.AreaTreeObject |
addExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MainReference(BodyRegion parent)
parent - the body region this reference area is placed in.| Method Detail |
public Span createSpan(boolean spanAll)
spanAll - whether to make a single-column span
public java.util.List getSpans()
public void setSpans(java.util.List spans)
spans - content already laid outpublic Span getCurrentSpan()
public boolean isEmpty()
public int getColumnCount()
public int getColumnGap()
|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||