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

plugin creation

Guest
Aug 07, 2017 Aug 07, 2017

Copy link to clipboard

Copied

Hi!

I am new to acrobat plugins.  I am having set of tools developed in acrobat java script like auto bookmarking.  I wanted to convert this into plugins using c++.  I dont know where to start and how to start.  Can any one help me on this?  How to create?  Which platform is required to create plugin?  How to create .api file?

Ariv

TOPICS
Acrobat SDK and JavaScript

Views

9.0K

Translate

Translate

Report

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
replies 152 Replies 152
LEGEND ,
Jul 04, 2019 Jul 04, 2019

Copy link to clipboard

Copied

With no integration key, the plugin will NOT get added to Reader. EVERYONE using the plug-in needs to pay for their OWN copy of Acrobat. EVERYONE. The developer and every user.

Yes, the SDK exists for only one purpose: to sell more copies of Acrobat.

Votes

Translate

Translate

Report

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
Community Beginner ,
Jul 04, 2019 Jul 04, 2019

Copy link to clipboard

Copied

ok i get it that integration key is required to add a plugin to reader...

but you said if we buy adobe then integration key will not be required...ryt??

so then how will the plugin get added to reader?

Votes

Translate

Translate

Report

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
Community Expert ,
Jul 04, 2019 Jul 04, 2019

Copy link to clipboard

Copied

You must enable the plugin for Reader. Then can the Reader use the plugin.

Votes

Translate

Translate

Report

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
Community Beginner ,
Jul 04, 2019 Jul 04, 2019

Copy link to clipboard

Copied

ok yea ofcouse Adobe Acrobat..then after buying it no integration key will be required.. then how will the plugin be added to adobe acrobat reader dc?

Votes

Translate

Translate

Report

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
Community Expert ,
Jul 04, 2019 Jul 04, 2019

Copy link to clipboard

Copied

Without the key you can't use the plugin in Reader!

When you buy Adobe Acrobat use the plugin in Adobe Acrobat.

Votes

Translate

Translate

Report

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
Community Beginner ,
Jul 04, 2019 Jul 04, 2019

Copy link to clipboard

Copied

so yu mean there is no difference if ultimately the plugin is added to either adobe acrobat reader or adobe acrobat???

Votes

Translate

Translate

Report

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
Community Expert ,
Jul 04, 2019 Jul 04, 2019

Copy link to clipboard

Copied

No, for the use in Reader you must enable the plugin with the key.

Votes

Translate

Translate

Report

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
Community Beginner ,
Jul 04, 2019 Jul 04, 2019

Copy link to clipboard

Copied

hey i have the license key for acrobat.

now when i placed the .api file created by building in visual studio in the adobe<acrobat dc<acrobat<plug-ins<DMSIntegration.api file and then opened adobe acrobat dc, this plugin is not showing there

Votes

Translate

Translate

Report

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
Community Expert ,
Jul 04, 2019 Jul 04, 2019

Copy link to clipboard

Copied

When a plugin does not show up, there are a number of potential reasons:

- the plugin (which is a DLL) cannot get loaded because one or more of it’s dependencies are not there (other DLLs that are loaded automatically). Figure out what your plugin depends on and make sure that all resources are available.

- something in the handshake process goes wrong. Set breakpoints in the handshake functions and see how far Acrobat gets in loading your plugin.

- the plugin is actually loaded, but something goes wrong when adding UI elements. again, use the breakpoint feature in your debugger.

Start with the most simplistic plugin in the SDK, it’s much easier to debug something smaller.

Votes

Translate

Translate

Report

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
Community Beginner ,
Jul 04, 2019 Jul 04, 2019

Copy link to clipboard

Copied

it is not .dll actually. the plugin i placed is .api

Votes

Translate

Translate

Report

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
Community Beginner ,
Jul 04, 2019 Jul 04, 2019

Copy link to clipboard

Copied

i am using visual studio 2017 version. do i need to use a higher or lower version than that?

Votes

Translate

Translate

Report

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
Community Expert ,
Jul 04, 2019 Jul 04, 2019

