Detected Document Content Change

New Here ,
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.

Most Valuable Participant
Correct answer by Test Screen Name | Most Valuable Participant

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.

TOPICS
Acrobat SDK and JavaScript

Views

157

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

Detected Document Content Change

New Here ,
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.

Most Valuable Participant
Correct answer by Test Screen Name | Most Valuable Participant

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.

TOPICS
Acrobat SDK and JavaScript

Views

158

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
Jul 15, 2019 0
Most Valuable Participant ,
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
Reply
Loading...
Jul 16, 2019 0
New Here ,
Jul 16, 2019

Copy link to clipboard

Copied

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
Reply
Loading...
Jul 16, 2019 0