Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable editing when the pdf disallows it #15049

Closed
calixteman opened this issue Jun 16, 2022 · 0 comments · Fixed by #15075
Closed

Disable editing when the pdf disallows it #15049

calixteman opened this issue Jun 16, 2022 · 0 comments · Fixed by #15075
Assignees
Labels

Comments

@calixteman
Copy link
Contributor

We could use:

getPermissions() {

and look at bit 4.

The following pdf:
https://orimi.com/pdf-test.pdf
is not editable in neither Acrobat nor Edge nor Foxit and nor Okular.

@calixteman calixteman changed the title Disable editing when the pdf disallow it Disable editing when the pdf disallows it Jun 16, 2022
@Snuffleupagus Snuffleupagus self-assigned this Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants