Hi again,

If you want to add page number also for the first page, when the document have more than one pages, you'll need 2 times rendering. After first you can check the number of pages, than when you know it, you can format your document with the needed page numbering option. FOP can produce page numbers after rendering. ie.: You can render first into an Intermediate Format, second to PDF. But you can choose another way also ...

Bye.

2015-03-22 17:30 keltezéssel, Roberto Nunnari írta:
Hi.

I need to change a servlet that generates a FO document and then transforms it into a pdf document. Unfortunately I know almost nothing about Formatting Objects. :-(

At present the FO adds the page number on every page.

I need to change it so that it adds the page number, but only if there are more than one page.

fop version in use is very old.. 0.91beta and build-Id is from 20051223

Any help very appreciated.

Thank you and best regards.
Robi

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to