org.apache.fop.area
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, TBforeignAttributes| 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.
|
addChildArea, addTrait, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBooleanTrait, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toStringgetForeignAttributes, getForeignAttributeValue, 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 Span getCurrentSpan()
public boolean isEmpty()
public int getColumnCount()
public int getColumnGap()
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.