|
fop 1.1 | |||||||||
| 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
public class 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 |
|---|
bidiLevel, bpd, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, ipd, log, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, traits |
| 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<Span> spans)
Do not use. |
void |
setWritingModeTraits(WritingModeTraitsGetter wmtg)
Sets the writing mode traits for the spans of this main reference area. |
| Methods inherited from class org.apache.fop.area.Area |
|---|
addChildArea, addTrait, clone, getAllocBPD, getAllocIPD, getAreaClass, getBidiLevel, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, resetBidiLevel, setAreaClass, setBidiLevel, setBPD, setIPD, setTraits, 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 |
|---|
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<Span> spans)
spans - content already laid outpublic Span getCurrentSpan()
public boolean isEmpty()
public int getColumnCount()
public int getColumnGap()
public void setWritingModeTraits(WritingModeTraitsGetter wmtg)
setWritingModeTraits in class Areawmtg - a WM traits getter
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||