On 1/07/2011 20:06, misha79 wrote:
> Now we using dynamicPDF api for java to render both acroforms and xfa forms
> but its messing up rendering.

Define "rendering". iText doesn't "render" PDFs to a viewer.
iText can create and manipulate PDF documents.
For instance: iText can fill out forms resulting a new PDF.

- iText has full support for AcroForms.
- iText has partial support for XFA forms

XFA:

* dynamic XFA: iText can fill out these forms, but can't flatten them.

* static XFA:

[A] static XFA with an AcroForm counterpart: different strategies can be 
used:

1. fill out "as if" the form is an AcroForm. In this case, iText will 
update the AcroForm and the XFA.
=> this works in most cases, the book (deliberately) shows a case where 
it doesn't work.
2. fill out the AcroForm and replace the XFA stream.
=> solves problems that can be encountered in 1., but isn't a 
programmer-friendly solution.
3. throw away the XFA and fill out the AcroForm: this is the safest way 
to fill out such a form.
=> note that not all functionality available in XFA is available in 
AcroForms, so you may lose formatting.

[B] static XFA without an AcroForm: iText can fill out these forms, but 
can't flatten them.

If you want to know which forms you have, please read chapter 8 of 
"iText in Action - Second Edition".

Note that pure XFA forms can't be flattened with iText (nor with any 
other non-Adobe software we know of).
Whenever you see examples of static XFA forms being flattened, it's in 
reality the AcroForm counter-part that is used.

We are working on a project to develop pure XFA flattening; there's no 
ETA for that project.
As 1T3XT is currently the only company sponsoring the R&D, it will 
probably be a closed source product.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
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

Reply via email to