W3C home > Mailing lists > Public > www-xsl-fo@w3.org > June 2002

Re: header

From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 13 Jun 2002 17:29:31 +0100
Message-Id: <200206131629.RAA23313@penguin.nag.co.uk>
To: Patrick.Andries@xcential.com
CC: www-xsl-fo@w3.org


> Is it even possible ?

oh. never say never, but i can't think of any sensible mechanism
off the top of my head:-)

If you know the number of rows per page (and you start at the top of the
page) then none of this is difficult at all as you can do all the
calculations in the stylesheet before FO rendering begins.

In the most general case where the page breaking depends on the content
though you need a slight extension. If you used markers to get the total
sum up to the end of the previous page and the end of the current. Then
you have in the rendering engine all the info you need, you just want to
take the values of the two marks and convert to numbers and subtract.
Unless I mis read the spec then FO doesn't currently allow that although
most likely any FO renderer could easily allow such a function.
(passivetex could easily do this, certainly)

David


_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
Received on Thursday, 13 June 2002 12:30:18 GMT

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