Thanx Andreas !!! It sure did help. And almost was too good to be true, as
yet another issue cropped up.

The reason the footer was needed only on the last page was to save page area
on previous pages and use the footer information only on the last page where
the footer info is actually relevant.

But with the marker approach I noticed that the footer area has to be
allocated to the other pages (using the layout and region-after values
applicable to the pages) irrespective. So, untimately although no footer is
printed on the middle pages, the area is consumed by a blank portion and so
paper will not really be saved (the main intention of this exercise :-) )

But, nonetheless, your help was useful in understanding the feature provided
by markers and is greatly appreciated.

Anil.

-----Original Message-----
From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 07, 2004 8:38 PM
To: [EMAIL PROTECTED]
Subject: RE: Footer placement...


> -----Original Message-----
> From: Anil Pinto [mailto:[EMAIL PROTECTED]
>

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





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

Reply via email to