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)


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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:26 UTC