Hello, Is it possible to use the read ActiveXControl with own read plugins ?
So that I first modify the read with my own plugin and then use the ActiveXControl in my code to use the modified reader.
What do you want the plugin to be able to do? Docs in an external Windows still have AVDoc and PDDoc so many APIs are possible. Running plugin code may be the biggest challenge.
When I click on a text there, it must trigger te calling application to do someting for example.
That doesn’t sound easy but do you already have a way to do this in the Reader window directly? What is the text, a custom annotation?
When I click on a text (no annotation, just searchable text), I must do something in the calling application. (a software package from my company) So I want to embed the adobe reader, in my own software package and I need to do something when I click on a text in the embedded reader.
Have you worked out a way to process those clicks? This is what concerns me the most. The detail of sending this to your app is not major, perhaps just a PostMessage. Also, you need to make sure you do nothing in other cases (if the document is not opened by your app) so you need a way to detect this case.
I haven't worked out anything yet. I was just wondering if I could use the ActiveXControl or that I have to make a plugin for the reader only.
In the ActiveX control you are entirely under the control of Reader, so it's basically a Reader plug-in. There is a license to apply for, and if accepted, a fee. You will need to start your development with Acrobat Pro (no extra fee or license program).
We have a Acrobat DC pro license. How do you think I can solve this ?
It depends on the click issue to start with. You’ll need to start study of the plugin SDK. In communicating with your app consuder that the click is happening in Acrobat’s or Reader’s address space, not your app’s.
Yes I think so. I have to click on a word in a pdf file.
There isn’t a “word was clicked” callback but perhaps someone can suggest how you can receive general clicks. You’d then extract the location of each word of the page, and see if it coincided.
But this wordcallback is in the SDK, not the ActiveXControl, or do I miss something ?
Yes this is all in the C++ plugin. Nothing in the ActiveX Control API. But Acrobat is what displays the control.
So if I think correct, you say make a plugin with the sdk, and youse the activeXControl in the calling application to embed it there ? Or am I wrong ?
That sounds right. Has anyone here tried this?