xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bowditch <bowditch_ch...@hotmail.com>
Subject Re: Page count
Date Mon, 15 Mar 2004 14:00:42 GMT
Kuba Królikowski wrote:

> Hi
> I'm using PCL renderer in FOP. I have to count document pages. I know 
> that I can render my document and get page count with this way. But I'm 
> not sure that there isn't any little faster way, for example without 
> writing PCL commands to PCL stream. Do you know where exactly there is a 
> moment in rendering process when page count is calculated? How can I 
> calculate it in the fastest way?

Have you tried using

<fo:page-number-citation ref-id="end"/>

of course, dont forget to put id="end" on your last FO in the flow, e.g.

<fo:block id="end">
This is the last block


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

View raw message