Copy link to clipboard
Copied
I would like to develop a plugin for Acrobat DC using Acrobat DC SDK (using C++ and JavaScript). One of the requirement is that the plugin need to be able to create
a WebBrowser control Window. Reviewing “Acrobat DC SDK Documentation”, I did not found any API ( JavaScript for Acrobat API Reference, Acrobat and PDF Library API Reference ) that I can use to create a WebBrowser control Window. Is there a way to achieve this?
Thank you
Copy link to clipboard
Copied
Plug-ins have reasonably full access to the platform APIs, provided they use threading in the right way. Tips: your main thread belongs to Acrobat, and you must not run anything that does not return promptly, as Acrobat will hang. Use threads for long running processes. Do NOT, absolutely not, use the Acrobat SDK from any other threads.
Copy link to clipboard
Copied
As TSN mentioned – just use platform APIs to create your WebBrowser window
Copy link to clipboard
Copied
For Windows platform, I only aware of .NET WebBrowser control, the plugin is C++ that implied call from C++ to managed C#. Do you have suggestion for C++ API for Windows platform and for MAC OS platform to create WebBrowser control?
Copy link to clipboard
Copied
You can instantiate a web browser instance on either platform using their native APIs – just consult the platform documentation.
OR you can use a 3rd party GUI library such as wxWidgets that includes a web control.
Copy link to clipboard
Copied
lrosenth and TSN, thank you very much for your suggestions. I will look into these.
Copy link to clipboard
Copied
Don't know, but Google suggests CHtmlView.