import a xml file to Acrobat

this.importAnFDF("/c/1.fdf"); this javascript can import a fdf file to the acrobat file.Then how to import a xml file to the Acrobat file? I try it: this.importAnXML("/c/1.xml"); but it can't work. Please help me,thanks!


Yang Cheng


2 Answers

Voted Best Answer

You can't just invent commands and expect them to work... You need to look in the reference files and see what's available to you. The available (data) import functions are:

  • importAnFDF

  • importAnXFDF

  • importTextData

  • importXFAData

.


Visit my custom-made PDF scripts website: http://try67.blogspot.com

Contact me personally: try6767@gmail.com


By Gilad D (try67)   

The SDK documentation is here: http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/wwhelp/wwhimpl/js/html/wwhelp.htm?&accessible=true

Just click on the JavaScript link and you'll get access to the JavaScript API.

To do this with C#, you need to use the JSObject (see the Interapplication Communication documentation for more information).

Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...
http://www.khkonsulting.com


Karl Heinz Kremer   


Please specify a reason: