public abstract class AbstractOutputProcessor extends Object implements OutputProcessor
Modifier and Type | Method and Description |
---|---|
LogicalPageKey |
getLogicalPage(int page) |
int |
getLogicalPageCount() |
int |
getPageCursor() |
int |
getPhysicalPageCount() |
boolean |
isNeedAlignedPage() |
boolean |
isPaginationFinished()
Checks whether the 'processingFinished' event had been received at least once.
|
void |
processContent(LogicalPageBox logicalPage)
A call-back that passes a layouted pagebox to the output processor.
|
void |
processingFinished()
Notifies the output processor, that the processing has been finished and that the input-feed received the last
event.
|
void |
processingStarted(ReportDefinition report,
ProcessingContext processingContext) |
void |
processRecomputedContent(LogicalPageBox pageBox) |
void |
setPageCursor(int pageCursor) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetaData
public void processingStarted(ReportDefinition report, ProcessingContext processingContext)
processingStarted
in interface OutputProcessor
public final int getLogicalPageCount()
getLogicalPageCount
in interface OutputProcessor
public final LogicalPageKey getLogicalPage(int page)
getLogicalPage
in interface OutputProcessor
public final boolean isPaginationFinished()
isPaginationFinished
in interface OutputProcessor
public final void processingFinished()
processingFinished
in interface OutputProcessor
public final int getPageCursor()
getPageCursor
in interface OutputProcessor
public final void setPageCursor(int pageCursor)
setPageCursor
in interface OutputProcessor
public void processRecomputedContent(LogicalPageBox pageBox) throws ContentProcessingException
processRecomputedContent
in interface OutputProcessor
ContentProcessingException
public final void processContent(LogicalPageBox logicalPage) throws ContentProcessingException
OutputProcessor
processContent
in interface OutputProcessor
ContentProcessingException
public boolean isNeedAlignedPage()
isNeedAlignedPage
in interface OutputProcessor
public int getPhysicalPageCount()
getPhysicalPageCount
in interface OutputProcessor