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

Re: Tables filling page

From: Mike Haarman <mhaarman@infinitecampus.org>
Date: Wed, 26 Mar 2003 11:56:20 -0600
Message-ID: <001001c2f3c1$02214e10$c70aa8c0@ic.org>
To: <www-xsl-fo@w3.org>
Cc: "Shawn Bender" <sbender@benshaw.com>
From: <Klaas_Bals@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 submit this solution to the problem.  It illustrates a technique carried
forward from my days laying type.  I've included the complete stylesheet to shed
some light on one particular manner of using XSLT to introduce dynamism to FO
generation.  Mea culpa the attachments.

The busywork with variables at start of the stylesheet is to demonstrate that
the technique can be utilized with a degree of flexibility, including parameters
passed from calling process.  The solution can be improved directly by
increasing the precision of $font.size.factor:

Received on Wednesday, 26 March 2003 12:55:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:57 UTC