1&2 But then I wouldn't be able to fill a field with the total number of pages no?

3. No reason. Why would that make a difference?

Le 14/02/2011 08:30, 1T3XT BVBA a écrit :
Op 14/02/2011 0:50, Antony Webster schreef:
I'd be most interested in your opinions in terms of memory efficiency.
Browsing your code quickly, I see that you:
1. create a document.
2. read and stamp that document.
3. use PdfStamper to insert an extra page.

You could combine 1 and 2 by using a page event to add TEMPLATE to each page. I'm not sure why you need to insert that extra page in step 3, can't you start by adding it in page 1?


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb


_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to