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

Are there any open source examples of a simple Adobe Acrobat plugins (C++)?

Explorer ,
Feb 02, 2022 Feb 02, 2022

I am looking for an open source, simple Adobe Acrobat plugin (C++). That'd be convenient to get started to learn the plugin framework. Preference if the plugin do some text analysis (e.g., spell checking or extract all words starting with a capital letter).

TOPICS
Acrobat SDK and JavaScript
2.8K
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
Community Expert ,
Feb 02, 2022 Feb 02, 2022
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 ,
Feb 03, 2022 Feb 03, 2022

You'll find samples to get started with the framework of a plugin, especially the callback-based structure. But it's a huge API, and the chances of finding samples to help you with towards any particular project is small. Instead, you need much study of the API documentation. Text extraction usually used the PDWordFinder APIs. There's no spell checking API so you'd extract the text first, a word at a time, and check. 

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
Explorer ,
Feb 03, 2022 Feb 03, 2022
quote

You'll find samples to get started with the framework of a plugin


By @Test Screen Name

 

Thanks, do you have a link to such a plugin just as an example? I can read the API doc but the basic plugin structure would be handy to have as a starting point.

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
Explorer ,
Feb 03, 2022 Feb 03, 2022

Oh I just saw the acrobatsdk_samplesguide.pdf (https://opensource.adobe.com/dc-acrobat-sdk-docs/acrobatsdk/pdfs/acrobatsdk_samplesguide.pdf), I guess you were alluding to it, which indeed contains some basic plug-ins.

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 ,
Feb 03, 2022 Feb 03, 2022

The Acrobat SDK download should include all documents, headers, and samples.

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
Community Beginner ,
Feb 09, 2022 Feb 09, 2022
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
Explorer ,
Feb 09, 2022 Feb 09, 2022

Thanks, these code samples are interesting but it's for the Adobe PDF Library (APDFL), but the Adobe Acrobat plugins.

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
Explorer ,
Feb 09, 2022 Feb 09, 2022

*not for the Adobe Acrobat plugins.

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
Community Beginner ,
Feb 09, 2022 Feb 09, 2022

Not exactly sure what you mean, but if you want to understand the basic plugin structure Developing Plugins and Applications is a place to start.

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
Explorer ,
Feb 09, 2022 Feb 09, 2022

Thanks, I meant to write: these code samples https://dev.datalogics.com/adobe-pdf-library/sample-program-descriptions/c1samples/ andd
https://github.com/datalogics/adobe-pdf-library-samples/tree/master/CPlusPlus/Sample_Source are interesting but it's for the Adobe PDF Library (APDFL), and not the Adobe Acrobat plugins. I'm indeed looking for examples of Adobe Acrobat plugins to see the basic plugin structure.

 
 
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 ,
Sep 15, 2025 Sep 15, 2025

I am also new to this, as far as my understanding goes the SDK used for developing plugins is the PDFL SDK. the C++ plugin samples are also provided under the same SDK in the Adobe documentation.

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 ,
Sep 15, 2025 Sep 15, 2025

Hi, were you able to find any samples that you could get into a working state?

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 ,
Sep 15, 2025 Sep 15, 2025

Go to https://www.datalogics.com/ and either ask the AI chatbot "Scout" or ask on the Datalogics Discord - we have people actively monitoring who are experts in this area.

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
Community Expert ,
Sep 15, 2025 Sep 15, 2025

Several examples are provided in the SDK, from a very basic (do nothing) plug-in, to complex examples including a sandbox broker.  The SDK also includes a VS Wizard for setting up a plug-in.  The SDK is free, just download it and look. 

 

https://opensource.adobe.com/dc-acrobat-sdk-docs/acrobatsdk/gettingstarted.html#downloads

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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 ,
Sep 15, 2025 Sep 15, 2025

this is helpful, but I am having severe confusion with the SDK's. Do we develop plugins using PDFL SDK or Acrobat SDK? Another issue is when I open the downloads I dont see an option to download the SDK it's just API downloads available. This is the link I am downloading from-
https://developer.adobe.com/console/3825217/servicesandapis
Please let me know where I went 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
Community Expert ,
Sep 16, 2025 Sep 16, 2025

Look at Downloads.

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 ,
Sep 16, 2025 Sep 16, 2025

The PDF Library supports plugins, and so does Acrobat.  If your plugin needs a user-interface component, you'll probably need an Acrobat plugin.  It's also good to separate the PDF format functionality from what happens in the user interface, doing all the PDF work in a PDF Library plugin, and callting that functionality from an Acrobat plugin.  In cases where you only need to support the processing, you can get away with only a PDF Library plugin.

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
Community Expert ,
Sep 16, 2025 Sep 16, 2025
LATEST

Plug-ins are develped with the Acrobat SDK. The PDFL SDK is for creating independent applications.  And services API is a REST.  

 

Click on this link,  EULA and choose your download link , (this is on the "Getting Started with the SDK page) and sign up as an Adobe Developer.  

Adobe is not the best at providing clear direction. Sometimes you have to read the text a few times, but it's all there. 

I provide consulting services and can help you thorugh the process of plug-in development. PM me though this forum if you are interested. 

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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 ,
Jul 12, 2023 Jul 12, 2023
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