public interface SubSequenceSpecifier
PageSequenceMaster
,
and are capable of looking up an appropriate SimplePageMaster
.Modifier and Type | Method and Description |
---|---|
boolean |
canProcess(String flowName) |
SimplePageMaster |
getLastPageMaster(boolean isOddPage,
boolean isFirstPage,
boolean isBlankPage,
BlockLevelEventProducer blockLevelEventProducer) |
SimplePageMaster |
getNextPageMaster(boolean isOddPage,
boolean isFirstPage,
boolean isLastPage,
boolean isBlankPage,
boolean skipPagePositionOnly)
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
|
SimplePageMaster getNextPageMaster(boolean isOddPage, boolean isFirstPage, boolean isLastPage, boolean isBlankPage, boolean skipPagePositionOnly) 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 masterSimplePageMaster getLastPageMaster(boolean isOddPage, boolean isFirstPage, boolean isBlankPage, BlockLevelEventProducer blockLevelEventProducer) throws PageProductionException
PageProductionException
void reset()
boolean goToPrevious()
boolean hasPagePositionLast()
boolean hasPagePositionOnly()
void resolveReferences(LayoutMasterSet layoutMasterSet) throws ValidationException
layoutMasterSet
- the layout-master-setValidationException
- when a named reference cannot be resolvedboolean canProcess(String flowName)
flowName
- name of the main flowboolean isInfinite()
boolean isReusable()
Copyright © 2025 Apache Software Foundation. All rights reserved.