From: Nishma Jain <[EMAIL PROTECTED]>

I have been using fop 0.20.4 since couple of months and my page break have
been working fine. Recently I switched to fop 0.20.5 since I wanted to add
password protection for my pdf document. I'm using the same xsl which I used
with older version. Using this latest version of fop, some extra blank pages
are getting added in the document. Is it a bug or normal behavior for this
version?

This is normal behaviour. The default value for force-page-count property on fo:page-sequence changed in version 0.20.5 to "auto" You will have to set it to "no-force" This is a FAQ, see for more details;


http://xml.apache.org/fop/faq.html#blank-page-between-page-sequences

<snip/>

        <xsl:template match="Statement">
                <fo:page-sequence initial-page-number="1"
master-reference="default-page"> //Start each st with page 1

You will have to add force-page-count="no-force" to your page-sequence elements.


<snip/>

Chris

_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger



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



Reply via email to