AH Formatter / XSL Formatter
Q&A



XSLT/XSL-FO/SVG/MathML Conformance

XSL-FO

Top
Basic, General
About AH Formatter
About XSL Formatter
Operation
Programming
XSLT/XSL-FO/SVG/MathML Conformance
XSLT/XSL-FO/MathML Technics
Index
Q.  I specified break-after="page" for fo:block of the child of fo:table-cell. However, the page doesn't break. Why? [No.2004042702]
A. 

Your FO is as follows:

<fo:table-row >
<fo:table-cell >
<fo:block break-after="page">Cell 1</fo:block>
</fo:table-cell>
</fo:table-row>

In 4.8 Keeps and Breaks of the W3C Recommendation, the break-after condition is defined as follows.

A break-after condition depends on the next formatting object in the flow; the condition is satisfied if either there is no such next formatting object, or if the first normal area generated and returned by that formatting object is leading in a context-area.

The content of table-cell is thought to be independent flow respectively. Therefore, because the following FO doesn't exist, it matches to this break-after condition.

If this condition is not based, the page break is contradicted in following FO.

<fo:table-row >
<fo:table-cell >
<fo:block break-after="page">Cell 1</fo:block>
</fo:table-cell>
<fo:table-cell >
<fo:block >Cell 2</fo:block>
</fo:table-cell>
</fo:table-row>

Copyright © 1999-2011 Antenna House, Inc. All rights reserved.
Antenna House is a trademark of Antenna House, Inc.