Skip to main content
arnot10091322
Participating Frequently
March 5, 2018
Question

ActiveXcontrol with own plugins

  • March 5, 2018
  • 8 replies
  • 834 views

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.

This topic has been closed for replies.

8 replies

Legend
March 5, 2018

That sounds right.  Has anyone here tried this?

Legend
March 5, 2018

Yes this is all in the C++ plugin. Nothing in the ActiveX Control API. But Acrobat is what displays the control.

arnot10091322
Participating Frequently
March 5, 2018

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 ?

Legend
March 5, 2018

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.

arnot10091322
Participating Frequently
March 5, 2018

But this wordcallback is in the SDK, not the ActiveXControl, or do I miss something ?

Legend
March 5, 2018

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. 

arnot10091322
Participating Frequently
March 5, 2018

Yes I think so. I have to click on a word in a pdf file.

Legend
March 5, 2018

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).

arnot10091322
Participating Frequently
March 5, 2018

We have a Acrobat DC pro license. How do you think I can solve this ?

Legend
March 5, 2018

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.

arnot10091322
Participating Frequently
March 5, 2018

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.

Legend
March 5, 2018

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?

arnot10091322
Participating Frequently
March 5, 2018

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.

Legend
March 5, 2018

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.

arnot10091322
Participating Frequently
March 5, 2018

When I click on a text there, it must trigger te calling application to do someting for example.