public final class ProtectionType
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_ONLY_COMMENTS
User can only modify comments in the document.
|
static int |
ALLOW_ONLY_FORM_FIELDS
User can only enter data in the form fields in the document.
|
static int |
ALLOW_ONLY_REVISIONS
User can only add revision marks to the document.
|
static int |
length |
static int |
NO_PROTECTION
The document is not protected.
|
static int |
READ_ONLY
No changes are allowed to the document.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String protectionTypeName) |
static java.lang.String |
getName(int protectionType) |
static int[] |
getValues() |
static java.lang.String |
toString(int protectionType) |
public static final int ALLOW_ONLY_COMMENTS
public static final int ALLOW_ONLY_FORM_FIELDS
public static final int ALLOW_ONLY_REVISIONS
public static final int READ_ONLY
public static final int NO_PROTECTION
public static final int length