Hello,
you are NOT subscribed to the mailing-list, so this may be the only answer you'll receive. So please subscribe: https://lists.sourceforge.net/lists/listinfo/itext-questions
You may also want to read the rules for the list: http://lowagie.com/rule1
Do not reply to [email protected] as that would be in violation with rule #1.

Now for your question.
Please don't say "it doesn't work" when you don't know what you're doing.
See http://lowagie.com/node/410

Let me explain what you're doing wrong (note that I won't look at your code until you comply with the rules of the mailing-list):

On 29/10/2012 17:56, Vinod Jain wrote:
Hi,

I have created dynamic pdf template using Adobe Livecycle.

You're creating a form based on the XML Forms Architecture.
This form doesn't have an AcroForm counterpart.

I have written the java code to generate dynamic pdf.

You are filling out the form by injecting XML data.

I need to flatten the output pdf file but when i add stamper.setFormFlattening(true),

Er... setFormFlattening(true) is a method to be used to flatten AcroForm.
As documented, you shouldn't use it to convert XFA to plain PDF.
Did you read any of the documentation?

it show default message of upgrade.

Indeed. That's the content of the PDF that acts as the container for the XFA stream.

When i comment that line then it works fine by showing data into the fields.

As described in chapter 8 of the second edition of "iText in Action".


Attached is the java code. Please help me.

Post your filled out form to http://demo.itextsupport.com/xfademo/
and try out our demo. If it works (we add trial version), then you need XFA Worker.
------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
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