Class HtmlPrinter
- java.lang.Object
-
- org.jfree.layouting.renderer.process.IterateStructuralProcessStep
-
- org.jfree.layouting.modules.output.html.HtmlPrinter
-
public class HtmlPrinter extends IterateStructuralProcessStep
Creation-Date: 25.11.2006, 18:17:57- Author:
- Thomas Morgner
-
-
Field Summary
Fields Modifier and Type Field Description static floatCORRECTION_FACTOR_POINT_TO_PXstatic floatCORRECTION_FACTOR_PX_TO_POINTstatic java.lang.StringTAG_DEF_PREFIX
-
Constructor Summary
Constructors Constructor Description HtmlPrinter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinishBlockBox(BlockRenderBox box)protected voidfinishInlineBox(InlineRenderBox box)protected voidfinishOtherBlockBox(BlockRenderBox tableRenderBox)protected voidfinishPageBox(RenderBox box)protected voidfinishParagraph(ParagraphRenderBox tableRenderBox)protected voidfinishTable(TableRenderBox tableRenderBox)protected voidfinishTableBody(TableSectionRenderBox tableRenderBox)protected voidfinishTableCell(TableCellRenderBox tableRenderBox)protected voidfinishTableFooter(TableSectionRenderBox tableRenderBox)protected voidfinishTableHeader(TableSectionRenderBox tableRenderBox)protected voidfinishTableRow(TableRowRenderBox tableRenderBox)voidgenerate(LogicalPageBox box, DocumentContext documentContext)org.pentaho.reporting.libraries.repository.ContentLocationgetContentLocation()org.pentaho.reporting.libraries.repository.NameGeneratorgetContentNameGenerator()org.pentaho.reporting.libraries.repository.ContentLocationgetDataLocation()org.pentaho.reporting.libraries.repository.NameGeneratorgetDataNameGenerator()java.lang.StringgetEncoding()URLRewritergetUrlRewriter()booleanisGenerateFragment()protected voidprocessParagraphChilds(ParagraphRenderBox box)voidsetContentWriter(org.pentaho.reporting.libraries.repository.ContentLocation contentLocation, org.pentaho.reporting.libraries.repository.NameGenerator contentNameGenerator)voidsetDataWriter(org.pentaho.reporting.libraries.repository.ContentLocation dataLocation, org.pentaho.reporting.libraries.repository.NameGenerator dataNameGenerator)voidsetEncoding(java.lang.String encoding)voidsetGenerateFragment(boolean generateFragment)voidsetUrlRewriter(URLRewriter urlRewriter)protected booleanstartBlockBox(BlockRenderBox box)protected booleanstartInlineBox(InlineRenderBox box)protected booleanstartMarkerContents(RenderBox box, StyleBuilder builder)protected booleanstartOtherBlockBox(BlockRenderBox box, StyleBuilder builder)protected booleanstartOtherBox(RenderBox box)protected voidstartOtherNode(RenderNode node)protected booleanstartPageBox(RenderBox box, StyleBuilder builder)protected booleanstartParagraph(ParagraphRenderBox box, StyleBuilder builder)protected booleanstartTable(TableRenderBox box, StyleBuilder builder)protected booleanstartTableBody(TableSectionRenderBox box, StyleBuilder builder)protected booleanstartTableCell(TableCellRenderBox box, StyleBuilder builder)protected booleanstartTableFooter(TableSectionRenderBox box, StyleBuilder builder)protected booleanstartTableHeader(TableSectionRenderBox box, StyleBuilder builder)protected booleanstartTableRow(TableRowRenderBox box, StyleBuilder builder)-
Methods inherited from class org.jfree.layouting.renderer.process.IterateStructuralProcessStep
finishNormalFlow, finishOtherBox, finishOtherNode, processBoxChilds, startNormalFlow, startProcessing
-
-
-
-
Field Detail
-
TAG_DEF_PREFIX
public static final java.lang.String TAG_DEF_PREFIX
- See Also:
- Constant Field Values
-
CORRECTION_FACTOR_PX_TO_POINT
public static final float CORRECTION_FACTOR_PX_TO_POINT
- See Also:
- Constant Field Values
-
CORRECTION_FACTOR_POINT_TO_PX
public static final float CORRECTION_FACTOR_POINT_TO_PX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUrlRewriter
public URLRewriter getUrlRewriter()
-
setUrlRewriter
public void setUrlRewriter(URLRewriter urlRewriter)
-
getDataNameGenerator
public org.pentaho.reporting.libraries.repository.NameGenerator getDataNameGenerator()
-
getDataLocation
public org.pentaho.reporting.libraries.repository.ContentLocation getDataLocation()
-
getContentNameGenerator
public org.pentaho.reporting.libraries.repository.NameGenerator getContentNameGenerator()
-
getContentLocation
public org.pentaho.reporting.libraries.repository.ContentLocation getContentLocation()
-
getEncoding
public java.lang.String getEncoding()
-
setEncoding
public void setEncoding(java.lang.String encoding)
-
generate
public void generate(LogicalPageBox box, DocumentContext documentContext) throws java.io.IOException, org.pentaho.reporting.libraries.repository.ContentIOException
- Throws:
java.io.IOExceptionorg.pentaho.reporting.libraries.repository.ContentIOException
-
isGenerateFragment
public boolean isGenerateFragment()
-
setGenerateFragment
public void setGenerateFragment(boolean generateFragment)
-
startInlineBox
protected boolean startInlineBox(InlineRenderBox box)
- Overrides:
startInlineBoxin classIterateStructuralProcessStep
-
finishInlineBox
protected void finishInlineBox(InlineRenderBox box)
- Overrides:
finishInlineBoxin classIterateStructuralProcessStep
-
startBlockBox
protected boolean startBlockBox(BlockRenderBox box)
- Overrides:
startBlockBoxin classIterateStructuralProcessStep
-
finishBlockBox
protected void finishBlockBox(BlockRenderBox box)
- Overrides:
finishBlockBoxin classIterateStructuralProcessStep
-
startMarkerContents
protected boolean startMarkerContents(RenderBox box, StyleBuilder builder) throws java.io.IOException
- Throws:
java.io.IOException
-
startPageBox
protected boolean startPageBox(RenderBox box, StyleBuilder builder) throws java.io.IOException
- Throws:
java.io.IOException
-
finishPageBox
protected void finishPageBox(RenderBox box) throws java.io.IOException
- Throws:
java.io.IOException
-
startOtherBlockBox
protected boolean startOtherBlockBox(BlockRenderBox box, StyleBuilder builder) throws java.io.IOException
- Throws:
java.io.IOException
-
finishOtherBlockBox
protected void finishOtherBlockBox(BlockRenderBox tableRenderBox) throws java.io.IOException
- Throws:
java.io.IOException
-
startParagraph
protected boolean startParagraph(ParagraphRenderBox box, StyleBuilder builder) throws java.io.IOException
- Throws:
java.io.IOException
-
finishParagraph
protected void finishParagraph(ParagraphRenderBox tableRenderBox) throws java.io.IOException
- Throws:
java.io.IOException
-
startTableCell
protected boolean startTableCell(TableCellRenderBox box, StyleBuilder builder) throws java.io.IOException
- Throws:
java.io.IOException
-
finishTableCell
protected void finishTableCell(TableCellRenderBox tableRenderBox) throws java.io.IOException
- Throws:
java.io.IOException
-
startTableRow
protected boolean startTableRow(TableRowRenderBox box, StyleBuilder builder) throws java.io.IOException
- Throws:
java.io.IOException
-
finishTableRow
protected void finishTableRow(TableRowRenderBox tableRenderBox) throws java.io.IOException
- Throws:
java.io.IOException
-
startTableHeader
protected boolean startTableHeader(TableSectionRenderBox box, StyleBuilder builder) throws java.io.IOException
- Throws:
java.io.IOException
-
finishTableHeader
protected void finishTableHeader(TableSectionRenderBox tableRenderBox) throws java.io.IOException
- Throws:
java.io.IOException
-
startTableBody
protected boolean startTableBody(TableSectionRenderBox box, StyleBuilder builder) throws java.io.IOException
- Throws:
java.io.IOException
-
finishTableBody
protected void finishTableBody(TableSectionRenderBox tableRenderBox) throws java.io.IOException
- Throws:
java.io.IOException
-
startTableFooter
protected boolean startTableFooter(TableSectionRenderBox box, StyleBuilder builder) throws java.io.IOException
- Throws:
java.io.IOException
-
finishTableFooter
protected void finishTableFooter(TableSectionRenderBox tableRenderBox) throws java.io.IOException
- Throws:
java.io.IOException
-
startTable
protected boolean startTable(TableRenderBox box, StyleBuilder builder) throws java.io.IOException
- Throws:
java.io.IOException
-
finishTable
protected void finishTable(TableRenderBox tableRenderBox) throws java.io.IOException
- Throws:
java.io.IOException
-
startOtherNode
protected void startOtherNode(RenderNode node)
- Overrides:
startOtherNodein classIterateStructuralProcessStep
-
startOtherBox
protected boolean startOtherBox(RenderBox box)
- Overrides:
startOtherBoxin classIterateStructuralProcessStep
-
processParagraphChilds
protected void processParagraphChilds(ParagraphRenderBox box)
- Overrides:
processParagraphChildsin classIterateStructuralProcessStep
-
setDataWriter
public void setDataWriter(org.pentaho.reporting.libraries.repository.ContentLocation dataLocation, org.pentaho.reporting.libraries.repository.NameGenerator dataNameGenerator)
-
setContentWriter
public void setContentWriter(org.pentaho.reporting.libraries.repository.ContentLocation contentLocation, org.pentaho.reporting.libraries.repository.NameGenerator contentNameGenerator)
-
-