Highlighted

Convert XFA Form to AcroForm?

New Here ,
Jul 01, 2008

Copy link to clipboard

Copied

Greetings (I'm desperately seeking an answer to this, but I'll try to keep the rhetoric toned down!):

Is there a way for Acrobat Pro (I'm current at 8.1.2) to convert a (static) XFA Form into the old AcroForm format? I have a large static XFA form (created in LiveCycle Designer), but the Java API that I'm using to pre-populate some values currently works only with the AcroForm format.

FYI, there are two "informal workarounds" to be found on the net, but I can't get either of these to work in Acrobat Pro 8:

o From Carl Young: "Create PDF -> From Web Page"; select the XFA form instead of a web page; Acrobats web page conversion tool would turn the XML inside the Designer form to a regular PDF. Only works in Acrobat 7.

o From Ted Padova: "Document->Extract Pages" (static XFA only). This option is always grayed-out on any static XFA form I create.

So unless there are other suggestions out there, would you say that my best option for an immediate solution is to track down a copy of Acrobat 7 and use that? I've tried creating an AcroForm manually with Acrobat Pro's "Tools->Forms->Text Field Tool"/etc, but it's very, very difficult to replicate all the form field config and layout we did in LiveCycle. Having to do that might force us to abandon PDF forms altogether.

Thanks very much for any suggestions!

Regards,
-Peter Demling
Lexington, MA

A PDF without form fields – which is what you have when you “print to PDF” is NOT an AcroForm!! An AcroForm uses live/interactive form fields as defined in ISO 32000-1:2008.

Second, this process is EXTREMELY LOSSY! Not only to the form itself – losing all business rules, etc – but to the PDF, since Chrome’s PDF creation engine doesn’t support all the possible features of a PDF (or XFA-based PDF).

TOPICS
Acrobat SDK and JavaScript

Views

28.6K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Convert XFA Form to AcroForm?

New Here ,
Jul 01, 2008

Copy link to clipboard

Copied

Greetings (I'm desperately seeking an answer to this, but I'll try to keep the rhetoric toned down!):

Is there a way for Acrobat Pro (I'm current at 8.1.2) to convert a (static) XFA Form into the old AcroForm format? I have a large static XFA form (created in LiveCycle Designer), but the Java API that I'm using to pre-populate some values currently works only with the AcroForm format.

FYI, there are two "informal workarounds" to be found on the net, but I can't get either of these to work in Acrobat Pro 8:

o From Carl Young: "Create PDF -> From Web Page"; select the XFA form instead of a web page; Acrobats web page conversion tool would turn the XML inside the Designer form to a regular PDF. Only works in Acrobat 7.

o From Ted Padova: "Document->Extract Pages" (static XFA only). This option is always grayed-out on any static XFA form I create.

So unless there are other suggestions out there, would you say that my best option for an immediate solution is to track down a copy of Acrobat 7 and use that? I've tried creating an AcroForm manually with Acrobat Pro's "Tools->Forms->Text Field Tool"/etc, but it's very, very difficult to replicate all the form field config and layout we did in LiveCycle. Having to do that might force us to abandon PDF forms altogether.

Thanks very much for any suggestions!

Regards,
-Peter Demling
Lexington, MA

A PDF without form fields – which is what you have when you “print to PDF” is NOT an AcroForm!! An AcroForm uses live/interactive form fields as defined in ISO 32000-1:2008.

Second, this process is EXTREMELY LOSSY! Not only to the form itself – losing all business rules, etc – but to the PDF, since Chrome’s PDF creation engine doesn’t support all the possible features of a PDF (or XFA-based PDF).

TOPICS
Acrobat SDK and JavaScript

Views

28.6K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 01, 2008 0
Explorer ,
Jul 01, 2008

Copy link to clipboard

Copied

There is nothing in the Acrobat UI that will enable this operation.

However, you can use various programming libraries (including the one that you are already using on this project) to simply remove the XFA from the PDF leaving the rest of the document intact.

Leonard

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 01, 2008 0
Explorer ,
Jul 01, 2008

Copy link to clipboard

Copied

Acrobat 9 has conversion to Acroform functionality, it might help.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 01, 2008 0
Explorer ,
Jul 02, 2008

Copy link to clipboard

Copied

I'd be curious to know where you believe Acrobat 9 has XFA->AcroForm conversion functions built into the UI of the product...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 02, 2008 0
New Here ,
Jul 07, 2008

Copy link to clipboard

Copied

There is another way but it's a manual process and it's a HACK. Using this process will basically kill any XFA or JS functionality that was in the form previously. So proceed at your own risk...

Use a tool that can view and edit the internals of a "static" LiveCycle PDF form (i.e. Windjack's PDFCanOpener).
Delete the XFA dictionary
Do a SaveAs to a new form name.
Close the form
Re-open the form and then you should be able to edit the form with the Acroform tools.

Note: This WILL NOT work with dynamic forms.

Sabian

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 07, 2008 0
Explorer ,
Jul 07, 2008

Copy link to clipboard

Copied

"Forms - "Start Form Wizard" - "A Paper Form"

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 07, 2008 0