Skip to main content
Known Participant
February 3, 2022
Question

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

  • February 3, 2022
  • 3 replies
  • 3347 views

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

3 replies

Known Participant
February 9, 2022

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

Known Participant
September 15, 2025

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.

 
 

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.

Legend
February 3, 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. 

Known Participant
February 3, 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.

Known Participant
February 3, 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.

Bernd Alheit
Community Expert
Community Expert
February 3, 2022