public enum PermissionFlags extends java.lang.Enum<PermissionFlags>
| Enum Constant and Description |
|---|
ACCESSIBLE
Overrides Copy to enable the Accessibility API.
|
ALL |
COPY
The user can copy information from the document to the clipboard.
|
DOC_ASSEMBLY
Overrides various Edit bits and allows the following operations: page insert/delete/rotate and create bookmark and thumbnail.
|
EDIT
The user can edit the document more than adding or modifying text notes (see also EditNotes).
|
EDIT_NOTES
The user can add, modify, and delete text notes (see also Edit).
|
EXT |
FILLAND_SIGN
Overrides other Permissions bits.
|
FORM_SPAWN_TEMPL
This should be set if the user can spawn template pages.
|
FORM_SUBMIT
This should be set if the user can submit forms outside of the browser.
|
HIGH_PRINT
This bit is a supplement to Print.
|
NONE
The document has no security data.
|
OPEN
The user can open and decrypt the document.
|
OWNER
The user is permitted to perform all operations, regardless of the permissions specified by the document.
|
PRINT
The user can print the document.
|
SAVE_AS
The user can perform a Save As....
|
SECURE
The user can change the document's security settings.
|
SETTABLE
The OR of all operations that can be set by the user in the security restrictions (Print + Edit + Copy + EditNotes).
|
USER
All permissions.
|
| Modifier and Type | Method and Description |
|---|---|
static PermissionFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PermissionFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionFlags NONE
public static final PermissionFlags OPEN
public static final PermissionFlags SECURE
public static final PermissionFlags PRINT
public static final PermissionFlags EDIT
public static final PermissionFlags COPY
public static final PermissionFlags EDIT_NOTES
public static final PermissionFlags SAVE_AS
public static final PermissionFlags EXT
public static final PermissionFlags FILLAND_SIGN
public static final PermissionFlags ACCESSIBLE
public static final PermissionFlags DOC_ASSEMBLY
public static final PermissionFlags HIGH_PRINT
public static final PermissionFlags OWNER
public static final PermissionFlags FORM_SUBMIT
public static final PermissionFlags FORM_SPAWN_TEMPL
public static final PermissionFlags ALL
public static final PermissionFlags SETTABLE
public static final PermissionFlags USER
public static PermissionFlags[] values()
for (PermissionFlags c : PermissionFlags.values()) System.out.println(c);
public static PermissionFlags valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null