public abstract class AbstractOutputProcessor extends java.lang.Object implements OutputProcessor
| Modifier and Type | Field and Description |
|---|---|
protected static int |
PROCESSING_CONTENT |
protected static int |
PROCESSING_GLOBAL_CONTENT |
protected static int |
PROCESSING_PAGES |
| Constructor and Description |
|---|
AbstractOutputProcessor(org.pentaho.reporting.libraries.base.config.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
org.pentaho.reporting.libraries.base.config.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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateRenderer, getMetaDataprotected static final int PROCESSING_GLOBAL_CONTENT
protected static final int PROCESSING_PAGES
protected static final int PROCESSING_CONTENT
public AbstractOutputProcessor(org.pentaho.reporting.libraries.base.config.Configuration configuration)
public boolean isPaginationFinished()
isPaginationFinished in interface OutputProcessorpublic void processingFinished()
processingFinished in interface OutputProcessorprotected void processingContentFinished()
public DocumentContext getDocumentContext()
protected void processingPagesFinished()
protected void processingGlobalContentFinished()
public org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
getConfiguration in interface OutputProcessorpublic InputFeed createInputFeed(LayoutProcess layoutProcess)
createInputFeed in interface OutputProcessorpublic Normalizer createNormalizer(LayoutProcess layoutProcess)
createNormalizer in interface OutputProcessorlayoutProcess - the layout process that governs all.public ModelBuilder createModelBuilder(LayoutProcess layoutProcess)
createModelBuilder in interface OutputProcessorlayoutProcess - the layout process that governs all.public int getLogicalPageCount()
getLogicalPageCount in interface OutputProcessorpublic LogicalPageKey getLogicalPage(int page)
getLogicalPage in interface OutputProcessorprotected LogicalPageKey createLogicalPage(int width, int height)
public int getPageCursor()
getPageCursor in interface OutputProcessorpublic void setPageCursor(int pageCursor)
setPageCursor in interface OutputProcessorpublic boolean isGlobalStateComputed()
isGlobalStateComputed in interface OutputProcessorprotected int getProcessingState()
public boolean isContentGeneratable()
isContentGeneratable in interface OutputProcessorpublic final void processContent(LogicalPageBox logicalPage)
processContent in interface OutputProcessorprotected abstract void processPageContent(LogicalPageKey logicalPageKey, LogicalPageBox logicalPage)
public void processDocumentMetaData(DocumentContext documentContext)
processDocumentMetaData in interface OutputProcessor