So do a form.removeXfa() after populating the fields?
Regards,
Aditya Gollakota
On Jun 8, 2011 9:33 PM, "Leonard Rosenthol" <lrose...@adobe.com> wrote:
> If you're flattening, be sure to throw away the XFA!
>
> -----Original Message-----
> From: 1T3XT BVBA [mailto:i...@1t3xt.info]
> Sent: Wednesday, June 08, 2011 1:48 AM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Livecycle generated PDF filled with iText
doesn't print form fields
>
> On 8/06/2011 7:42, Aditya Gollakota wrote:
>> Hi,
>>
>> When I create the PDF template from Livecycle, I choose to save it as
>> a static form, so when I use the method stamper.getAcroFields(), along
>> with form.getFields(), the key to the Map<String,Item> has a list of
>> the fields in the PDF template.
>> They look like
>> Header[0].ReceiptNumber[0]
>> Header[0].CustomerName[0]
> OK, then we've established that you do have AcroForm fields.
> You also throw away all interactivity, because you're using
setFormFlattening(true); What happens if you open the PDF that is filled out
in Adobe Reader?
> Does it look OK? Are the fields filled in?
>
>
------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image Editing
and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> 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
>
>
------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> 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
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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