Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ActiveXcontrol with own plugins

New Here ,
Mar 05, 2018 Mar 05, 2018

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.

TOPICS
Acrobat SDK and JavaScript
777
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 05, 2018 Mar 05, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 05, 2018 Mar 05, 2018

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 05, 2018 Mar 05, 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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 05, 2018 Mar 05, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 05, 2018 Mar 05, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 05, 2018 Mar 05, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 05, 2018 Mar 05, 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).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 05, 2018 Mar 05, 2018

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 05, 2018 Mar 05, 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. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 05, 2018 Mar 05, 2018

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 05, 2018 Mar 05, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 05, 2018 Mar 05, 2018

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 05, 2018 Mar 05, 2018

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 05, 2018 Mar 05, 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 ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 05, 2018 Mar 05, 2018
LATEST

That sounds right.  Has anyone here tried this?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines