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()
SheetProtection
isObjectsEditable
in interface SheetProtection
public boolean isScenariosEditable()
SheetProtection
isScenariosEditable
in interface SheetProtection
public boolean isFormatCellsAllowed()
SheetProtection
isFormatCellsAllowed
in interface SheetProtection
public boolean isFormatColumnsAllowed()
SheetProtection
isFormatColumnsAllowed
in interface SheetProtection
public boolean isFormatRowsAllowed()
SheetProtection
isFormatRowsAllowed
in interface SheetProtection
public boolean isInsertColumnsAllowed()
SheetProtection
isInsertColumnsAllowed
in interface SheetProtection
public boolean isInsertRowsAllowed()
SheetProtection
isInsertRowsAllowed
in interface SheetProtection
public boolean isInsertHyperlinksAllowed()
SheetProtection
isInsertHyperlinksAllowed
in interface SheetProtection
public boolean isDeleteColumnsAllowed()
SheetProtection
isDeleteColumnsAllowed
in interface SheetProtection
public boolean isDeleteRowsAllowed()
SheetProtection
isDeleteRowsAllowed
in interface SheetProtection
public boolean isSelectLockedCellsAllowed()
SheetProtection
isSelectLockedCellsAllowed
in interface SheetProtection
public boolean isSortAllowed()
SheetProtection
isSortAllowed
in interface SheetProtection
public boolean isAutoFilterAllowed()
SheetProtection
isAutoFilterAllowed
in interface SheetProtection
public boolean isPivotTablesAllowed()
SheetProtection
isPivotTablesAllowed
in interface SheetProtection
public boolean isSelectUnlockedCellsAllowed()
SheetProtection
isSelectUnlockedCellsAllowed
in interface SheetProtection
Copyright © 2020. All rights reserved.