org.jfree.layouting.output
public abstract class AbstractOutputProcessor extends Object implements OutputProcessor
Field Summary | |
---|---|
protected static int | PROCESSING_CONTENT |
protected static int | PROCESSING_GLOBAL_CONTENT |
protected static int | PROCESSING_PAGES |
Constructor Summary | |
---|---|
AbstractOutputProcessor(Configuration configuration) |
Method Summary | |
---|---|
InputFeed | createInputFeed(LayoutProcess layoutProcess) |
protected LogicalPageKey | createLogicalPage(int width, int height) |
ModelBuilder | createModelBuilder(LayoutProcess layoutProcess)
The model builder normalizes the input and builds the Display-Model. |
Normalizer | createNormalizer(LayoutProcess layoutProcess)
Returns the content normalizer implementation for this OP. |
Configuration | getConfiguration() |
DocumentContext | getDocumentContext() |
LogicalPageKey | getLogicalPage(int page) |
int | getLogicalPageCount() |
int | getPageCursor() |
protected int | getProcessingState() |
boolean | isContentGeneratable()
This flag indicates, whether the output processor has collected enough
information to start the content generation.
|
boolean | isGlobalStateComputed()
This flag indicates, whether the global content has been computed. |
boolean | isPaginationFinished()
Checks, whether the 'processingFinished' event had been received at least
once.
|
void | processContent(LogicalPageBox logicalPage) |
void | processDocumentMetaData(DocumentContext documentContext) |
protected void | processingContentFinished() |
void | processingFinished()
Notifies the output processor, that the processing has been finished and
that the input-feed received the last event. |
protected void | processingGlobalContentFinished() |
protected void | processingPagesFinished() |
protected abstract void | processPageContent(LogicalPageKey logicalPageKey, LogicalPageBox logicalPage) |
void | setPageCursor(int pageCursor) |
Returns:
Returns:
Returns:
Returns: true, if the global state has been computed, false otherwise.
Returns: