W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2003

Re: Tables filling page

From: <Klaas_Bals@inventivedesigners.com>
Date: Tue, 25 Mar 2003 08:50:24 +0100
To: Shawn Bender <sbender@benshaw.com>, www-xsl-fo@w3.org
Message-ID: <OF9D6D2089.55A50814-ONC1256CF4.002A653E-C1256CF4.002B1125@inventivedesigners.com>






> The problem I am having is that when I run out of
> information to put in the table, it stops there, and I can't find a way
> to make it go to the end of the page.  Is there a way to make a table go
> to then end of the page on the last page it is on?  *The cells are not
> equal in height.

This is not possible in XSL-FO right now. I have seen an alternative which
might lead to the same visual result. You could create a background image
that contains rectangles in grey and light grey, where each rectangle
corresponds to a column. If you then place a table on that page with that
background, you get the visual effect that the background of the columns
are alternating grey and light grey.
The background image of course has the same size for all pages, and if you
don't specify borders on the table, you cat get what you want. Vertical
borders are visually 'replaced' by the background image. The only
limitation is that the horizontal borders can not be used to delimit the
rows. This however could be replaced by setting the background color of the
cells alternating for each row.

Hope this explanation was clear...

-----
Klaas Bals  -  Scriptura Development Manager

Scriptura - a WYSIWYG XSL-FO editor: www.inventivedesigners.com/scriptura

Inventive Designers
Direct Phone: +32 - 3 - 8210183
Office Phone: +32 - 3 - 8210170
Office Fax: +32 - 3 - 8210171
Email: Klaas_Bals at inventivedesigners dot com
Received on Tuesday, 25 March 2003 02:51:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT