It's not a secret anymore!
The moose likes XML and Related Technologies and the fly likes XSL-FO page numbering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSL-FO page numbering" Watch "XSL-FO page numbering" New topic

XSL-FO page numbering

sharad verma

Joined: Mar 14, 2002
Posts: 11
Hi Guys,

I am generating PDF from an XML using XSL-FO and FOP. The generated PDF has text and images. On the printed copy of the book I need to provide page no. of images wherever they are referenced in the text. The problem is I do not know which page the images will end up in generated PDF.

Is there any way this can be handled.

PS: Only print copies will be distributed to end useres. No electronic copies.

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13026
XSL-FO has an elegant method for providing page numbers for use in indexes, tables of contents and the like. Unfortunately it would be hard to explain in a short note. I found the book "Definitive XSL-FO" by Holman to be a great reference.
I agree. Here's the link:
subject: XSL-FO page numbering
It's not a secret anymore!