> Could you say something about your idea more clear? Or give > me some code > sample about that, because I am a fresher to iText, and the > task is very time- > critical. > Actually I do not get what you mean here. You mention that > flatten the > external form fields and then import the pre-plattened pages. > What the result > could be? Forms are still fillable? And where are those flatten forms?
You said you wanted to fill & flatten the fields, right? Oh. Wrong. I misread your original post. If you want the pages from the form to be maintained as is (same size, fillable fields), you have another option: Step 1: Generate all the PDF pages as you wish using PdfWriter, and save it. Step 2: Add the generated PDF and the form PDF into a PdfCopyFields. PdfCopyFields is much like PdfStamper in that it wraps a decendant of PdfWriter and simplifies a specific task... in this case, copying some or all pages from a document and maintaining its fields. You won't be able to change the size or orientation of the form pages. We use a similar process in LiquidOffice. --Mark Storer Senior Software Engineer Cardiff.com #include <disclaimer> typedef std::Disclaimer<Cardiff> DisCard; ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions