Check out PdfCopyFields.
Note that PDF fields with the same name share a value. So if you're
anticipating name collisions, you might want to rename your fields...
which tends to have a detrimental effect on any script that might be
floating around in there.
--Mark Storer
Senior Software Engineer
Cardiff.com
#include <disclaimer>
typedef std::disclaimer<Cardiff> Discard;
________________________________
From: Hite . Gregory [mailto:[email protected]]
Sent: Thursday, March 11, 2010 3:20 PM
To: [email protected]
Subject: [iText-questions] Trying to add pages to existing document
withform fields
I have a template with form fields that I have read in, populated
various fields using PdfStamper, and then I want to add additional pages
to this document by importing pages from another template. I need to
serve up the final result without being flattened. I've tried closing
the PdfStamper and then using the code from the "concat" tutorial at
http://itextsharp.sourceforge.net/examples/Concat.cs to import
everything into yet a new file but it doesn't bring in the form fields
or their values from the document I have already stamped.
I know the PdfWriter class can't be used. I've taken a stab at using
various methods of the PdfStamper or PdfContentByte classes to
add/insert the imported page to the document but nothing I've tried so
far works.
What's the best way to do this - or is there a way?
Thanks so much for any help you can provide!
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.733 / Virus Database: 271.1.1/2732 - Release Date: 03/10/10
23:33:00
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
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/