Hello everyone, We have been using FOP 0.20.5 to generate PDF documents for a while now. Lately we had a need to create a document with the following requirements -
The document is a double sided document with a "Terms & Conditions" (static text) on the back side of every physical page. The front side is dynamic where new pages are created based on number of details (lines). What this means is that if the dynamic data (xml) results in 3 data pages, we should have 3 "Terms & Conditions" pages for a document totalling to 6 pages. All this is fine and works great with the appropriate "simple-page-layout" and "page-sequence-master-alternatives". Now the requirement that is causing us a headache :-) is that only pages with data need to show page numbers and only sequenced on the data pages, i.e. for the above example we would have document with data page 1 having a page number 1 and the data page 2 having a page number of 2 and not 3 as it physically is in the document and so on. (shown below) Physical Page Physical Page Number(Not displayed) Logical Page Number (displayed only on data page) ------------- ---------------------------------- --------------------- ---------------------------- Data Page 1 1 Terms Page 2 Data Page 3 2 Terms Page 4 Data Page 5 3 Terms Page 6 : : : : The <page-number/> FO element does not seem to help with this requirement. Would appreciate if anybody could help with this specific scenario. Hope I have put in enough information to understand the problem. Any help is greatly appreciated. Thanks Anil Pinto. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
