Re: FO - Adding Filler Pages for page count multiple of 16

2005-08-22 Thread Jeremias Maerki
No, you don't need an additional tool, only some custom Java code and probably an extension to your stylesheet. Step 1: Use the Driver.getResults() method to determine the number of pages generated during the first, normal run. See here for more info: http://xml.apache.org/fop/embedding.html#rende

Re: FO - Adding Filler Pages for page count multiple of 16

2005-08-22 Thread Prakash R
Jeremias, When you said a two-pass approach, would that be both through FO processor or would I have to do the second run with some other tool? At the end of the first run I would have a PDF. If I would be using FO Processor for the second run then how would I go about doing the second run? If not

Re: FO - Adding Filler Pages for page count multiple of 16

2005-08-22 Thread Chris Bowditch
Jeremias Maerki wrote: I don't think such a thing is directly possible with XSL-FO. Your best chance is probably to do a two-pass approach, noting the number of generated pages in the first run and then injecting additional blank pages in the second run. Jeremias is right, you can't do want yo

Re: FO - Adding Filler Pages for page count multiple of 16

2005-08-22 Thread Jeremias Maerki
I don't think such a thing is directly possible with XSL-FO. Your best chance is probably to do a two-pass approach, noting the number of generated pages in the first run and then injecting additional blank pages in the second run. On 20.08.2005 06:32:59 Prakash R wrote: > Hi, > > I'm new to FO.

FO - Adding Filler Pages for page count multiple of 16

2005-08-19 Thread Prakash R
Hi, I'm new to FO. I'm developing a FO document to generate a catalog which has multiple sections. I have a constraint on the length of each of these sections. It has to be a multiple of 16 pages. If the data for a particular section is less than a multiple of 16 pages then the extra pages need to