[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-user
Subject:    Re: AW: Create special Last Page
From:       Chris Bowditch <bowditch_chris () hotmail ! com>
Date:       2004-08-31 13:18:43
Message-ID: 41347AB3.5090307 () hotmail ! com
[Download RAW message or body]

Martin.Hofacker@softwareag.com 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: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic