Package org.jfree.layouting.renderer
Class PrintingRenderer
- java.lang.Object
-
- org.jfree.layouting.renderer.PrintingRenderer
-
- All Implemented Interfaces:
Renderer,StatefullComponent
public class PrintingRenderer extends java.lang.Object implements Renderer
Creation-Date: 17.07.2006, 17:43:21- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description PrintingRenderer(Renderer parent)
-
Method Summary
-
-
-
Constructor Detail
-
PrintingRenderer
public PrintingRenderer(Renderer parent)
-
-
Method Detail
-
startedDocument
public void startedDocument(PageContext pageContext)
Starts the document and initalizes the default page context.- Specified by:
startedDocumentin interfaceRenderer- Parameters:
pageContext-
-
startedFlow
public void startedFlow(LayoutContext context) throws NormalizationException
Starts a floating, absolute or static element. This establishes a new normal flow for the element.- Specified by:
startedFlowin interfaceRenderer- Parameters:
context-- Throws:
NormalizationException
-
startedTable
public void startedTable(LayoutContext context) throws NormalizationException
- Specified by:
startedTablein interfaceRenderer- Throws:
NormalizationException
-
startedTableSection
public void startedTableSection(LayoutContext layoutContext) throws NormalizationException
- Specified by:
startedTableSectionin interfaceRenderer- Throws:
NormalizationException
-
startedTableRow
public void startedTableRow(LayoutContext layoutContext) throws NormalizationException
- Specified by:
startedTableRowin interfaceRenderer- Throws:
NormalizationException
-
startedTableCell
public void startedTableCell(LayoutContext layoutContext) throws NormalizationException
- Specified by:
startedTableCellin interfaceRenderer- Throws:
NormalizationException
-
startedBlock
public void startedBlock(LayoutContext context) throws NormalizationException
- Specified by:
startedBlockin interfaceRenderer- Throws:
NormalizationException
-
startedMarker
public void startedMarker(LayoutContext context) throws NormalizationException
- Specified by:
startedMarkerin interfaceRenderer- Throws:
NormalizationException
-
startedRootInline
public void startedRootInline(LayoutContext context) throws NormalizationException
- Specified by:
startedRootInlinein interfaceRenderer- Throws:
NormalizationException
-
startedInline
public void startedInline(LayoutContext context) throws NormalizationException
- Specified by:
startedInlinein interfaceRenderer- Throws:
NormalizationException
-
addContent
public void addContent(LayoutContext context, ContentToken content) throws NormalizationException
- Specified by:
addContentin interfaceRenderer- Throws:
NormalizationException
-
finishedInline
public void finishedInline() throws NormalizationException- Specified by:
finishedInlinein interfaceRenderer- Throws:
NormalizationException
-
finishedRootInline
public void finishedRootInline() throws NormalizationException- Specified by:
finishedRootInlinein interfaceRenderer- Throws:
NormalizationException
-
finishedMarker
public void finishedMarker() throws NormalizationException- Specified by:
finishedMarkerin interfaceRenderer- Throws:
NormalizationException
-
finishedBlock
public void finishedBlock() throws NormalizationException- Specified by:
finishedBlockin interfaceRenderer- Throws:
NormalizationException
-
finishedTableCell
public void finishedTableCell() throws NormalizationException- Specified by:
finishedTableCellin interfaceRenderer- Throws:
NormalizationException
-
finishedTableRow
public void finishedTableRow() throws NormalizationException- Specified by:
finishedTableRowin interfaceRenderer- Throws:
NormalizationException
-
finishedTableSection
public void finishedTableSection() throws NormalizationException- Specified by:
finishedTableSectionin interfaceRenderer- Throws:
NormalizationException
-
finishedTable
public void finishedTable() throws NormalizationException- Specified by:
finishedTablein interfaceRenderer- Throws:
NormalizationException
-
finishedFlow
public void finishedFlow() throws NormalizationException- Specified by:
finishedFlowin interfaceRenderer- Throws:
NormalizationException
-
finishedDocument
public void finishedDocument() throws NormalizationException- Specified by:
finishedDocumentin interfaceRenderer- Throws:
NormalizationException
-
startedTableColumnGroup
public void startedTableColumnGroup(LayoutContext context) throws NormalizationException
- Specified by:
startedTableColumnGroupin interfaceRenderer- Throws:
NormalizationException
-
startedTableColumn
public void startedTableColumn(LayoutContext context) throws NormalizationException
- Specified by:
startedTableColumnin interfaceRenderer- Throws:
NormalizationException
-
finishedTableColumnGroup
public void finishedTableColumnGroup() throws NormalizationException- Specified by:
finishedTableColumnGroupin interfaceRenderer- Throws:
NormalizationException
-
finishedTableColumn
public void finishedTableColumn() throws NormalizationException- Specified by:
finishedTableColumnin interfaceRenderer- Throws:
NormalizationException
-
handlePageBreak
public void handlePageBreak(PageContext pageContext)
A call-back that informs the renderer, that a new page must be started. This closes the old page context and copies all pending content to the new context.- Specified by:
handlePageBreakin interfaceRenderer- Parameters:
pageContext-
-
startedPassThrough
public void startedPassThrough(LayoutContext context) throws NormalizationException
- Specified by:
startedPassThroughin interfaceRenderer- Throws:
NormalizationException
-
addPassThroughContent
public void addPassThroughContent(LayoutContext context, ContentToken content) throws NormalizationException
- Specified by:
addPassThroughContentin interfaceRenderer- Throws:
NormalizationException
-
finishedPassThrough
public void finishedPassThrough() throws NormalizationException- Specified by:
finishedPassThroughin interfaceRenderer- Throws:
NormalizationException
-
saveState
public State saveState() throws StateException
- Specified by:
saveStatein interfaceStatefullComponent- Throws:
StateException
-
startedTableCaption
public void startedTableCaption(LayoutContext context) throws NormalizationException
- Specified by:
startedTableCaptionin interfaceRenderer- Throws:
NormalizationException
-
finishedTableCaption
public void finishedTableCaption() throws NormalizationException- Specified by:
finishedTableCaptionin interfaceRenderer- Throws:
NormalizationException
-
-