• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

480

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.

Votes

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.

Votes

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.

Votes

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