com.aspose.words

Class EditorType

  • java.lang.Object
    • com.aspose.words.EditorType
public class EditorType 
extends java.lang.Object

Utility class containing constants. 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.

Field Summary
static final intUNSPECIFIED = 0
Means that editor type is not specified.
static final intADMINISTRATORS = 1
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 final intCONTRIBUTORS = 2
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 final intCURRENT = 3
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 final intEDITORS = 4
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 final intEVERYONE = 5
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 final intNONE = 6
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 final intOWNERS = 7
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 final intDEFAULT = 0
Same as UNSPECIFIED.
 

    • Field Detail

      • UNSPECIFIED = 0

        public static final int UNSPECIFIED
        Means that editor type is not specified.
      • ADMINISTRATORS = 1

        public static final 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.
      • CONTRIBUTORS = 2

        public static final 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.
      • CURRENT = 3

        public static final 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.
      • EDITORS = 4

        public static final 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.
      • EVERYONE = 5

        public static final 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.
      • NONE = 6

        public static final 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.
      • OWNERS = 7

        public static final 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.
      • DEFAULT = 0

        public static final int DEFAULT
        Same as UNSPECIFIED.