public class SheetProtectionImpl extends Object implements SheetProtection, Serializable
| Constructor and Description |
|---|
SheetProtectionImpl(ModelRef<SSheet> sheetRef,
ModelRef<SSheetProtection> sspRef) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
SSheetProtection |
getNative() |
int |
hashCode() |
boolean |
isAutoFilterAllowed()
get whether cells can be filtered.
|
boolean |
isDeleteColumnsAllowed()
get whether columns can be deleted.
|
boolean |
isDeleteRowsAllowed()
get whether rows can be deleted.
|
boolean |
isFormatCellsAllowed()
get whether cells can be formatted.
|
boolean |
isFormatColumnsAllowed()
get whether columns can be formatted.
|
boolean |
isFormatRowsAllowed()
get whether rows can be formatted.
|
boolean |
isInsertColumnsAllowed()
get whether columns can be inserted.
|
boolean |
isInsertHyperlinksAllowed()
get whether hyperlinks can be inserted.
|
boolean |
isInsertRowsAllowed()
get whether rows can be inserted.
|
boolean |
isObjectsEditable()
get whether linked objects or embedded objects can be edited.
|
boolean |
isPivotTablesAllowed()
get whether PivotTable reports ccan be created or modified.
|
boolean |
isScenariosEditable()
get whether scenarios can be edited.
|
boolean |
isSelectLockedCellsAllowed()
get whether locked cells can be selected.
|
boolean |
isSelectUnlockedCellsAllowed()
get whether unlocked cells can be selected.
|
boolean |
isSortAllowed()
get whether cells can be sorted.
|
public SheetProtectionImpl(ModelRef<SSheet> sheetRef, ModelRef<SSheetProtection> sspRef)
public SSheetProtection getNative()
public boolean isObjectsEditable()
SheetProtectionisObjectsEditable in interface SheetProtectionpublic boolean isScenariosEditable()
SheetProtectionisScenariosEditable in interface SheetProtectionpublic boolean isFormatCellsAllowed()
SheetProtectionisFormatCellsAllowed in interface SheetProtectionpublic boolean isFormatColumnsAllowed()
SheetProtectionisFormatColumnsAllowed in interface SheetProtectionpublic boolean isFormatRowsAllowed()
SheetProtectionisFormatRowsAllowed in interface SheetProtectionpublic boolean isInsertColumnsAllowed()
SheetProtectionisInsertColumnsAllowed in interface SheetProtectionpublic boolean isInsertRowsAllowed()
SheetProtectionisInsertRowsAllowed in interface SheetProtectionpublic boolean isInsertHyperlinksAllowed()
SheetProtectionisInsertHyperlinksAllowed in interface SheetProtectionpublic boolean isDeleteColumnsAllowed()
SheetProtectionisDeleteColumnsAllowed in interface SheetProtectionpublic boolean isDeleteRowsAllowed()
SheetProtectionisDeleteRowsAllowed in interface SheetProtectionpublic boolean isSelectLockedCellsAllowed()
SheetProtectionisSelectLockedCellsAllowed in interface SheetProtectionpublic boolean isSortAllowed()
SheetProtectionisSortAllowed in interface SheetProtectionpublic boolean isAutoFilterAllowed()
SheetProtectionisAutoFilterAllowed in interface SheetProtectionpublic boolean isPivotTablesAllowed()
SheetProtectionisPivotTablesAllowed in interface SheetProtectionpublic boolean isSelectUnlockedCellsAllowed()
SheetProtectionisSelectUnlockedCellsAllowed in interface SheetProtectionCopyright © 2020. All rights reserved.