xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bowditch <bowditch_ch...@hotmail.com>
Subject Re: Continue page break
Date Thu, 14 Feb 2008 09:02:16 GMT
Cristian Ferrero wrote:

> thanks Chris i will take a look ,,, and something similar....
> 
> can i conditionate what i put inside an xsl-region-after to be printed 
> only in last page (if i have more than one) ?

Yes - you can create a separate fo:simple-page-master for the last page 
only and give the simple page master a different region-after. e.g.

<fo:simple-page-master master-name="a4">
<fo:region-body/>
<fo:region-after region-name="footer"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="a4last">
<fo:region-body/>
<fo:region-after region-name="footerLast"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="all">
<fo:repeatable-page-master-alternatives>
<fo:conditional-master-reference page-position="first" 
master-reference="a4"/>
<fo:conditional-master-reference page-position="rest" 
master-reference="a4"/>
<fo:conditional-master-reference page-position="last" 
master-reference="a4"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>


Or you could use markers again.

<snip/>

Chris





---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message