Skip to main content
Participant
October 25, 2016
Question

Content Editing

  • October 25, 2016
  • 1 reply
  • 474 views

Is there a way (method in Acrobat API) how to check that the current PDF document is PDF/A compliant and user already clicked "Enable Editing" button to allow modifications? In a custom plugin I need to enable/disable editing operations correctly.

Thanks

This topic has been closed for replies.

1 reply

lrosenth
Adobe Employee
Adobe Employee
October 26, 2016

The latest version of the Acrobat DC SDK should have some methods exposed for checking compliance with various standards.

However, determine the ability to edit (or not), you should simply be using a Perms check – since all the PDF/A handling is managed through that (to prevent 3rd party plugins from making changes when they should not)

Participant
October 26, 2016

Thanks for the answer.

If you mean PDPermReqOprModify I've already tried it but without success (returns 0 that operation is allowed on PDF/A document)

I need to support both Acrobat 11 and DC.

Legend
October 26, 2016

May be worth posting

1 the code you use to test this

2 full value of the permissions flags