exportAsXFDF versus Reader 8 ?
I, I want to export data (XFDF) from an Acrobat forms when the user click on a button in this one in Reader.
I have set the rights to save the forms via Acrobat 8 professionnal and when I complete the forms in Reader and save it in PDF format, works like a charm.
I made a javascript action button to export data, here is the code :
this.exportAsXFDF ();
I always getting an exception of protected mode (security mode) that this fonction can't be executed. This is error code the foms throw : NotAllowedError: Doc.exportAsXFDF:1:Field Bouton2:Mouse Up
I tried to put some parameters but doesn't work.
I even tried to put the function into an trustedFunction, doesn't work, same error.
function myOtherTrustedFunction()
{
this.exportAsXFDF();
};
app.trustedFunction(myOtherTrustedFunction);
I tried to execute this action in both Reader and Acrobat and the result are the same.
I want to save data in XFDF, I don't want to send each time the PDF (bigger) over the network when I have just to send the data in an XML format.
Thank for your help
Leonard Rosenthol
PDF Standards Architect
Adobe Systems