org.jfree.layouting.renderer.process

Class PaginationStep

public class PaginationStep extends IterateVisualProcessStep

Computes the pagination. This step checks, whether content crosses an inner or outer page boundary. In that case, the content is shifted downwards to the next page and then marked as sticky (so it wont move any further later; this prevents infinite loops).

This kind of shifting does not apply to inline-elements - they get shifted when their linebox gets shifted.

Author: Thomas Morgner

Constructor Summary
PaginationStep()
Method Summary
protected voidfinishLine(ParagraphPoolBox inlineRenderBox)
longgetNextOffset()
booleanperformPagebreak(LogicalPageBox pageBox)
protected voidprocessBlockLevelChild(RenderNode node)
protected voidprocessBlockLevelNode(RenderNode node)
protected voidprocessParagraphChilds(ParagraphRenderBox box)
protected voidprocessTable(TableRenderBox table)
protected booleanstartBlockLevelBox(RenderBox box)
protected booleanstartInlineLevelBox(RenderBox box)
protected booleanstartLine(ParagraphPoolBox box)

Constructor Detail

PaginationStep

public PaginationStep()

Method Detail

finishLine

protected void finishLine(ParagraphPoolBox inlineRenderBox)

getNextOffset

public long getNextOffset()

performPagebreak

public boolean performPagebreak(LogicalPageBox pageBox)

processBlockLevelChild

protected void processBlockLevelChild(RenderNode node)

processBlockLevelNode

protected void processBlockLevelNode(RenderNode node)

processParagraphChilds

protected void processParagraphChilds(ParagraphRenderBox box)

processTable

protected void processTable(TableRenderBox table)

startBlockLevelBox

protected boolean startBlockLevelBox(RenderBox box)

startInlineLevelBox

protected boolean startInlineLevelBox(RenderBox box)

startLine

protected boolean startLine(ParagraphPoolBox box)