Skip to content

PdfPermissions

Defined in: src/pdf/encryption.ts:12

The user-access permission flags (/P, §7.6.4.4.7); each defaults to allowed.

readonly optional annotating?: boolean

Defined in: src/pdf/encryption.ts:20

Bit 6 — add/modify annotations (default true).


readonly optional contentAccessibility?: boolean

Defined in: src/pdf/encryption.ts:24

Bit 10 — extraction for accessibility (default true; forced by PDF/UA).


readonly optional copying?: boolean

Defined in: src/pdf/encryption.ts:18

Bit 5 — copy text and graphics (default true).


readonly optional documentAssembly?: boolean

Defined in: src/pdf/encryption.ts:26

Bit 11 — assemble (insert/rotate/delete pages) (default true).


readonly optional fillingForms?: boolean

Defined in: src/pdf/encryption.ts:22

Bit 9 — fill in form fields (default true).


readonly optional modifying?: boolean

Defined in: src/pdf/encryption.ts:16

Bit 4 — modify contents (default true).


readonly optional printing?: boolean

Defined in: src/pdf/encryption.ts:14

Bit 3 — print the document (default true).