Class AbstractTableOutputProcessor
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessor
-
- org.pentaho.reporting.engine.classic.core.modules.output.table.base.AbstractTableOutputProcessor
-
- All Implemented Interfaces:
IterativeOutputProcessor
,OutputProcessor
- Direct Known Subclasses:
FlowCSVOutputProcessor
,FlowExcelOutputProcessor
,FlowHtmlOutputProcessor
,FlowRTFOutputProcessor
,PageableCSVOutputProcessor
,PageableExcelOutputProcessor
,PageableHtmlOutputProcessor
,StreamCSVOutputProcessor
,StreamExcelOutputProcessor
,StreamHtmlOutputProcessor
,StreamRTFOutputProcessor
,XmlTableOutputProcessor
public abstract class AbstractTableOutputProcessor extends AbstractOutputProcessor implements IterativeOutputProcessor
The Table-Output processor uses the pagination stage to build a list of table-layouts.- Author:
- Thomas Morgner
-
-
Field Summary
Fields Modifier and Type Field Description static OutputProcessorFeature.BooleanOutputProcessorFeature
ROTATED_TEXT_AS_IMAGES
static OutputProcessorFeature.BooleanOutputProcessorFeature
SHAPES_CONTENT
static OutputProcessorFeature.BooleanOutputProcessorFeature
STRICT_LAYOUT
static OutputProcessorFeature.BooleanOutputProcessorFeature
TREAT_ELLIPSE_AS_RECTANGLE
-
Fields inherited from class org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessor
PROCESSING_CONTENT, PROCESSING_PAGES
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractTableOutputProcessor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected TableContentProducer
createTableContentProducer(SheetLayout layout)
protected abstract FlowSelector
getFlowSelector()
boolean
isNeedAlignedPage()
void
processingStarted(ReportDefinition report, ProcessingContext processingContext)
void
processIterativeContent(LogicalPageBox logicalPageBox, boolean performOutput)
protected void
processPageContent(LogicalPageKey logicalPageKey, LogicalPageBox logicalPage)
protected void
processPaginationContent(LogicalPageKey logicalPageKey, LogicalPageBox logicalPage)
protected abstract void
processTableContent(LogicalPageKey logicalPageKey, LogicalPageBox logicalPage, TableContentProducer contentProducer)
protected void
updateTableContent(LogicalPageKey logicalPageKey, LogicalPageBox logicalPageBox, TableContentProducer tableContentProducer, boolean performOutput)
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessor
createLogicalPage, getLogicalPage, getLogicalPageCount, getPageCursor, getPhysicalPageCount, getStartTime, isContentGeneratable, isPaginationFinished, processContent, processingContentFinished, processingFinished, processingPagesFinished, processRecomputedContent, setPageCursor
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pentaho.reporting.engine.classic.core.layout.output.OutputProcessor
getLogicalPage, getLogicalPageCount, getMetaData, getPageCursor, getPhysicalPageCount, isPaginationFinished, processContent, processingFinished, processRecomputedContent, setPageCursor
-
-
-
-
Field Detail
-
STRICT_LAYOUT
public static final OutputProcessorFeature.BooleanOutputProcessorFeature STRICT_LAYOUT
-
TREAT_ELLIPSE_AS_RECTANGLE
public static final OutputProcessorFeature.BooleanOutputProcessorFeature TREAT_ELLIPSE_AS_RECTANGLE
-
SHAPES_CONTENT
public static final OutputProcessorFeature.BooleanOutputProcessorFeature SHAPES_CONTENT
-
ROTATED_TEXT_AS_IMAGES
public static final OutputProcessorFeature.BooleanOutputProcessorFeature ROTATED_TEXT_AS_IMAGES
-
-
Method Detail
-
processingStarted
public void processingStarted(ReportDefinition report, ProcessingContext processingContext)
- Specified by:
processingStarted
in interfaceOutputProcessor
- Overrides:
processingStarted
in classAbstractOutputProcessor
-
isNeedAlignedPage
public boolean isNeedAlignedPage()
- Specified by:
isNeedAlignedPage
in interfaceOutputProcessor
- Overrides:
isNeedAlignedPage
in classAbstractOutputProcessor
-
processPaginationContent
protected final void processPaginationContent(LogicalPageKey logicalPageKey, LogicalPageBox logicalPage)
- Overrides:
processPaginationContent
in classAbstractOutputProcessor
-
processPageContent
protected final void processPageContent(LogicalPageKey logicalPageKey, LogicalPageBox logicalPage) throws ContentProcessingException
- Specified by:
processPageContent
in classAbstractOutputProcessor
- Throws:
ContentProcessingException
-
processTableContent
protected abstract void processTableContent(LogicalPageKey logicalPageKey, LogicalPageBox logicalPage, TableContentProducer contentProducer) throws ContentProcessingException
- Throws:
ContentProcessingException
-
processIterativeContent
public final void processIterativeContent(LogicalPageBox logicalPageBox, boolean performOutput) throws ContentProcessingException
- Specified by:
processIterativeContent
in interfaceIterativeOutputProcessor
- Throws:
ContentProcessingException
-
createTableContentProducer
protected TableContentProducer createTableContentProducer(SheetLayout layout)
-
updateTableContent
protected void updateTableContent(LogicalPageKey logicalPageKey, LogicalPageBox logicalPageBox, TableContentProducer tableContentProducer, boolean performOutput) throws ContentProcessingException
- Throws:
ContentProcessingException
-
getFlowSelector
protected abstract FlowSelector getFlowSelector()
-
-