|
fop 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SubSequenceSpecifier
Classes that implement this interface can be added to a PageSequenceMaster
,
and are capable of looking up an appropriate SimplePageMaster
.
Method Summary | |
---|---|
boolean |
canProcess(java.lang.String flowName)
|
SimplePageMaster |
getNextPageMaster(boolean isOddPage,
boolean isFirstPage,
boolean isLastPage,
boolean isBlankPage)
Returns the name of the next page master. |
boolean |
goToPrevious()
Used to set the "cursor position" to the previous item. |
boolean |
hasPagePositionLast()
|
boolean |
hasPagePositionOnly()
|
boolean |
isInfinite()
Test that this is a finite sequence |
boolean |
isReusable()
Test if this can be reused when it is the last sub-sequence specifer, and has been exhausted |
void |
reset()
Called before a new page sequence is rendered so subsequences can reset any state they keep during the formatting process. |
void |
resolveReferences(LayoutMasterSet layoutMasterSet)
called by the parent LayoutMasterSet to resolve object references from simple page master reference names |
Method Detail |
---|
SimplePageMaster getNextPageMaster(boolean isOddPage, boolean isFirstPage, boolean isLastPage, boolean isBlankPage) throws PageProductionException
isOddPage
- True if the next page number is oddisFirstPage
- True if the next page is the firstisLastPage
- True if the next page is the lastisBlankPage
- True if the next page is blank
PageProductionException
- if there's a problem determining the next page mastervoid reset()
boolean goToPrevious()
boolean hasPagePositionLast()
boolean hasPagePositionOnly()
void resolveReferences(LayoutMasterSet layoutMasterSet) throws ValidationException
layoutMasterSet
- the layout-master-set
ValidationException
- when a named reference cannot be resolvedboolean canProcess(java.lang.String flowName)
flowName
- name of the main flow
boolean isInfinite()
boolean isReusable()
|
fop 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |