Copy link to clipboard
Copied
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).
Copy link to clipboard
Copied
Samples of plugins are part of the Acrobat SDK.
https://opensource.adobe.com/dc-acrobat-sdk-docs/acrobatsdk/gettingstarted.html#downloads
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
The Acrobat SDK download should include all documents, headers, and samples.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thanks, these code samples are interesting but it's for the Adobe PDF Library (APDFL), but the Adobe Acrobat plugins.
Copy link to clipboard
Copied
*not for the Adobe Acrobat plugins.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Link above has moved to - https://github.com/datalogics/apdfl-cplusplus-samples/tree/develop