xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas L. Delmelle" <a_l.delme...@pandora.be>
Subject RE: Footer placement...
Date Sun, 07 Nov 2004 15:07:33 GMT
> -----Original Message-----
> From: Anil Pinto [mailto:apinto@lobotec.com]
>

Hi,

>
> Can I get some more information or links on how this can be done
> with markers or footnotes ? I need to come up with a solution
> soon. Thanx in advance.
>

For the solution with markers, the explanation is:

- define fo:static-content for every page, and make them include
fo:retrieve-marker of a specific marker-class
- make sure that the footer-info required to appear on your last page only
appears in a fo:marker of the corresponding marker-class after the last
fo:block

Roughly, the XSL-FO has to look something like:

<fo:page-sequence ...>
  <fo:static-content flow-name="xsl-region-after">
    <fo:block>
      <fo:retrieve-marker retrieve-class-name="footer-last"
                 retrieve-boundary="page"
                 retrieve-position="last-ending-within-page" />
    </fo:block>
  </fo:static-content>
  <fo:flow>
  ...
  <!-- put the following *only* after the last fo:block -->
  <fo:marker marker-class-name="footer-last">
    This text appears only on the page containing
    the last fo:block
  </fo:marker>
  </fo:flow>
</fo:page-sequence>

Hope this helps!

Greetz,

Andreas


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


Mime
View raw message