PDF-XChange - Tracker PDF Viewer - TIFF-XChange - Image-XChange - XMF-XChange - Raster-XChange - Support

Moderators: TrackerSupp-Daniel, Tracker Support, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Paul - Tracker Supp, Ivan - Tracker Software, Sean - Tracker, Tracker Supp-Stefan

 
Mr_AQ
User
Topic Author
Posts: 4
Joined: Thu Jul 06, 2017 12:34 pm

Referene resource for JavaScript objects in PDF-XChange Viewer/Editor?

Thu Jul 06, 2017 1:07 pm

Hello! I have recently moved from Foxit to XChange Viewer due to its being light-weight and feature-rich, and the customization to its interface it has allowed me.
I am particularity interested in PDF JavaScript functionality that Viewer provides. Is there some reference manual available documenting the objects/methods available to user? Also, does Viewer/Editor uses Mozilla's JavaScript engine (SpiderMonkey or Rhino), or is it something else?
 
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 12679
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Referene resource for JavaScript objects in PDF-XChange Viewer/Editor?  SOLVED

Thu Jul 06, 2017 3:29 pm

Hello Mr_AQ,

Welcome to our forums and thanks for your enquiry.
Please note that the Viewer is no longer actively developed, and that it's JS support is inferior to what the Editor has to offer - so I would recommend you to install and use the Editor from here on, and all the below comments refer to the Editor as well:

You can use this file as a reference file:
JS API Reference
Apart from 3D content and objects - we should support pretty much anything else (or are in the process of adding support).

And yes internally we use the Mozilla JavaScript Engine (currently vJavaScript-C 17.0.4esrpre).

Cheers,
Stefan

Who is online

Users browsing this forum: No registered users and 2 guests