know number of pages in end pdf without actually making it

2009-01-22 Thread Chakravarty, Abhishek
Is there a way to know the number of pages in the final pdf document generated from FOP without actually doing its generation? The XML content being pulled in for the pdf generation is dynamic and so the number of pages being generated at the end would change too based on this. Was wondering

Re: know number of pages in end pdf without actually making it

2009-01-22 Thread Andreas Delmelle
On 22 Jan 2009, at 22:16, Chakravarty, Abhishek wrote: Is there a way to know the number of pages in the final pdf document generated from FOP without actually doing its generation? Depends on what you mean by generation. The FO content at least has to be parsed and processed partly (layout

Re: FOP -Printing specified number of pages

2007-02-23 Thread Andreas L Delmelle
On Feb 22, 2007, at 21:47, Ramakrishna wrote: Hi Ram, Thanks Andreas! FYI: I have opened a Bugzilla entry (41687) for this issue, so we don't lose track of it. If you want to be notified about changes in status, feel free to add yourself to the CC-list for that bug. Cheers, Andreas

Re: FOP -Printing specified number of pages

2007-02-22 Thread Ramakrishna
to the FOP to print the specified number of pages. FOP.bat -xml Data.xml -xsl FO_Template.xsl -print how to specify the -Dstart=2 and -Dend=4 The following statement does not work FOP.bat -xml Data.xml -xsl FO_Template.xsl -print -Dstart=2 -Dend=4 Please provide inputs on this. Thanks

Re: FOP -Printing specified number of pages

2007-02-22 Thread Mukul Gandhi
and print outs from XML and XLS-FO file. I am invoking the FOP through the provided FOB.bat file passing the command line arguements for xml file, xsl file and the -print option. I would like to know how to provide the From Page and To Page options to the FOP to print the specified number

Re: FOP -Printing specified number of pages

2007-02-22 Thread Ramakrishna
passing the command line arguements for xml file, xsl file and the -print option. I would like to know how to provide the From Page and To Page options to the FOP to print the specified number of pages. FOP.bat -xml Data.xml -xsl FO_Template.xsl -print how to specify the -Dstart=2

Re: FOP -Printing specified number of pages

2007-02-22 Thread Andreas L Delmelle
On Feb 22, 2007, at 20:34, Ramakrishna wrote: Hi, I tried to print with the .fo file instead of giving the xml and xsl files but still it printed all the pages. There is slight variation in the command usage I gave the command as java -Dstart=2 -Dend=2 org.apache.fop.cli.Main infile.fo

Re: FOP -Printing specified number of pages

2007-02-22 Thread Ramakrishna
Thanks Andreas! On 2/22/07, Andreas L Delmelle [EMAIL PROTECTED] wrote: On Feb 22, 2007, at 20:34, Ramakrishna wrote: Hi, I tried to print with the .fo file instead of giving the xml and xsl files but still it printed all the pages. There is slight variation in the command usage I gave

Re: FOP -Printing specified number of pages

2007-02-21 Thread Mukul Gandhi
to the FOP to print the specified number of pages. FOP.bat -xml Data.xml -xsl FO_Template.xsl -print how to specify the -Dstart=2 and -Dend=4 The following statement does not work FOP.bat -xml Data.xml -xsl FO_Template.xsl -print -Dstart=2 -Dend=4 Please provide inputs on this. Thanks, Ram

FOP -Printing specified number of pages

2007-02-20 Thread Ramakrishna
options to the FOP to print the specified number of pages. FOP.bat -xml Data.xml -xsl FO_Template.xsl -print how to specify the -Dstart=2 and -Dend=4 The following statement does not work FOP.bat -xml Data.xml -xsl FO_Template.xsl -print -Dstart=2 -Dend=4 Please provide inputs on this. Thanks

Number of Pages?

2005-08-24 Thread Dirk Bromberg
Hi, when i want to have a page numbering like page/number of pages, is there a tag for the number of pages in fo? i' ve only found the page-number... must i generate the pdf, take the number of pages via the api, set them to my xml and rerender the pdf? Thanks Dirk

Re: Number of Pages?

2005-08-24 Thread Andreas L Delmelle
On Aug 24, 2005, at 21:07, Dirk Bromberg wrote: Hi Dirk, when i want to have a page numbering like page/number of pages, is there a tag for the number of pages in fo? This is a FAQ. See: http://xmlgraphics.apache.org/fop/fo.html#fo-total-pages HTH! Greetz, Andreas

Re: Number of Pages?

2005-08-24 Thread Dirk Bromberg
Thx. Andreas L Delmelle wrote: On Aug 24, 2005, at 21:07, Dirk Bromberg wrote: Hi Dirk, when i want to have a page numbering like page/number of pages, is there a tag for the number of pages in fo? This is a FAQ. See: http://xmlgraphics.apache.org/fop/fo.html#fo-total-pages HTH