Package io.keikai.model.impl
Class SheetProtectionImpl
java.lang.Object
io.keikai.model.impl.SheetProtectionImpl
- All Implemented Interfaces:
SSheetProtection,Serializable
- Author:
- henri
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanget whether cells can be filtered.booleanget whether columns can be deleted.booleanget whether rows can be deleted.booleanget whether cells can be formatted.booleanget whether columns can be formatted.booleanget whether rows can be formatted.booleanget whether columns can be inserted.booleanget whether hyperlinks can be inserted.booleanget whether rows can be inserted.booleanget whether linked objects or embedded objects can be edited.booleanget whether PivotTable reports ccan be created or modified.booleanget whether scenarios can be edited.booleanget whether locked cells can be selected.booleanget whether unlocked cells can be selected.booleanisSort()get whether cells can be sorted.voidsetAutoFilter(boolean flag) set whether cells can be filtered.voidsetDeleteColumns(boolean flag) set whether columns can be deleted.voidsetDeleteRows(boolean flag) set whether rows can be deleted.voidsetFormatCells(boolean flag) set whether cells can be formatted.voidsetFormatColumns(boolean flag) set whether columns can be formatted.voidsetFormatRows(boolean flag) set whether rows can be formatted.voidsetInsertColumns(boolean flag) set whether columns can be inserted.voidsetInsertHyperlinks(boolean flag) set whether hyperlinks can be inserted.voidsetInsertRows(boolean flag) set whether rows can be inserted.voidsetObjects(boolean flag) set whether linked objects or embedded objects can be edited.voidsetPivotTables(boolean flag) set whether PivotTable reports ccan be created or modified.voidsetScenarios(boolean flag) set whether scenarios can be edited.voidsetSelectLockedCells(boolean flag) set whether locked cells can be selected.voidsetSelectUnlockedCells(boolean flag) set whether unlocked cells can be selected.voidsetSort(boolean flag) set whether cells can be sorted.
-
Constructor Details
-
SheetProtectionImpl
protected SheetProtectionImpl()
-
-
Method Details
-
isObjects
public boolean isObjects()get whether linked objects or embedded objects can be edited.- Specified by:
isObjectsin interfaceSSheetProtection- Returns:
- whether linked objects or embedded objects can be edited.
-
isScenarios
public boolean isScenarios()get whether scenarios can be edited.- Specified by:
isScenariosin interfaceSSheetProtection
-
isFormatCells
public boolean isFormatCells()get whether cells can be formatted.- Specified by:
isFormatCellsin interfaceSSheetProtection
-
isFormatColumns
public boolean isFormatColumns()get whether columns can be formatted.- Specified by:
isFormatColumnsin interfaceSSheetProtection
-
isFormatRows
public boolean isFormatRows()get whether rows can be formatted.- Specified by:
isFormatRowsin interfaceSSheetProtection
-
isInsertColumns
public boolean isInsertColumns()get whether columns can be inserted.- Specified by:
isInsertColumnsin interfaceSSheetProtection
-
isInsertRows
public boolean isInsertRows()get whether rows can be inserted.- Specified by:
isInsertRowsin interfaceSSheetProtection
-
isInsertHyperlinks
public boolean isInsertHyperlinks()get whether hyperlinks can be inserted.- Specified by:
isInsertHyperlinksin interfaceSSheetProtection
-
isDeleteColumns
public boolean isDeleteColumns()get whether columns can be deleted.- Specified by:
isDeleteColumnsin interfaceSSheetProtection
-
isDeleteRows
public boolean isDeleteRows()get whether rows can be deleted.- Specified by:
isDeleteRowsin interfaceSSheetProtection
-
isSelectLockedCells
public boolean isSelectLockedCells()get whether locked cells can be selected.- Specified by:
isSelectLockedCellsin interfaceSSheetProtection
-
isSort
public boolean isSort()get whether cells can be sorted.- Specified by:
isSortin interfaceSSheetProtection
-
isAutoFilter
public boolean isAutoFilter()get whether cells can be filtered.- Specified by:
isAutoFilterin interfaceSSheetProtection
-
isPivotTables
public boolean isPivotTables()get whether PivotTable reports ccan be created or modified.- Specified by:
isPivotTablesin interfaceSSheetProtection
-
isSelectUnlockedCells
public boolean isSelectUnlockedCells()get whether unlocked cells can be selected.- Specified by:
isSelectUnlockedCellsin interfaceSSheetProtection
-
setObjects
public void setObjects(boolean flag) set whether linked objects or embedded objects can be edited.- Specified by:
setObjectsin interfaceSSheetProtection
-
setScenarios
public void setScenarios(boolean flag) set whether scenarios can be edited.- Specified by:
setScenariosin interfaceSSheetProtection
-
setFormatCells
public void setFormatCells(boolean flag) set whether cells can be formatted.- Specified by:
setFormatCellsin interfaceSSheetProtection
-
setFormatColumns
public void setFormatColumns(boolean flag) set whether columns can be formatted.- Specified by:
setFormatColumnsin interfaceSSheetProtection
-
setFormatRows
public void setFormatRows(boolean flag) set whether rows can be formatted.- Specified by:
setFormatRowsin interfaceSSheetProtection
-
setInsertColumns
public void setInsertColumns(boolean flag) set whether columns can be inserted.- Specified by:
setInsertColumnsin interfaceSSheetProtection
-
setInsertRows
public void setInsertRows(boolean flag) set whether rows can be inserted.- Specified by:
setInsertRowsin interfaceSSheetProtection
-
setInsertHyperlinks
public void setInsertHyperlinks(boolean flag) set whether hyperlinks can be inserted.- Specified by:
setInsertHyperlinksin interfaceSSheetProtection
-
setDeleteColumns
public void setDeleteColumns(boolean flag) set whether columns can be deleted.- Specified by:
setDeleteColumnsin interfaceSSheetProtection
-
setDeleteRows
public void setDeleteRows(boolean flag) set whether rows can be deleted.- Specified by:
setDeleteRowsin interfaceSSheetProtection
-
setSelectLockedCells
public void setSelectLockedCells(boolean flag) set whether locked cells can be selected.- Specified by:
setSelectLockedCellsin interfaceSSheetProtection
-
setSort
public void setSort(boolean flag) set whether cells can be sorted.- Specified by:
setSortin interfaceSSheetProtection
-
setAutoFilter
public void setAutoFilter(boolean flag) set whether cells can be filtered.- Specified by:
setAutoFilterin interfaceSSheetProtection
-
setPivotTables
public void setPivotTables(boolean flag) set whether PivotTable reports ccan be created or modified.- Specified by:
setPivotTablesin interfaceSSheetProtection
-
setSelectUnlockedCells
public void setSelectUnlockedCells(boolean flag) set whether unlocked cells can be selected.- Specified by:
setSelectUnlockedCellsin interfaceSSheetProtection
-