I'm having problems getting pages to break between blocks. See below for
my sample fo document.

I'm using a version I checked out of CVS a week or so ago. Using this
version because of the need for RTF rendering. That said, I'm attempting
to render the FO below as a PDF, and the pages are not breaking. I'm
using the attribute "break-after="page"". I've tried using break-before,
but not having much luck.

According to this site: 
http://xml.apache.org/fop/compliance.html#fo-property-break-after
its supposed to be supported, so maybe I'm missing something obvious, or
using it incorrectly... Or making assumptions that aren't true...

Any tips/suggestions will help.

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  <fo:layout-master-set>
    <fo:simple-page-master master-name="test">
      <fo:region-body />
    </fo:simple-page-master>
    <fo:page-sequence-master master-name="pdf">
      <fo:repeatable-page-master-reference master-reference="cover"/>
    </fo:page-sequence-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="test">
    <fo:flow flow-name="xsl-region-body">
      <fo:block break-after="page">This is page one</fo:block>
      <fo:block break-after="page">This is page two</fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>

-- 
Bryce Fischer <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to