public interface SubSequenceSpecifier
PageSequenceMaster
,
and are capable of looking up an appropriate SimplePageMaster
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNextPageMasterName(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() |
void |
reset()
Called before a new page sequence is rendered so subsequences can reset
any state they keep during the formatting process.
|
java.lang.String getNextPageMasterName(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 blankPageProductionException
- if there's a problem determining the next page mastervoid reset()
boolean goToPrevious()
boolean hasPagePositionLast()
boolean hasPagePositionOnly()
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.