public final class EditorType
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ADMINISTRATORS
Specifies that users associated with the Administrators group shall be allowed to edit editable ranges using this editing type when document protection is enabled.
|
static int |
CONTRIBUTORS
Specifies that users associated with the Contributors group shall be allowed to edit editable ranges using this editing type when document protection is enabled.
|
static int |
CURRENT
Specifies that users associated with the Current group shall be allowed to edit editable ranges using this editing type when document protection is enabled.
|
static int |
DEFAULT
Same as
UNSPECIFIED. |
static int |
EDITORS
Specifies that users associated with the Editors group shall be allowed to edit editable ranges using this editing type when document protection is enabled.
|
static int |
EVERYONE
Specifies that all users that open the document shall be allowed to edit editable ranges using this editing type when document protection is enabled.
|
static int |
length |
static int |
NONE
Specifies that none of the users that open the document shall be allowed to edit editable ranges using this editing type when document protection is enabled.
|
static int |
OWNERS
Specifies that users associated with the Owners group shall be allowed to edit editable ranges using this editing type when document protection is enabled.
|
static int |
UNSPECIFIED
Means that editor type is not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String editorTypeName) |
static java.lang.String |
getName(int editorType) |
static int[] |
getValues() |
static java.lang.String |
toString(int editorType) |
public static final int UNSPECIFIED
public static final int ADMINISTRATORS
public static final int CONTRIBUTORS
public static final int CURRENT
public static final int EDITORS
public static final int EVERYONE
public static final int NONE
public static final int OWNERS
public static final int DEFAULT
UNSPECIFIED.public static final int length