Skip to main content
Known Participant
Feb 3, 2022 4:33 AM UTC
Question

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

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

19 replies

Known Participant
Feb 9, 2022 11:01 AM UTC

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

Translate
Known Participant
Feb 9, 2022 11:02 AM UTC

*not for the Adobe Acrobat plugins.

Translate
Legend
Feb 3, 2022 9:13 AM UTC

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
Known Participant
Feb 3, 2022 9:20 AM UTC
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
Known Participant
Feb 3, 2022 9:37 AM UTC

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
Bernd Alheit
Community Expert
Community Expert
Feb 3, 2022 6:10 AM UTC