org.jfree.layouting.modules.output.html

Class HtmlPrinter

public class HtmlPrinter extends IterateStructuralProcessStep

Creation-Date: 25.11.2006, 18:17:57

Author: Thomas Morgner

Field Summary
static floatCORRECTION_FACTOR_POINT_TO_PX
static floatCORRECTION_FACTOR_PX_TO_POINT
static StringTAG_DEF_PREFIX
Constructor Summary
HtmlPrinter()
Method Summary
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)
ContentLocationgetContentLocation()
NameGeneratorgetContentNameGenerator()
ContentLocationgetDataLocation()
NameGeneratorgetDataNameGenerator()
StringgetEncoding()
URLRewritergetUrlRewriter()
booleanisGenerateFragment()
protected voidprocessParagraphChilds(ParagraphRenderBox box)
voidsetContentWriter(ContentLocation contentLocation, NameGenerator contentNameGenerator)
voidsetDataWriter(ContentLocation dataLocation, NameGenerator dataNameGenerator)
voidsetEncoding(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)

Field Detail

CORRECTION_FACTOR_POINT_TO_PX

public static final float CORRECTION_FACTOR_POINT_TO_PX

CORRECTION_FACTOR_PX_TO_POINT

public static final float CORRECTION_FACTOR_PX_TO_POINT

TAG_DEF_PREFIX

public static final String TAG_DEF_PREFIX

Constructor Detail

HtmlPrinter

public HtmlPrinter()

Method Detail

finishBlockBox

protected void finishBlockBox(BlockRenderBox box)

finishInlineBox

protected void finishInlineBox(InlineRenderBox box)

finishOtherBlockBox

protected void finishOtherBlockBox(BlockRenderBox tableRenderBox)

finishPageBox

protected void finishPageBox(RenderBox box)

finishParagraph

protected void finishParagraph(ParagraphRenderBox tableRenderBox)

finishTable

protected void finishTable(TableRenderBox tableRenderBox)

finishTableBody

protected void finishTableBody(TableSectionRenderBox tableRenderBox)

finishTableCell

protected void finishTableCell(TableCellRenderBox tableRenderBox)

finishTableFooter

protected void finishTableFooter(TableSectionRenderBox tableRenderBox)

finishTableHeader

protected void finishTableHeader(TableSectionRenderBox tableRenderBox)

finishTableRow

protected void finishTableRow(TableRowRenderBox tableRenderBox)

generate

public void generate(LogicalPageBox box, DocumentContext documentContext)

getContentLocation

public ContentLocation getContentLocation()

getContentNameGenerator

public NameGenerator getContentNameGenerator()

getDataLocation

public ContentLocation getDataLocation()

getDataNameGenerator

public NameGenerator getDataNameGenerator()

getEncoding

public String getEncoding()

getUrlRewriter

public URLRewriter getUrlRewriter()

isGenerateFragment

public boolean isGenerateFragment()

processParagraphChilds

protected void processParagraphChilds(ParagraphRenderBox box)

setContentWriter

public void setContentWriter(ContentLocation contentLocation, NameGenerator contentNameGenerator)

setDataWriter

public void setDataWriter(ContentLocation dataLocation, NameGenerator dataNameGenerator)

setEncoding

public void setEncoding(String encoding)

setGenerateFragment

public void setGenerateFragment(boolean generateFragment)

setUrlRewriter

public void setUrlRewriter(URLRewriter urlRewriter)

startBlockBox

protected boolean startBlockBox(BlockRenderBox box)

startInlineBox

protected boolean startInlineBox(InlineRenderBox box)

startMarkerContents

protected boolean startMarkerContents(RenderBox box, StyleBuilder builder)

startOtherBlockBox

protected boolean startOtherBlockBox(BlockRenderBox box, StyleBuilder builder)

startOtherBox

protected boolean startOtherBox(RenderBox box)

startOtherNode

protected void startOtherNode(RenderNode node)

startPageBox

protected boolean startPageBox(RenderBox box, StyleBuilder builder)

startParagraph

protected boolean startParagraph(ParagraphRenderBox box, StyleBuilder builder)

startTable

protected boolean startTable(TableRenderBox box, StyleBuilder builder)

startTableBody

protected boolean startTableBody(TableSectionRenderBox box, StyleBuilder builder)

startTableCell

protected boolean startTableCell(TableCellRenderBox box, StyleBuilder builder)

startTableFooter

protected boolean startTableFooter(TableSectionRenderBox box, StyleBuilder builder)

startTableHeader

protected boolean startTableHeader(TableSectionRenderBox box, StyleBuilder builder)

startTableRow

protected boolean startTableRow(TableRowRenderBox box, StyleBuilder builder)