WorksheetProtectionType
Contents
[
Hide
]
Inheritance: java.lang.Object
public final class WorksheetProtectionType
Represents Spreadsheet worksheet (tab) protection types
Fields
Field | Description |
---|---|
None | Protection is not applied (default value) |
All | User cannot modify anything on the worksheet |
Contents | User cannot enter data in the worksheet |
Objects | User cannot modify drawing objects |
Scenarios | User cannot modify saved scenarios |
Structure | User cannot modify the structure |
Window | User cannot modify the window |
Methods
Method | Description |
---|---|
getAll() |
None
public static final int None
Protection is not applied (default value)
All
public static final int All
User cannot modify anything on the worksheet
Contents
public static final int Contents
User cannot enter data in the worksheet
Objects
public static final int Objects
User cannot modify drawing objects
Scenarios
public static final int Scenarios
User cannot modify saved scenarios
Structure
public static final int Structure
User cannot modify the structure
Window
public static final int Window
User cannot modify the window
getAll()
public static Map<Integer,String> getAll()
Returns: java.util.Map<java.lang.Integer,java.lang.String>