Determining the position of leaf boundaries

The TopLeaf composition engine processes a full looseleaf XML document content as a primary input stream sourced from a series of leaf files. As each character is read, a character count associates the position of each character relative to the beginning of the document input stream with a page position within the rendered output.

Leaf, page or line boundaries are assigned when a partition is published. All boundaries can only be positioned within content that has been sourced from the primary document input stream and rendered within a data column. TopLeaf cannot calculate the position of any leaf, page or line boundary that is located within:

The position of page and line boundaries is immediately invalidated by any change to the document content. Leaf boundaries however, remain fixed until the release is published.