I want to know PDF-XChange Viewer Netscape Gecko Plugin is scriptable or not.
I have a requirement: user can export PDF's comments by javascript in browser and change Viewer's settings by javascript.
From the Mozilla developer center I have to know that to let the plugin scripting must implement the npruntime, Does FireFox plugin implement this API? If so which native methods can be used for javascript?
Does FireFox plugin support scripting?
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 4
- Joined: Wed Aug 25, 2010 3:42 pm
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Does FireFox plugin support scripting?
Hi, liupengf12.
The PDF-XChange Viewer Netscape Gecko Plugin is an end-user component only, so it doesn't implement any special API for external usage.
For developers you can use our PDF-XChange Viewer ActiveX SDK. You may create your own mozilla-plugin which can use our SDK-component.
The PDF-XChange Viewer Netscape Gecko Plugin is an end-user component only, so it doesn't implement any special API for external usage.
For developers you can use our PDF-XChange Viewer ActiveX SDK. You may create your own mozilla-plugin which can use our SDK-component.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 4
- Joined: Wed Aug 25, 2010 3:42 pm
Re: Does FireFox plugin support scripting?
Thanks for your help, I will try to build a plugin.
-
- User
- Posts: 4
- Joined: Wed Aug 25, 2010 3:42 pm
Re: Does FireFox plugin support scripting?
I get some useful information from the mozilla developer center: https://developer.mozilla.org/En/Compil ... ual_Studio, but I have no idea about how to use the PDF-XChange Viewer ActiveX control in the plugin, could you provide same sample codes for how to add the PDF-XChange Viewer ActiveX control into one Gecko plugin?
Thanks
Thanks

-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Does FireFox plugin support scripting?
You may use our ActiveX control (developed as standard MS ActiveX Control, see http://msdn.microsoft.com/en-us/library ... 85%29.aspx) from PDF-XChange Viewer ActiveX SDK. In your case you should implement your own form and place our ActiveX control onto this form (your form should support the standard ActiveX Hosting technology).
Please see our SDK samples - how to use our control in your app.
Please see our SDK samples - how to use our control in your app.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.