What you could do is set the height of each table row to some length ie 5mm. You then know how many table rows will appear on each page. Count up the number of rows in the table, calculate the number of rows that will appear on the last page. Insert Y empty rows at the end of the table to pad out the table to fill the page.
Steve Pitchford wrote:
Thanks for the quick reply Scott,
I don't think I want to use page footers in this case (although I'm willing to if they can solve what I want to do ) - but I understand where you are coming from.
The reason is that the xsl I've written produces documents that go over a few pages and I wanted to put a row at the bottom of the last page to show some totals using table-omit-footer-at-break, but keep the size of the table consistent on all pages ( otherwise I could just put an table after the fixed table )
From: Scott Moore [mailto:[EMAIL PROTECTED] Sent: 30 April 2002 18:12
To: '[EMAIL PROTECTED]'
Subject: RE: table-footer at foot of table problem
My guess is table-footer is working exactly as intended.
Are you sure you don't want to use a page footer? Something that always gets placed at the bottom of a page? If so, look into using xsl-region-after
<fo:layout-master-set> <fo:simple-page-master master-name="example" margin-top="10mm" margin-bottom="10mm" margin-left="10mm" margin-right="10mm" page-width="170mm" page-height="170mm"> <fo:region-after extent="20mm"/> <fo:region-body margin-bottom="20mm"/> </fo:simple-page-master> </fo:layout-master-set>
<fo:page-sequence master-reference="example"> <fo:static-content flow-name="xsl-region-after"> <fo:block>Footer</fo:block> </fo:static-content> <fo:flow flow-name="xsl-region-body">.....
-----Original Message----- From: Steve Pitchford [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 30, 2002 1:12 PM To: [EMAIL PROTECTED] Subject: table-footer at foot of table problem
Please excuse me if this has already been asked - I've trawled through
the archives and read the FAQ to try to find an answer, but to no avail.
I am using a table with a fixed height, and a table-footer element.
I may be missing something, but I would like to have the footer at
The bottom of the table, rather than after the last table row in the
body section. Does anyone know how I can achieve this?