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

ValueDescription
UNSPECIFIEDMeans that editor type is not specified.
ADMINISTRATORSSpecifies that users associated with the Administrators group shall be allowed to edit editable ranges using this editing type when document protection is enabled.
CONTRIBUTORSSpecifies that users associated with the Contributors group shall be allowed to edit editable ranges using this editing type when document protection is enabled.
CURRENTSpecifies that users associated with the Current group shall be allowed to edit editable ranges using this editing type when document protection is enabled.
EDITORSSpecifies that users associated with the Editors group shall be allowed to edit editable ranges using this editing type when document protection is enabled.
EVERYONESpecifies that all users that open the document shall be allowed to edit editable ranges using this editing type when document protection is enabled.
NONESpecifies 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.
OWNERSSpecifies that users associated with the Owners group shall be allowed to edit editable ranges using this editing type when document protection is enabled.
DEFAULTSame as UNSPECIFIED.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of EditorType values.

Methods

SignatureDescription
getName(editorType: int) → StringReturns JAVA_STYLE string representation of integer EditorType value.
toString(editorType: int) → StringReturns DotNetStyle string representation of integer EditorType value.
fromName(editorTypeName: String) → intReturns integer representation by EditorType name.
getValues() → int[]Returns array of EditorType values.

See Also