org.jfree.report.flow.paginating

Class PaginatingReportProcessor

Implemented Interfaces:
ReportProcessor
Known Direct Subclasses:
PrintReportProcessor

public abstract class PaginatingReportProcessor
extends AbstractReportProcessor

Paginating report processors are multi-pass processors.

This is written to use LibLayout. It will never work with other report targets. Be aware that this class is not synchronized.

Author:
Thomas Morgner

Constructor Summary

PaginatingReportProcessor(PageableOutputProcessor outputProcessor)

Method Summary

protected LibLayoutReportTarget
createTarget(ReportJob job)
protected PageState
getLogicalPageState(int page)
PageableOutputProcessor
getOutputProcessor()
protected PageState
getPhysicalPageState(int page)
boolean
isPaginated()
protected void
prepareReportProcessing(ReportJob job)
PageState
processPage(PageState previousState)
protected PageStateList
processPaginationRun(ReportJob job, LibLayoutReportTarget target)

Methods inherited from class org.jfree.report.flow.AbstractReportProcessor

createFlowControler, createReportContext, processReportRun

Constructor Details

PaginatingReportProcessor

protected PaginatingReportProcessor(PageableOutputProcessor outputProcessor)

Method Details

createTarget

protected LibLayoutReportTarget createTarget(ReportJob job)

getLogicalPageState

protected PageState getLogicalPageState(int page)

getOutputProcessor

public PageableOutputProcessor getOutputProcessor()

getPhysicalPageState

protected PageState getPhysicalPageState(int page)

isPaginated

public boolean isPaginated()

prepareReportProcessing

protected void prepareReportProcessing(ReportJob job)
            throws ReportDataFactoryException,
                   DataSourceException,
                   ReportProcessingException

processPage

public PageState processPage(PageState previousState)
            throws StateException,
                   ReportProcessingException,
                   ReportDataFactoryException,
                   DataSourceException

processPaginationRun

protected PageStateList processPaginationRun(ReportJob job,
                                             LibLayoutReportTarget target)
            throws ReportDataFactoryException,
                   DataSourceException,
                   ReportProcessingException