|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.layouting.output.AbstractOutputProcessor
public abstract class AbstractOutputProcessor
This base class configures the layouter for the normal DOM processing. The display model assumes, that all elements can be nested freely, without imposing any limitations at all.
Using this as base process for text-processing document output (like RTF or OpenOffice-Writer) is a sure way to the hell of funny behaviour.
Field Summary | |
---|---|
protected static int |
PROCESSING_CONTENT
|
protected static int |
PROCESSING_GLOBAL_CONTENT
|
protected static int |
PROCESSING_PAGES
|
Constructor Summary | |
---|---|
AbstractOutputProcessor(org.pentaho.reporting.libraries.base.config.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. |
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jfree.layouting.output.OutputProcessor |
---|
createRenderer, getMetaData |
Field Detail |
---|
protected static final int PROCESSING_GLOBAL_CONTENT
protected static final int PROCESSING_PAGES
protected static final int PROCESSING_CONTENT
Constructor Detail |
---|
public AbstractOutputProcessor(org.pentaho.reporting.libraries.base.config.Configuration configuration)
Method Detail |
---|
public boolean isPaginationFinished()
isPaginationFinished
in interface OutputProcessor
public void processingFinished()
processingFinished
in interface OutputProcessor
protected void processingContentFinished()
public DocumentContext getDocumentContext()
protected void processingPagesFinished()
protected void processingGlobalContentFinished()
public org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
getConfiguration
in interface OutputProcessor
public InputFeed createInputFeed(LayoutProcess layoutProcess)
createInputFeed
in interface OutputProcessor
public Normalizer createNormalizer(LayoutProcess layoutProcess)
createNormalizer
in interface OutputProcessor
layoutProcess
- the layout process that governs all.
public ModelBuilder createModelBuilder(LayoutProcess layoutProcess)
createModelBuilder
in interface OutputProcessor
layoutProcess
- the layout process that governs all.
public int getLogicalPageCount()
getLogicalPageCount
in interface OutputProcessor
public LogicalPageKey getLogicalPage(int page)
getLogicalPage
in interface OutputProcessor
protected LogicalPageKey createLogicalPage(int width, int height)
public int getPageCursor()
getPageCursor
in interface OutputProcessor
public void setPageCursor(int pageCursor)
setPageCursor
in interface OutputProcessor
public boolean isGlobalStateComputed()
isGlobalStateComputed
in interface OutputProcessor
protected int getProcessingState()
public boolean isContentGeneratable()
isContentGeneratable
in interface OutputProcessor
public final void processContent(LogicalPageBox logicalPage)
processContent
in interface OutputProcessor
protected abstract void processPageContent(LogicalPageKey logicalPageKey, LogicalPageBox logicalPage)
public void processDocumentMetaData(DocumentContext documentContext)
processDocumentMetaData
in interface OutputProcessor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |