So I don't need to split out the form fields into their own document, I can 
just stamp copies of the original form and be fine?

-----Original Message-----
From: 1T3XT info [mailto:i...@1t3xt.info] 
Sent: Monday, August 24, 2009 11:44 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] stacks of identical forms

Giles, Bear wrote:
> I'm thinking of using using PdfSmartCopy to concatenate a number of 
> generated documents.  Each document would have a PdfImportedPage of the 
> same de-formed document as the underlayer and the populated form fields 
> as the regular layer.

OK.

> I guess the question is whether I can add the underlayer, populate the 
> form and then stamp it, or if I need to stamp the form before adding the 
> underlayer, or if there's an entirely different approach that's even 
> better.  I want to avoid having 10 copies of the de-formed document if I 
> can avoid it.

I'd go for the option:

Stamp the forms one by one, creating a PDF in memory for a brief period. 
Use PdfSmartCopy to concatenate them all. Normally PdfSmartCopy should 
detect that the form is identical and it should reuse the "template".

See http://1t3xt.be/?X084 for an example.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to