Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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)
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
May be worth posting
1 the code you use to test this
2 full value of the permissions flags
Copy link to clipboard
Copied
When I open a PDA/A document
PDDocPermRequest(pdDoc, PDPermReqObjDoc, PDPermReqOprModify, NULL)
returns 0. It means that the requested operation is allowed but it should not be.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now