You can't append an XFA form in the same way you append other documents.  You 
need to embed it as an attachment, most likely as part of a Collection.

Leonard

From: Rik Bardrof <[email protected]<mailto:[email protected]>>
Reply-To: Post here 
<[email protected]<mailto:[email protected]>>
Date: Tue, 16 Aug 2011 05:33:49 -0700
To: Post here 
<[email protected]<mailto:[email protected]>>
Subject: Re: [iText-questions] Adobe Forms Compatibility

As it turns out I was trying to flatten out an XFA form. I understand that 
iText allows filling out XFA fields, but that is not what my application does. 
We have documents attached to entities such as claims, a user can select 
multiple documents and print them as a whole.  We receive documents come from 
many sources and this is the first XFA documents we've had to deal with. I use 
iTextSharp to concatenate all of the documents together, documents can be in 
many formats; Microsoft Word, Excel, Tiff, and PFD. The way may code works is I 
create an iText Document and append selected documents to it, the code checks 
for pdf files that contain an AcroForm and trys to flatten these. As a work 
around I tried to skip flattening on XFA documents and add them directly to the 
iText Document, but this did not work also.

Is there any way that iTextSharp can add an XFA form to an iText Document?

Rik

On Tue, Aug 16, 2011 at 2:54 AM, 1T3XT BVBA 
<[email protected]<mailto:[email protected]>> wrote:
On 15/08/2011 19:27, Rik Bardrof wrote:
My question to the email list is; has anyone else experienced this and if so 
have you resolved it?

Are you by any chance trying to flatten an XFA form?
Are you aware of the difference between AcroForm and XFA technology?
What does your original PDF look like?
How are you trying to fill it out?

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev

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

iText(R) is a registered trademark of 1T3XT BVBA.
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

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
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