How to convert interactive PDF to a non-interactive PDF(Flattened Pdf)

1,900 views
Skip to first unread message

saurabh

unread,
Apr 3, 2012, 7:56:10 AM4/3/12
to Adobe LiveCycle Developers
Hi,

1. I create XFA Pdf form in LiveCycle Designer ES2 with dynamic
fields....
2. Save it (XFA form) as Pdf on local system.
3. When any User fill the form on local system, then it will not be
saved as a Flatten or Static PDF form.


Can u tell me how to save Flatten or static Pdf form after filling
Dynamic Form fields in Acrobat Reader/Acrobat Pro?

Nathan Brunaugh

unread,
Apr 3, 2012, 9:12:32 AM4/3/12
to live...@googlegroups.com
You can add a button that "Prints" the form to the Adobe PDF Printer.  The final "printed" version will be a flattened pdf.


--
You received this message because you are subscribed to the Google Groups "Adobe LiveCycle Developers" group.
To post to this group, send email to live...@googlegroups.com.
To unsubscribe from this group, send email to livecycle+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/livecycle?hl=en.


Jono Moore

unread,
Apr 3, 2012, 6:04:23 PM4/3/12
to live...@googlegroups.com
This JavaScript will loop through the document marking every field read-only. 

// Get the field containers from each page.
for (var i = 0; i < xfa.host.numPages; i++) {
var oFields = xfa.layout.pageContent(i, "field");
var nodesLength = oFields.length;
// Set the access type.
for (var j = 0; j < nodesLength; j++) {
var oItem = oFields.item(j);
oItem.access = "readOnly";
Reply all
Reply to author
Forward
0 new messages