Alain ROY wrote:
Do you have examples of using markers or footnotes to distinct the last page
footer ?
I want to print the same footer on all pages except the last where I want
nothing.
I'd use a marker with the regular footer content right at the beginning
at the flow, and a marker of the same class but empty content at the
end.
Roughly
...
<fo:static-content flow-name="xsl-region-end">
<fo:retrieve-marker retrieve-class-name="footer"
retrieve-position="last-starting-within-page"
retrieve-boundary="document"/>
</fo:static-content>
<fo:flow ...>
<fo:marker marker-class-name="footer">
<fo:block>normal footer</fo:block>
</fo:marker>
... stuff ...
<fo:marker marker-class-name="footer">
<fo:block/>
</fo:marker>
</fo:flow>
I'm not sure whether retrieve-position="last-starting-within-page"
properly interacts with retrieve-boundary="document" in 0.20.5,
there may be other caveats as well. You can try
retrieve-position="firt-starting-within-page", this will give you
the normal footer on a one page document, which may be what you want,
or not.
The examples in the FOP distribution have a more extravagant solution,
using an overlapping SVG to hide the regular content.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]