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 MARTIN Franck <fr...@c-s.fr> on 2003/02/26 10:28:17 UTC

FOP0.20.3 VS Fop0.20.5 in counting number of pages

Hi all,

I'm using FOP 0.20.3 and i'm trying to count the number of pages of a pdf
generated document. Therefore i'm using the getResults().getPageCount()
method of the Driver object to do so. I'm using FOP with differents XSL
stylesheets documents and i noticed that the result is accurate for all but
one. The stylesheet that causes the inaccuracy is more intricate than the
other ones. It is using break-before, force-page-count statements and static
contents that fit on entire pages and it has many page-sequences.

So here comes my question : is fop 0.20.5 better at counting the number of
pages than fop 0.20.3 ?

if not are there any workarounds?

Franck


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


Re: FOP0.20.3 VS Fop0.20.5 in counting number of pages

Posted by Jeremias Maerki <de...@greenmail.ch>.
That'll be the force-page-count that screws up I guess. I think I
remember a similar problem being reported and I think something was done
to improve it. Please do try 0.20.5rc2. 

Just for reference:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11902

On 26.02.2003 10:28:17 MARTIN Franck wrote:
> Hi all,
> 
> I'm using FOP 0.20.3 and i'm trying to count the number of pages of a pdf
> generated document. Therefore i'm using the getResults().getPageCount()
> method of the Driver object to do so. I'm using FOP with differents XSL
> stylesheets documents and i noticed that the result is accurate for all but
> one. The stylesheet that causes the inaccuracy is more intricate than the
> other ones. It is using break-before, force-page-count statements and static
> contents that fit on entire pages and it has many page-sequences.
> 
> So here comes my question : is fop 0.20.5 better at counting the number of
> pages than fop 0.20.3 ?
> 
> if not are there any workarounds?


Jeremias Maerki


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