[EMAIL PROTECTED] wrote:

<snip/>

Could you tell me please a little bit more about the workaround with markers?

Place the contents for the last footer inside <fo:marker> tags after the rest of your content. In the region-after, retrieve this marker for every page. Now, because in previous pages the marker hasnt been set yet, this wont appear. Alternatively if you need a footer in the middle pages, then use <fo:marker> at the start to set what the footer for the middle pages. For example:


<fo:page-sequence master-reference="all">
<fo:static-content flow-name="first-footer">
<fo:block>First Page</fo:block>
</fo:static-content>
<fo:static-content flow-name="rest-footer">
<fo:block><fo:retrieve-marker retrieve-class-name="footer" retrieve-boundary="document"/></fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:marker marker-class-name="footer">This is a middle page</fo:marker>
<!-- several pages of content -->
<fo:marker marker-class-name="footer">This is the last page</fo:marker>
</fo:flow>
</fo:page-sequence>


Note: this sample hasnt been tested, and might contain a typo, but hopefully you will get the idea.

Chris


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



Reply via email to