I've just recently checked out the current CVS tree and built FOP. It doesn't
seem to be handling the break-before/break-after properties with the value
'page' at all. I've put together a simple test:


<?xml version='1.0' encoding='UTF-8' ?>
<fo:root font-size='18pt' xmlns:fo='http://www.w3.org/1999/XSL/Format'>
<fo:layout-master-set>
<fo:simple-page-master master-name='slide' page-width='11in' page-height='8.5in'>
<fo:region-body margin-top='0.5in' margin-bottom='0.5in' margin-right='0.75in' margin-left='0.75in'/>
</fo:simple-page-master>
</fo:layout-master-set>


<fo:page-sequence master-reference='slide'>
<fo:title>Break Testing</fo:title>
<fo:flow flow-name='xsl-region-body' font-weight="bold">


<fo:block>line1</fo:block> <fo:block>line2</fo:block> <fo:block text-align='center' break-before="page">line3</fo:block>

</fo:flow>
</fo:page-sequence>
</fo:root>

This should generate two pages, but it doesn't.

-- Alex Milowski

"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."


Bertrand Russell in a footnote of Principles of Mathematics



Reply via email to