AH Formatter /
XSL Formatter
XSLT/XSL-FO/SVG/MathML ConformanceXSL-FO |
|
| 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 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> |