The renderer is the last step in the predefined processing chain. The
renderer computes the layout according to the style rules given in the
elements and the inherent limitations of the output targets.
Renderers depend heavily on a correct input model - at this point no model
transformation should be done at all (except, maybe, inserting new lineboxes
where needed).
Contents for the page or special areas (@footnote, @endnote) are forwarded
immediatly.
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.
This method is triggered by a call to 'LayoutProcess.pageBreakEncountered'
startedDocument
public void startedDocument(PageContext pageContext)
Starts the document and initalizes the default page context.
startedFlow
public void startedFlow(LayoutContext context)
throws NormalizationException
Starts a floating, absolute or static element. This establishes a new
normal flow for the element.