Reputation: 81
We have a requirement to convert XFA Form (Adobe LiveCycle Form) to PDF/A-1B. We're attempting to use iText 5.4.0 to parse the PDF, populate the XFA fields and then save the modified PDF back out. All the examples I can find with iText talk about populating XFA fields into PDF. Can I convert an XFA form ( static / dynamic and generated using LiveCycle) to PDFA 1b directly? As need PDFA for sure and can’t live with plain PDFs. So as workaround we were thinking about converting the PDF to PDFA. Is that the right approach or we are missing something here.
Upvotes: 2
Views: 1796
Reputation: 1
I was also looking for the same problem and I reached an easy solution, you can try this out:
Saved PDF is flat PDF(Acroform) and can be edited easily
Upvotes: -1
Reputation: 11
You can also use Adobe LiveCycle Forms Server or PDF Generator for this purpose. It supports conversion of XFA-based forms (either static or dynamic) to either PDF/A-1b or PDF/A-1a.
Upvotes: 1
Reputation: 77606
Yes, you can convert XFA forms to PDF/A using iText in combination with XFA Worker. However, XFA Worker is a closed source product. So you need to be an iText customer if you want to achieve what you want.
Note that we've done exactly what you need in a project for the Ministry of Justice in Belgium. I've written the following blog post about this project: : http://lowagie.com/xfabpm
Disclaimer: I'm the CEO of the iText Software Group. This answer isn't meant to promote the product. It's a genuine answer to this question.
Upvotes: 0