Package org.jfree.report.flow.paginating
Class PaginatingReportProcessor
java.lang.Object
org.jfree.report.flow.AbstractReportProcessor
org.jfree.report.flow.paginating.PaginatingReportProcessor
- All Implemented Interfaces:
ReportProcessor
- Direct Known Subclasses:
PrintReportProcessor
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
ConstructorsModifierConstructorDescriptionprotected
PaginatingReportProcessor
(org.jfree.layouting.output.pageable.PageableOutputProcessor outputProcessor) -
Method Summary
Modifier and TypeMethodDescriptionprotected LibLayoutReportTarget
createTarget
(ReportJob job) protected PageState
getLogicalPageState
(int page) org.jfree.layouting.output.pageable.PageableOutputProcessor
protected PageState
getPhysicalPageState
(int page) boolean
protected void
processPage
(PageState previousState) protected PageStateList
processPaginationRun
(ReportJob job, LibLayoutReportTarget target) Methods inherited from class org.jfree.report.flow.AbstractReportProcessor
createFlowControler, createReportContext, processReportRun
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jfree.report.flow.ReportProcessor
processReport
-
Constructor Details
-
PaginatingReportProcessor
protected PaginatingReportProcessor(org.jfree.layouting.output.pageable.PageableOutputProcessor outputProcessor)
-
-
Method Details
-
getOutputProcessor
public org.jfree.layouting.output.pageable.PageableOutputProcessor getOutputProcessor() -
createTarget
-
prepareReportProcessing
protected void prepareReportProcessing(ReportJob job) throws ReportDataFactoryException, DataSourceException, ReportProcessingException -
processPaginationRun
protected PageStateList processPaginationRun(ReportJob job, LibLayoutReportTarget target) throws ReportDataFactoryException, DataSourceException, ReportProcessingException -
isPaginated
public boolean isPaginated() -
getLogicalPageState
-
getPhysicalPageState
-
processPage
public PageState processPage(PageState previousState) throws org.jfree.layouting.StateException, ReportProcessingException, ReportDataFactoryException, DataSourceException - Throws:
org.jfree.layouting.StateException
ReportProcessingException
ReportDataFactoryException
DataSourceException
-