W3C home > Mailing lists > Public > www-xsl-fo@w3.org > January 2009

Re: Determine Page Break...

From: Saqi <saqib.javed@gmail.com>
Date: Mon, 5 Jan 2009 09:29:23 +0500
Message-ID: <e43b65bd0901042029h556d0995md803afcfd19dcac2@mail.gmail.com>
To: www-xsl-fo@w3.org
Hello ppl,
Thanks for your replies
@John Virgo
can you please elobrate the process a bit. I'll be really grateful if you
can show me some example. coz thats exactly what i want to do.
@Tony
Actually i need to do what John said is possible i.e. division of row count
by page count. or in simple words no. of rows spanning in one page, if the
no. of pages are more than 1.

By the way i'm using Antenna XslFormatter V4.2.
Thanks
Regards,
Saqib Javed

On Fri, Jan 2, 2009 at 7:25 PM, Virgo, John <John.Virgo@xerox.com> wrote:

>  Sounds like you need to get feedback from the layout which I don't think
> is possible in 1.0.
> I hit a similar problem and had to try various hacks to get around it.
> One method was to:
> * Generate just the block of interest (e.g. the table)
> * If the region size rule is broken, the number of output pages will be
> more than one
> * The calling process running the template would then have to run login to
> decide the number of rows (e.g. division of row count by page count)
>
> Not at all elegant but for simple transforms it can work, there are other
> ways to do this, but this is worth considering as an interim
>
>  ------------------------------
> *From:* www-xsl-fo-request@w3.org [mailto:www-xsl-fo-request@w3.org] *On
> Behalf Of *Saqi
> *Sent:* 02 January 2009 12:56
> *To:* www-xsl-fo@w3.org
> *Subject:* Determine Page Break...
>
> Hello,
> I have been googling for last 2 days but can't find any solution. the
> problem is that in dynamic table creation i want to know when actually the
> page breaked. so that i can find the last row on till that page end.
>  is there, really, any solution to this in xsl-fo?
> thanks
> Regards,
> Saqib Javed
>
Received on Monday, 5 January 2009 04:30:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 January 2009 04:30:04 GMT