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

Modify on document load

Explorer ,
Apr 28, 2016 Apr 28, 2016

Is it possible to modify the standard on document load ?

I need to make a plugin that reads something from a file, every time when I open a pdf in the reader.

TOPICS
Acrobat SDK and JavaScript
508
Translate
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 , Apr 28, 2016 Apr 28, 2016

You don't override. There's a lot of callbacks. Probably something like PDDocDidOpen.

Translate
Adobe Employee ,
Apr 28, 2016 Apr 28, 2016

Sure, such a plugin can be written.

Translate
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 ,
Apr 28, 2016 Apr 28, 2016

How can I make the override for the standard load function ?

Translate
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 ,
Apr 28, 2016 Apr 28, 2016
LATEST

Bear in mind Acrobat may open other PDF files, some invusibly, for internal purposes. Your callback needs to check whether it should work.

Translate
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 ,
Apr 28, 2016 Apr 28, 2016

You don't override. There's a lot of callbacks. Probably something like PDDocDidOpen.

Translate
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