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

Explorer ,
Feb 02, 2022 Feb 02, 2022

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

TOPICS
Acrobat SDK and JavaScript

Views

144

Likes

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
Adobe Community Professional ,
Feb 02, 2022 Feb 02, 2022

Copy link to clipboard

Copied

Likes

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

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. 

Likes

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

Copy link to clipboard

Copied

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.

Likes

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

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.

Likes

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

Copy link to clipboard

Copied

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

Likes

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

Copy link to clipboard

Copied

Likes

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

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.

Likes

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

Copy link to clipboard

Copied

*not for the Adobe Acrobat plugins.

Likes

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

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.

Likes

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

Copy link to clipboard

Copied

LATEST

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.

 
 

Likes

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