From: William Victor Mote Date: Sun, 6 Apr 2003 22:30:13 +0000 (+0000) Subject: Show differences between development lines in a table. X-Git-Tag: Root_Temp_KnuthStylePageBreaking~1661 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b3d010cd13f26684ffc7e22c51446ec6d081a300;p=xmlgraphics-fop.git Show differences between development lines in a table. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196215 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/documentation/content/xdocs/design/architecture.xml b/src/documentation/content/xdocs/design/architecture.xml index c89b89f59..e69463b12 100644 --- a/src/documentation/content/xdocs/design/architecture.xml +++ b/src/documentation/content/xdocs/design/architecture.xml @@ -13,7 +13,7 @@

The purpose of this document is to tie together the FOP design (interface) with some of the key points where control is passed within FOP (implementation), so that developers can quickly find the section of code that is relevant to their needs. The process described is for a "typical" command-line document. All classes are in org.apache.fop unless otherwise designated.

Overview -

The input FO document is sent to the FO tree builder via SAX events. Fragments of an FO Tree are built from this process. As each page-sequence element is completed, it is passed to a layout processor, which in turn converts it into an Area Tree. The Area Tree is then given to the Renderer, which converts it into a stream of data containing the output document. The sections below will provide additional details.

+

The input FO document is sent to the FO tree builder via SAX events. Fragments of an FO Tree are built from this process. As each page-sequence element is completed, it is passed to a layout processor, which in turn converts it into an Area Tree. The Area Tree is then given to the Renderer, which converts it into a stream of data containing the output document. The sections below will provide additional details. Where needed differences between the trunk and maintenance branches are shown in tabular format.

Startup @@ -25,10 +25,27 @@
Formatting Object Tree - + + + + + + + + + + + + + + + + + + + + +
TrunkMaintenance
The SAX events that the parser creates are handled by fo.FOTreeBuilder, which uses startElement(), endElement(), and characters() methods to build the FO Tree.fo.FOTreeBuilder.endElement() runs the end() method for each node as it is created. The fo.pagination.PageSequence class overrides this end() method to run apps.LayoutHandler.endPageSequence(), which in turn runs fo.pagination.PageSequence.format().the end of a PageSequence element causes the PageSequence object to be passed to apps.StreamRenderer.render, which in turn runs fo.pagination.PageSequence.format.
fo.pagination.PageSequence.addFlow() programatically adds a Flow object to the page sequence.
fo.pagination.PageSequence.makePage() creates a BodyArea and passes it to fo.Flow.layout
the layout process is then driven from fo.pagination.PageSequence.format.
Layout