Copy link to clipboard

Copied

It is a DLL. Read the documentation! Just because it has a different file name does not mean that it’s not a DLL (that is as long as you are on Windows). The version of VS required is also in the documentation.

Votes

Translate

Translate

Report

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
Community Expert ,
Jul 04, 2019 Jul 04, 2019

Copy link to clipboard

Copied

Ensure that the Certified Plug-ins Only option is not selected in the Preferences of Adobe Acrobat.

Votes

Translate

Translate

Report

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
Community Beginner ,
Jul 05, 2019 Jul 05, 2019

Copy link to clipboard

Copied

hello... i have another question..

the acrobat sdk that i downloaded says that vs2013 has to be used.

but when i am building the plugin in the vs2013, i am getting an error saying that "build tools v141 has to be installed".

I installed them, restarted visual studio and built again.

This time i am getting error saying " v141 build tools do not support visual studio 2013", and that higher version of visual studio will have to be used like visual studio 2017

what should i do??

cz i am a beginner at developing plugins... and so i cannot change the visual studio version that is different from the one specified in the documentation of acrobat sdk

Votes

Translate

Translate

Report

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
Community Expert ,
Jul 05, 2019 Jul 05, 2019

Copy link to clipboard

Copied

For the Acrobat DC SDK use Microsoft Visual Studio 2010 Service Pack 1.

Votes

Translate

Translate

Report

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
Community Beginner ,
Jul 05, 2019 Jul 05, 2019

Copy link to clipboard

Copied

ok then i will uninstall vs2013 and install vs2010

Votes

Translate

Translate

Report

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
Community Beginner ,
Jul 05, 2019 Jul 05, 2019

Copy link to clipboard

Copied

and anyway how did you know which vs version is required for which SDK???

please share the link for it so i can read more about it.

Votes

Translate

Translate

Report

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
Community Expert ,
Jul 05, 2019 Jul 05, 2019

Copy link to clipboard

Copied

Look at the documentation of the Acrobat DC SDK:

Acrobat DC SDK Documentation

Votes

Translate

Translate

Report

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
Community Beginner ,
Jul 08, 2019 Jul 08, 2019

Copy link to clipboard

Copied

once i build a plugin in visual studio, only a couple of libraries and .api file gets generated.

but the output of the plugin does not appear on the console.

so,how can i see the output the output of the plugin from visual studio??

do the plugins require some kind of emulators to see their output in visual studio??

Votes

Translate

Translate

Report

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
Community Expert ,
Jul 08, 2019 Jul 08, 2019

Copy link to clipboard

Copied

You can debug the plugin:

Acrobat DC SDK Documentation

Votes

Translate

Translate

Report

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
Community Beginner ,
Jul 08, 2019 Jul 08, 2019

Copy link to clipboard

Copied

what did you mean by "plugins are not command line tools"??

Votes

Translate

Translate

Report

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
Community Expert ,
Jul 08, 2019 Jul 08, 2019

Copy link to clipboard

Copied

As explained before, a plugin is a DLL which gets loaded by Acrobat - and only Acrobat. So all the debugging needs to be done inside Acrobat.

Votes

Translate

Translate

Report

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
Community Beginner ,
Jul 08, 2019 Jul 08, 2019

Copy link to clipboard

Copied

i am not talking about debugging... i said building the plugin in visual studio and not debugging

Votes

Translate

Translate

Report

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
Community Expert ,
Jul 08, 2019 Jul 08, 2019

Copy link to clipboard

Copied

The plugin doesn't create a output in Visual Studio.

Votes

Translate

Translate

Report

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
Community Beginner ,
Jul 08, 2019 Jul 08, 2019

Copy link to clipboard

Copied

ok so suppose a normal java code written in eclipse IDE can be run there and we can see the output on the eclipse only..

similarly,when  plugins(which are written in c/c++ in visual studio) are run in visual studio, we should see the output there. but we don't.. why does that happen??

so, how can the output of a sample plugin be seen (to see what function does it perform)???

Votes

Translate

Translate

Report

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