Differences between revisions 5 and 6
Revision 5 as of 2009-08-26 10:59:09
Size: 1832
Comment: A few fixes and additions
Revision 6 as of 2009-09-20 23:52:13
Size: 1836
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
The thread that relates to this page is [http://www.nabble.com/Area-Tree-Handling-to24431098.html]. The thread that relates to this page is [[http://www.nabble.com/Area-Tree-Handling-to24431098.html]].
Line 31: Line 31:
The Area Tree XML closely follows the description made in the [http://www.w3.org/TR/xsl11/#area_model XSL-FO Recommendation]. The Area Tree XML closely follows the description made in the [[http://www.w3.org/TR/xsl11/#area_model|XSL-FO Recommendation]].

Introduction

The aim here is to create some kind of documentation for the Area Tree XML Intermediate Format that is under development by the Apache FOP team.

This has all spawned from my frustration at requiring the information contained within the Area Tree XML that I have managed to gain access to, only to discover that there is no definitive documentation to be found. I wanted to know the dimensions of an area that I have created and could not know for sure since the attributes of the nodes were abbreviated to forms such as bpd and ipda!

The thread that relates to this page is http://www.nabble.com/Area-Tree-Handling-to24431098.html.

I am hoping that with public participation we can provide definitions for the meaning and purpose of each node and attribute in the FOP IF Tree. I would therefore like to welcome any and all contributions!

[Tom Wilcox]

[Contributors' initials are found in square brackets with a key at the bottom of the page for recognition :) ]

Area Tree XML Attributes

  • bpd = block-progression-dimension of the content rectangle of the area (= height for lr-tb script) [JM];
  • bpda = allocated bpd = content bpd + spaces + borders + padding [JM];
  • ipd = inline-progression-dimension of the content rectangle of the area (= width for lr-tb script) [JM];
  • ipda = allocated ipd = content ipd + spaces + borders + padding [JM];
  • prod-id = reference attribute id (e.g. <fo:block id="123">) [GD];

Notes

The Area Tree XML closely follows the description made in the XSL-FO Recommendation.

Units are millipoints (1000ths of a point) as used in most of FOP (most notably the layout engine). [JM]

Contributors

[JM] = [courtesy of Jeremias Maerki]

[GD] = [courtesy of Georg Datterl]

AreaTreeXMLDocumentation (last edited 2009-09-20 23:52:13 by localhost)