PermissionFlags
Namespace: Datalogics::PDFL
Values
- None = 0
The document has no security data.
- Open = 0x01
The user can open and decrypt the document.
- Secure = 0x02
The user can change the document's security settings.
- Print = 0x04
The user can print the document. Page Setup access is unaffected by this permission, since that affects PDF Viewer's preferences - not the document's. In the Document Security dialog, this corresponds to the Printing entry.
- Edit = 0x08
The user can edit the document more than adding or modifying text notes (see also EditNotes). In the Document Security dialog, this corresponds to the Changing the Document entry.
- Copy = 0x10
The user can copy information from the document to the clipboard. In the document restrictions, this corresponds to the Content Copying or Extraction entry.
- EditNotes = 0x20
The user can add, modify, and delete text notes (see also Edit). In the document restrictions, this corresponds to the Authoring Comments and Form Fields entry.
- SaveAs = 0x40
The user can perform a Save As.... If both Edit and EditNotes are disallowed, Save will be disabled but Save As... will be enabled. The Save As... menu item is not necessarily disabled even if the user is not permitted to perform a Save As....
- Ext = 0x80
Extended permission for document operations beyond the base set.
- FillandSign = 0x100
Overrides other Permissions bits. It allows the user to fill in or sign existing form or signature fields.
- Accessible = 0x200
Overrides Copy to enable the Accessibility API. If a document is saved in Rev2 format (Acrobat 4.0 compatible), only the Copy bit is checked to determine the Accessibility API state.
- DocAssembly = 0x400
Overrides various Edit bits and allows the following operations: page insert/delete/rotate and create bookmark and thumbnail.
- HighPrint = 0x800
This bit is a supplement to Print. If it is clear (disabled) only low quality printing (Print As Image) is allowed. On UNIX platforms where Print As Image doesn't exist, printing is disabled.
- Owner = 0x8000
The user is permitted to perform all operations, regardless of the permissions specified by the document. Unless this permission is set, the document's permissions will be reset to those in the document after a full save.
- FormSubmit = 0x10000
This should be set if the user can submit forms outside of the browser. This bit is a supplement to FillandSign.
- FormSpawnTempl = 0x20000
This should be set if the user can spawn template pages. This bit will allow page template spawning even if Edit and EditNotes are clear.
- All = -1
All permissions granted, combining all individual permission flags.
- Settable = 60
The OR of all operations that can be set by the user in the security restrictions (Print + Edit + Copy + EditNotes).
- User = -4
All permissions.