load dtat to pdf form from xml

This Forum is for the use of Clarion For Windows - Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics.

Moderators: Tracker Support, TrackerSupp-Daniel, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker - Clarion Support, John - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software, Support Staff, moderators

Post Reply
kashiash
User
Posts: 27
Joined: Thu Jan 08, 2009 6:24 pm

load dtat to pdf form from xml

Post by kashiash » Wed Nov 12, 2014 10:52 pm

In Adobe Acrobat Reader I can open PDF form and select import data, next export or import data from xml file to fill fields in my form. The same is possible in PDF viewer. But i can do it onl manually, batch importing is not avaiable.
Is possible to open PDF form and load data from xml file using PDFHchange SDK ? How ?

Thanks in advance

User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 1922
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: load dtat to pdf form from xml

Post by Vasyl-Tracker Dev Team » Thu Nov 13, 2014 12:52 am

Hi, kashiash.

It is possible by Viewer ActiveX Control, by executing JavaScript.
Look for JavaScript functions:
doc.importAnFDF()
doc.importAnXFDF()
doc.importAnFDF()
doc.exportAsFDF()
doc.exportAsFDFStr()
doc.exportAsXFDF()
doc.exportAsXFDFStr()
...

JS-Reference: http://www.adobe.com/content/dam/Adobe/ ... erence.pdf

The java-script can be executed by pdfViewer.RunJavaScript() function:
http://help.tracker-software.com/DEV/de ... javascript

HTH.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.

Post Reply

Return to “PDF-Tools SDK (DLL Libraries Only) - Clarion For Windows Developers Only Please”