Hi all,
does anybody know if it's possible to get the number of rendered pages? I searched the
docs, but couldn't find anything about it.
I think it should be possible, because the PDFRenderer prints the current page number
to the message system.
We have to print a book divided into several c
Hi Erik
I am writing a
before and display the page number with
Page of
within my region-before or region-after. This should result in
Page 1 of 3
I don't know wether this is the recomended way of getting the last page
number but it's working fine.
Regards
Enrico
Am Sonntag, 29. Ju
Hi Enrico,
this is a way to use the page number within the same transformation process, but I
need to have the page count in my application to write it in a database table and to
use it in a different transformation as starting page.
Any idea?
Regards,
Erik Rehrma
Hi Erik,
Yes, I have a Idea...
externaly from FOP:
You redirect stdout from FOP and use the last opening bracket "[" and the
following number as pagenumber.
within FOP:
You write your own class derived from PageSequence or
PageNumberGenerator and write the last pagenumber (may be in the destr
Hi Enrico,
thanks for your reply. Yes, your "within FOP" is worth a try, but I'm not happy with
modifying the FOP source.
I'd prefer to have a, say, RenderInfo object, to get useful information about the
rendered document.
Thanks anyway,
Erik Rehrmann
IOn AG - [EM