EditorType
Overview
EditorType is an enum in Aspose.Words FOSS for Java.
Specifies the set of possible aliases (or editing groups) which can be used as aliases to determine if the current user shall be allowed to edit a single range defined by an editable range within a document.
Edition status of its 14 listed members (a property and its accessor methods are listed separately, overloads once): 14 not yet exercised by a verified example.
This enum declares 4 methods for EditorType objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
UNSPECIFIED | Means that editor type is not specified. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
DEFAULT | Same as UNSPECIFIED. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of EditorType values. |
Methods
| Signature | Description |
|---|---|
getName(editorType: int) → String | Returns JAVA_STYLE string representation of integer EditorType value. |
toString(editorType: int) → String | Returns DotNetStyle string representation of integer EditorType value. |
fromName(editorTypeName: String) → int | Returns integer representation by EditorType name. |
getValues() → int[] | Returns array of EditorType values. |