com.aspose.cells

Class ProtectionType

  • java.lang.Object
    • com.aspose.cells.ProtectionType
public class ProtectionType 
extends java.lang.Object

Utility class containing constants. Represents workbook/worksheet protection type.

Field Summary
staticfinal intALL
Represents to protect all.
staticfinal intCONTENTS
Represents to protect contents, used in Worksheet protection.
staticfinal intOBJECTS
Represents to protect objects, used in Worksheet protection.
staticfinal intSCENARIOS
Represents to protect scenarios, used in Worksheet protection.
staticfinal intSTRUCTURE
Represents to protect structure, used in Workbook protection.
staticfinal intWINDOWS
Represents to protect window, used in Workbook protection.
staticfinal intNONE
Represents no protection. Only for Reading property.
 

    • Field Detail

      • ALL

        public static final int ALL
        Represents to protect all.
      • CONTENTS

        public static final int CONTENTS
        Represents to protect contents, used in Worksheet protection.
      • OBJECTS

        public static final int OBJECTS
        Represents to protect objects, used in Worksheet protection.
      • SCENARIOS

        public static final int SCENARIOS
        Represents to protect scenarios, used in Worksheet protection.
      • STRUCTURE

        public static final int STRUCTURE
        Represents to protect structure, used in Workbook protection.
      • WINDOWS

        public static final int WINDOWS
        Represents to protect window, used in Workbook protection.
      • NONE

        public static final int NONE
        Represents no protection. Only for Reading property.