|
aXSL API 0.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A PageCollection is a collection of formatted pages.
It is the immediate child of AreaTree, and the parent of one or
more Pages.
| Method Summary | |
int |
getCurrentPageNumber()
Returns the page number currently being processed. |
PageArea |
getNextPage(boolean forceOdd,
boolean forceEven,
boolean isBlank)
Creates a new page area for the given parameters. |
int |
getPageCount()
Returns the current count of pages in this collection. |
PageSequence |
getPageSequence()
Returns the generating PageSequence. |
AreaTree |
getWritableAreaTree()
Returns the parent AreaTree. |
void |
padPagesAtBeginning()
Creates any blank pages that are needed at the beginning of a PageCollection to meet the related PageSequence's constraints. |
void |
padPagesAtEnd()
Creates any blank pages that are needed at the end of a PageCollection to meet the related PageSequence's constraints. |
SpanRA |
startingReferenceArea(FObj lastFObj,
FObj nextFObj)
Finds or creates the SpanRA instance in which nextFObj should start being laid out. |
| Methods inherited from interface org.axsl.areaW.AreaNode |
ancestorTableArea, ancestorWritableNormalBlockArea, crBPDNearestGeneratedByBlockLevelFO, crIPDNearestGeneratedByBlockLevelFO, getFontConsumer, getTextServer, getWritablePage, getWritableParent, getWritableParentArea, nearestGeneratedByBlockLevelFO, removeChild, traitGeneratedBy |
| Methods inherited from interface org.axsl.common.OrderedTreeNode |
getChildren, getFirstChild, getFirstLeaf, getLastChild, getLastLeaf, getNextLeaf, getNextSibling, getPreviousLeaf, getPreviousSibling, getSiblings, hasChildren, nextPreOrderNode, siblingIndex |
| Methods inherited from interface javax.swing.tree.TreeNode |
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf |
| Methods inherited from interface org.axsl.foR.FOContext |
getRetrieveMarker |
| Method Detail |
public AreaTree getWritableAreaTree()
public PageSequence getPageSequence()
public void padPagesAtBeginning()
throws AreaWException
AreaWException - For errors in padding pages.
public void padPagesAtEnd()
throws AreaWException
AreaWException - For errors in padding pages.public int getCurrentPageNumber()
public PageArea getNextPage(boolean forceOdd,
boolean forceEven,
boolean isBlank)
throws AreaWException
forceOdd - Set to true to force the next page to be an odd page.forceEven - Set to true to force the next page to be an even page.isBlank - True iff this page will be empty (e.g. forced even or
odd break, or forced page count).
AreaWException - For errors in creating new page.public int getPageCount()
public SpanRA startingReferenceArea(FObj lastFObj,
FObj nextFObj)
throws AreaWException
lastFObj - The last FObj that was laid out, null if nextFObj is the
first one for this page-sequence.nextFObj - The FObj for which we are trying to find the staring
Area for layout.
AreaWException - For errors creating the appropriate Areas.
|
aXSL API 0.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.