public class MainReference extends 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, TBextensionAttachments, foreignAttributes| Constructor and Description |
|---|
MainReference(BodyRegion parent)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addChildArea, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toStringaddExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributespublic MainReference(BodyRegion parent)
parent - the body region this reference area is placed in.public Span createSpan(boolean spanAll)
spanAll - whether to make a single-column spanpublic 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()
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.