Skip to main content
Participant
Oct 25, 2016 6:06 PM UTC
Question

Content Editing

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 is closed to new replies. Start a new post to keep the conversation going.

4 replies

lrosenth
Adobe Employee
Adobe Employee
Oct 26, 2016 1:19 AM UTC

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)

Translate
Participant
Oct 26, 2016 11:45 AM UTC

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.

Translate
Legend
Oct 26, 2016 5:24 PM UTC

May be worth posting

1 the code you use to test this

2 full value of the permissions flags

Translate