In simple cases fo:footnote works fairly well. I've used it in the case of
printing an invoice where I wanted the total and nomenclature to always
appear at the bottom of the last page. Quick example:
<fo:footnote>
<fo:inline vertical-align="super" font-size="1">.</fo:inline>
<fo:footnote-body>
<xsl:call-template name="FootTable"/> <!-- your output goes here
-->
</fo:footnote-body>
</fo:footnote>
For more complicated pages you may want to use fo:marker. I use in the above
example where I would want multiple invoices in a PDF, but each invoice to
have its totals appear in the same location on their last page.
Basically embeded in a cell in the last row of the table have:
<fo:marker marker-class-name="summary">
<xsl:call-template name="FootTable"/>
</fo:marker>
And then in region-after:
<fo:retrieve-marker retrieve-class-name="summary"/>
The disadvantage here is that you have to preset the size of the
region-after, so if you have a large table that spans a lot of pages you may
have a decent amount of blank space at the bottom of all but the last page.
Hope this helps.
-----Original Message-----
From: Chris Bowditch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 02, 2006 9:06 AM
To: [email protected]
Subject: Re: table-footer
[EMAIL PROTECTED] wrote:
> Hello List,
>
> I'va a table that uses a table-footer. I want the table-footer always at
the
> bottom of a page. My problem is, that the tables content is lets say for
> example only 3 rows height. In this case the footer is placed under the
> third line of the table. How can I tell the table that I want the footer
at
> the bottom of the page?
I'm not sure you can achieved what you want using table-footers in
XSL-FO. You might be able to accomplish the look you need using
footnotes or region-after.
Chris
---------------------------------------------------------------------
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]