Class PaginationStep
- java.lang.Object
-
- org.jfree.layouting.renderer.process.IterateVisualProcessStep
-
- org.jfree.layouting.renderer.process.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
Constructors Constructor Description PaginationStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)-
Methods inherited from class org.jfree.layouting.renderer.process.IterateVisualProcessStep
finishBlockLevelBox, finishInlineLevelBox, processBoxChilds, processFlow, processInlineLevelChild, processInlineLevelNode, processOtherLevelChild, startProcessing
-
-
-
-
Method Detail
-
performPagebreak
public boolean performPagebreak(LogicalPageBox pageBox)
-
getNextOffset
public long getNextOffset()
-
startInlineLevelBox
protected boolean startInlineLevelBox(RenderBox box)
- Overrides:
startInlineLevelBoxin classIterateVisualProcessStep
-
processParagraphChilds
protected void processParagraphChilds(ParagraphRenderBox box)
- Specified by:
processParagraphChildsin classIterateVisualProcessStep
-
processBlockLevelNode
protected void processBlockLevelNode(RenderNode node)
- Overrides:
processBlockLevelNodein classIterateVisualProcessStep
-
processTable
protected void processTable(TableRenderBox table)
-
processBlockLevelChild
protected void processBlockLevelChild(RenderNode node)
- Overrides:
processBlockLevelChildin classIterateVisualProcessStep
-
startBlockLevelBox
protected boolean startBlockLevelBox(RenderBox box)
- Overrides:
startBlockLevelBoxin classIterateVisualProcessStep
-
startLine
protected boolean startLine(ParagraphPoolBox box)
-
finishLine
protected void finishLine(ParagraphPoolBox inlineRenderBox)
-
-