public class SheetProtectionImpl extends Object implements SSheetProtection, Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
SheetProtectionImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAutoFilter()
get whether cells can be filtered.
|
boolean |
isDeleteColumns()
get whether columns can be deleted.
|
boolean |
isDeleteRows()
get whether rows can be deleted.
|
boolean |
isFormatCells()
get whether cells can be formatted.
|
boolean |
isFormatColumns()
get whether columns can be formatted.
|
boolean |
isFormatRows()
get whether rows can be formatted.
|
boolean |
isInsertColumns()
get whether columns can be inserted.
|
boolean |
isInsertHyperlinks()
get whether hyperlinks can be inserted.
|
boolean |
isInsertRows()
get whether rows can be inserted.
|
boolean |
isObjects()
get whether linked objects or embedded objects can be edited.
|
boolean |
isPivotTables()
get whether PivotTable reports ccan be created or modified.
|
boolean |
isScenarios()
get whether scenarios can be edited.
|
boolean |
isSelectLockedCells()
get whether locked cells can be selected.
|
boolean |
isSelectUnlockedCells()
get whether unlocked cells can be selected.
|
boolean |
isSort()
get whether cells can be sorted.
|
void |
setAutoFilter(boolean flag)
set whether cells can be filtered.
|
void |
setDeleteColumns(boolean flag)
set whether columns can be deleted.
|
void |
setDeleteRows(boolean flag)
set whether rows can be deleted.
|
void |
setFormatCells(boolean flag)
set whether cells can be formatted.
|
void |
setFormatColumns(boolean flag)
set whether columns can be formatted.
|
void |
setFormatRows(boolean flag)
set whether rows can be formatted.
|
void |
setInsertColumns(boolean flag)
set whether columns can be inserted.
|
void |
setInsertHyperlinks(boolean flag)
set whether hyperlinks can be inserted.
|
void |
setInsertRows(boolean flag)
set whether rows can be inserted.
|
void |
setObjects(boolean flag)
set whether linked objects or embedded objects can be edited.
|
void |
setPivotTables(boolean flag)
set whether PivotTable reports ccan be created or modified.
|
void |
setScenarios(boolean flag)
set whether scenarios can be edited.
|
void |
setSelectLockedCells(boolean flag)
set whether locked cells can be selected.
|
void |
setSelectUnlockedCells(boolean flag)
set whether unlocked cells can be selected.
|
void |
setSort(boolean flag)
set whether cells can be sorted.
|
public boolean isObjects()
isObjects in interface SSheetProtectionpublic boolean isScenarios()
isScenarios in interface SSheetProtectionpublic boolean isFormatCells()
isFormatCells in interface SSheetProtectionpublic boolean isFormatColumns()
isFormatColumns in interface SSheetProtectionpublic boolean isFormatRows()
isFormatRows in interface SSheetProtectionpublic boolean isInsertColumns()
isInsertColumns in interface SSheetProtectionpublic boolean isInsertRows()
isInsertRows in interface SSheetProtectionpublic boolean isInsertHyperlinks()
isInsertHyperlinks in interface SSheetProtectionpublic boolean isDeleteColumns()
isDeleteColumns in interface SSheetProtectionpublic boolean isDeleteRows()
isDeleteRows in interface SSheetProtectionpublic boolean isSelectLockedCells()
isSelectLockedCells in interface SSheetProtectionpublic boolean isSort()
isSort in interface SSheetProtectionpublic boolean isAutoFilter()
isAutoFilter in interface SSheetProtectionpublic boolean isPivotTables()
isPivotTables in interface SSheetProtectionpublic boolean isSelectUnlockedCells()
isSelectUnlockedCells in interface SSheetProtectionpublic void setObjects(boolean flag)
setObjects in interface SSheetProtectionpublic void setScenarios(boolean flag)
setScenarios in interface SSheetProtectionpublic void setFormatCells(boolean flag)
setFormatCells in interface SSheetProtectionpublic void setFormatColumns(boolean flag)
setFormatColumns in interface SSheetProtectionpublic void setFormatRows(boolean flag)
setFormatRows in interface SSheetProtectionpublic void setInsertColumns(boolean flag)
setInsertColumns in interface SSheetProtectionpublic void setInsertRows(boolean flag)
setInsertRows in interface SSheetProtectionpublic void setInsertHyperlinks(boolean flag)
setInsertHyperlinks in interface SSheetProtectionpublic void setDeleteColumns(boolean flag)
setDeleteColumns in interface SSheetProtectionpublic void setDeleteRows(boolean flag)
setDeleteRows in interface SSheetProtectionpublic void setSelectLockedCells(boolean flag)
setSelectLockedCells in interface SSheetProtectionpublic void setSort(boolean flag)
setSort in interface SSheetProtectionpublic void setAutoFilter(boolean flag)
setAutoFilter in interface SSheetProtectionpublic void setPivotTables(boolean flag)
setPivotTables in interface SSheetProtectionpublic void setSelectUnlockedCells(boolean flag)
setSelectUnlockedCells in interface SSheetProtectionCopyright © 2020. All rights reserved.