In Progress

Use Java/iText or alternative to create an exact copy of a XFA PDF

We took the [url removed, login to view] file from FinCEN Financial Crimes Enforcement Network and tried to re-create it with all of its extended features.

File [url removed, login to view] is attached.

The idea is that we will fill in the form by updating the XML, then create the new PDF file from that XML.

Because it is free, we used iText, and followed this book:

[url removed, login to view]

Our Java program, [url removed, login to view] is attached.

Starting on page 266 of his iText in Action book,

Bruno Lowagie explains that iText does not really support populating XFA forms.

This was my experience when I tried his code on page 264.

However, on page 269, he offers code for creating a PDF directly from the XML.

We implemented that code in our program PDFServlet.java.

The original PDF has features such as validation, sign with pin, and save and submit.

When opening the newly created PDF which is created by our code attached,

these features are gone and I get the following error:

"This document enabled extended features in Adobe Reader. The document has

been changed since it was created and use of extended features is no longer

available. Please contact the author for the original version of this document."

Our goal is to be able to read the [url removed, login to view] file (XFA format) into an XML file, write xml parsing code that will

insert data into the form fields, then create a new pdf file that still has all of the original [url removed, login to view] file's extended features.

However, if this cannot be done in Java, we need to know if there is alternative way of filling in the form, so that we

don't waste any more time with this approach.

Skills: Adobe LiveCycle Designer, Java, Software Architecture

See more: alternative itext, used write book, new features java, need get contact author, need new author read, an approach, need author write book, itext, bruno, alternative, filling form idea, java parsing, create sign form, save adobe pdf, java xml data pdf, form fields pdf, validation pdf forms, write java program read, java financial, java create pdf, contact form code java, java pdf form, write java file program, sign form validation, pdf java create

About the Employer:
( 1 review ) Fernley, United States

Project ID: #5387531

Awarded to:

rubypdf

this project can be done with iText 5.4.4, I did not tried the early version. I used some tricky to export the dynamic XFA to XML and import filled XFA to PDF and keep the created PDF has extended features. but I More

$277 USD in 5 days
(21 Reviews)
4.6

7 freelancers are bidding on average $345 for this job

dobreiiita

Hi, I am Java expert and can surely help you here with this project, Please communicate to discuss further. Thank you

$250 USD in 3 days
(235 Reviews)
6.8
ranganathp

Can help... I am an Expert... Please start a Discussion with me and we can get started from there... Please check the past projects I have handled and check my reviews for what employers have to say about my work... More

$800 USD in 21 days
(20 Reviews)
5.7
chinbochen

Hello, I'm a Java, J2EE application developer with over 10 years experience. I'm very happy to work for you. Contact me if you are interested. Thanks, Rick

$568 USD in 15 days
(16 Reviews)
5.2
amkad

I would suggest to use another Java-library. It can extract XML file from PDF and create XFA PDF by XML file.

$140 USD in 1 day
(6 Reviews)
3.8
Andrewtc

Hello I've worked with iText quite a bit over the years. I've used it for generating forms, reports, etc. I first used it replacing existing 300+ dynamic reports from Apache FOP because of memory issues. My main wor More

$177 USD in 5 days
(1 Review)
2.2
pinelg1029

Hello, I am a experienced java developer. I have a knowledge on java and iText, Servlet, etc. Thanks

$200 USD in 5 days
(1 Review)
0.1