Module: Origami::Encryption::Standard::Permissions

Defined in:
lib/origami/encryption.rb

Overview

Permission constants for encrypted documents.

Constant Summary collapse

RESERVED =
1 << 6 | 1 << 7 | 0xFFFFF000
1 << 2 | RESERVED
MODIFY_CONTENTS =
1 << 3 | RESERVED
COPY_CONTENTS =
1 << 4 | RESERVED
MODIFY_ANNOTATIONS =
1 << 5 | RESERVED
FILLIN_FORMS =
1 << 8 | RESERVED
EXTRACT_CONTENTS =
1 << 9 | RESERVED
ASSEMBLE_DOC =
1 << 10 | RESERVED
HIGH_QUALITY_PRINT =
1 << 11 | RESERVED
ALL =
PRINT | MODIFY_CONTENTS | COPY_CONTENTS | MODIFY_ANNOTATIONS | FILLIN_FORMS | EXTRACT_CONTENTS | ASSEMBLE_DOC | HIGH_QUALITY_PRINT