Class PdfOutputProcessor
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessor
-
- org.pentaho.reporting.engine.classic.core.modules.output.pageable.base.AbstractPageableOutputProcessor
-
- org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.PdfOutputProcessor
-
- All Implemented Interfaces:
OutputProcessor
,PageableOutputProcessor
public class PdfOutputProcessor extends AbstractPageableOutputProcessor
A streaming target, which produces a PDF document.- Author:
- Thomas Morgner
-
-
Field Summary
-
Fields inherited from class org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessor
PROCESSING_CONTENT, PROCESSING_PAGES
-
-
Constructor Summary
Constructors Constructor Description PdfOutputProcessor(org.pentaho.reporting.libraries.base.config.Configuration configuration, OutputStream outputStream)
PdfOutputProcessor(org.pentaho.reporting.libraries.base.config.Configuration configuration, OutputStream outputStream, org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PdfDocumentWriter
createPdfDocumentWriter()
PageFlowSelector
getFlowSelector()
OutputProcessorMetaData
getMetaData()
protected OutputStream
getOutputStream()
protected org.pentaho.reporting.libraries.resourceloader.ResourceManager
getResourceManager()
protected PdfDocumentWriter
getWriter()
protected void
processingContentFinished()
protected void
processLogicalPage(LogicalPageKey key, LogicalPageBox logicalPage)
protected void
processPhysicalPage(PageGrid pageGrid, LogicalPageBox logicalPage, int row, int col, PhysicalPageKey pageKey)
void
setFlowSelector(PageFlowSelector flowSelector)
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.output.pageable.base.AbstractPageableOutputProcessor
createLogicalPage, getPhysicalPage, getPhysicalPageCount, processingPagesFinished, processPageContent
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessor
getLogicalPage, getLogicalPageCount, getPageCursor, getStartTime, isContentGeneratable, isNeedAlignedPage, isPaginationFinished, processContent, processingFinished, processingStarted, processPaginationContent, 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, getPageCursor, isNeedAlignedPage, isPaginationFinished, processContent, processingFinished, processingStarted, processRecomputedContent, setPageCursor
-
-
-
-
Constructor Detail
-
PdfOutputProcessor
public PdfOutputProcessor(org.pentaho.reporting.libraries.base.config.Configuration configuration, OutputStream outputStream)
-
PdfOutputProcessor
public PdfOutputProcessor(org.pentaho.reporting.libraries.base.config.Configuration configuration, OutputStream outputStream, org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager)
-
-
Method Detail
-
getMetaData
public OutputProcessorMetaData getMetaData()
-
getFlowSelector
public PageFlowSelector getFlowSelector()
- Specified by:
getFlowSelector
in classAbstractPageableOutputProcessor
-
setFlowSelector
public void setFlowSelector(PageFlowSelector flowSelector)
-
processingContentFinished
protected void processingContentFinished()
- Overrides:
processingContentFinished
in classAbstractOutputProcessor
-
processPhysicalPage
protected void processPhysicalPage(PageGrid pageGrid, LogicalPageBox logicalPage, int row, int col, PhysicalPageKey pageKey) throws ContentProcessingException
- Specified by:
processPhysicalPage
in classAbstractPageableOutputProcessor
- Throws:
ContentProcessingException
-
processLogicalPage
protected void processLogicalPage(LogicalPageKey key, LogicalPageBox logicalPage) throws ContentProcessingException
- Specified by:
processLogicalPage
in classAbstractPageableOutputProcessor
- Throws:
ContentProcessingException
-
getOutputStream
protected OutputStream getOutputStream()
-
getResourceManager
protected org.pentaho.reporting.libraries.resourceloader.ResourceManager getResourceManager()
-
getWriter
protected PdfDocumentWriter getWriter()
-
createPdfDocumentWriter
protected PdfDocumentWriter createPdfDocumentWriter()
-
-