You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Chanaka Amarasekara <ch...@ifs.lk> on 2004/02/23 13:02:51 UTC

Total number of pages

Hi All,

Is it possible to get the total number of pages before the FOP process the
XSL file? I'm trying to modify the Table class in org.apache.fop.fo.flow
folder, and I need to know the total number of pages in the generated PDF
file. Is this possible?

Thanks,
Chanaka


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: Total number of pages

Posted by Mark Williams <ma...@skwirel.com>.
No.

You have to pass it to Fop twice.  There is an example at
http://xml.apache.org/fop/fo.html#fo-total-pages

regards,

Mark

----- Original Message -----
From: "Chanaka Amarasekara" <ch...@ifs.lk>
To: <fo...@xml.apache.org>
Sent: Monday, February 23, 2004 12:02 PM
Subject: Total number of pages


> Hi All,
>
> Is it possible to get the total number of pages before the FOP process the
> XSL file? I'm trying to modify the Table class in org.apache.fop.fo.flow
> folder, and I need to know the total number of pages in the generated PDF
> file. Is this possible?
>
> Thanks,
> Chanaka
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org