module HexaPDF:: Encryption:: StandardSecurityHandler:: Permissions
Defines all available permissions.
It is possible to use an array of permission symbols instead of an integer to describe the permission set. The used symbols are the lower case versions of the constants, i.e. the symbol for MODIFY_CONSTANT would be :modify_constant.
See: PDF1.7 s7.6.3.2
Constants
- ALL¶
Allows everything
- ASSEMBLE_DOCUMENT¶
Assembling of the document (inserting, rotating or deleting of pages and creation of bookmarks or thumbnail images)
- COPY_CONTENT¶
Copying of content
- EXTRACT_CONTENT¶
Extracting content
- FILL_IN_FORMS¶
Filling in form fields
- HIGH_QUALITY_PRINT¶
High quality printing
- MODIFY_ANNOTATION¶
Modifying annotations
- MODIFY_CONTENT¶
Modification of the content by operations that are different from those controller by
MODIFY_ANNOTATION
,FILL_IN_FORMS
andASSEMBLE_DOCUMENT
- PERMISSION_TO_SYMBOL¶
Maps a permission value to its symbol
- PRINT¶
Printing (if
HIGH_QUALITY_PRINT
is also set, then high quality printing is allowed)- RESERVED¶
Reserved permission bits
- SYMBOL_TO_PERMISSION¶
Maps permission symbols to their respective value