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
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.
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
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
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
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
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
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);
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