AW: Calculate number of pages without complete rendering-process was: Re: Counting the number of pages generated in the pdf file

2003-02-07 Thread Zieseniß, Markus
I also do not understand the wrapper example to count all pages of a document. Has anybody tested that and can explain how to implement? greetings Markus -Ursprüngliche Nachricht- Von: J.Pietschmann [SMTP:[EMAIL PROTECTED] Gesendet am: Mittwoch, 5. Februar 2003 22:32 An: [EMAIL

Re: AW: Calculate number of pages without complete rendering-process was: Re: Counting the number of pages generated in the pdf file

2003-02-07 Thread J.Pietschmann
Zieseniß, Markus wrote: I also do not understand the wrapper example to count all pages of a document. Has anybody tested that and can explain how to implement? I don't understand what's the problem. 1. Write an XML file, let's say foo.xml: pages page/ page/ page/ page/ page/ /pages 2.

Re: Calculate number of pages without complete rendering-process was: Re: Counting the number of pages generated in the pdf file

2003-02-06 Thread alex elsholz
Hi, J.Pietschmann wrote: I'm looking for an solution to calculate the number of pages without the complete rendering process. Great idea. If you tell me how to do it, I'll implement it. Note: In general, you can't know how many pages a text fills unless you actually filled the pages with the

Calculate number of pages without complete rendering-process was: Re: Counting the number of pages generated in the pdf file

2003-02-05 Thread alex elsholz
Hi, Check the FAQ for hints and caveats: http://xml.apache.org/fop/faq.html#faq-N10597 public static void main(String args[]) { try { Driver driver=new Driver(); driver.setOutputStream(new FileOutputStream(args[2])); driver.setRenderer(Driver.RENDER_PDF); Transformer

Re: Calculate number of pages without complete rendering-process was: Re: Counting the number of pages generated in the pdf file

2003-02-05 Thread J.Pietschmann
alex elsholz wrote: but thats not what i want. I'm looking for an solution to calculate the number of pages without the complete rendering process. Great idea. If you tell me how to do it, I'll implement it. Note: In general, you can't know how many pages a text fills unless you actually filled

RE: Counting the number of pages generated in the pdf file

2003-01-31 Thread Rakesh Patel
Hi, the standard way is to add a block (with an id value) on the end of the fo and then reference it. Rakesh -Original Message- From: MARTIN Franck [mailto:[EMAIL PROTECTED] Sent: 31 January 2003 16:52 To: [EMAIL PROTECTED] Subject: Counting the number of pages generated in the pdf

Re: Counting the number of pages generated in the pdf file

2003-01-31 Thread Oleg Tkachenko
MARTIN Franck wrote: Is there any way to count the number of pages for a pdf generated file? You can get number of generated pages using driver.getResults().getPageCount(); -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel

Re: Counting the number of pages generated in the pdf file

2003-01-31 Thread Rodolfo M. Raya
On Fri, 2003-01-31 at 13:51, MARTIN Franck wrote: Is there any way to count the number of pages for a pdf generated file? Maybe the following code can help: File userConfigFile = new File(lib/userconfig.xml); options = new Options(userConfigFile); output = new FileOutputStream(outputFile);

Re: Counting the number of pages generated in the pdf file

2003-01-31 Thread J.Pietschmann
MARTIN Franck wrote: Is there any way to count the number of pages for a pdf generated file? Check the FAQ for hints and caveats: http://xml.apache.org/fop/faq.html#faq-N10597 J.Pietschmann - To unsubscribe, e-mail: [EMAIL