Detected Document Content Change

New Here ,
Jul 15, 2019 Jul 15, 2019

Copy link to clipboard

Copied

Hi,

Does anyone know if it's possible to check within an Adobe plug-in if the content of the selected document has changed? (e.g. Via Adobe Acrobat).

Essentially I want to be able to say:

-if document content changed, save using PDDocSaveWithParams (as it needs to save to a different folder etc..)

-else save using AVDocDoSave

*This is to get around an issue with using PDDocSaveWithParams  with protected/secured documents.

TOPICS
Acrobat SDK and JavaScript

Views

168

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

correct answers 1 Correct Answer

LEGEND , Jul 16, 2019 Jul 16, 2019
Each PDDoc has a “dirty” flag, set on changes, cleared on save, and there is a method to inspect it. A plugin can also clear the flag.

Likes

Translate

Translate
LEGEND ,
Jul 16, 2019 Jul 16, 2019

Copy link to clipboard

Copied

Each PDDoc has a “dirty” flag, set on changes, cleared on save, and there is a method to inspect it. A plugin can also clear the flag.

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
New Here ,
Jul 16, 2019 Jul 16, 2019

Copy link to clipboard

Copied

LATEST

That's great. Thank you.

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