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 SSheetProtection
public boolean isScenarios()
isScenarios
in interface SSheetProtection
public boolean isFormatCells()
isFormatCells
in interface SSheetProtection
public boolean isFormatColumns()
isFormatColumns
in interface SSheetProtection
public boolean isFormatRows()
isFormatRows
in interface SSheetProtection
public boolean isInsertColumns()
isInsertColumns
in interface SSheetProtection
public boolean isInsertRows()
isInsertRows
in interface SSheetProtection
public boolean isInsertHyperlinks()
isInsertHyperlinks
in interface SSheetProtection
public boolean isDeleteColumns()
isDeleteColumns
in interface SSheetProtection
public boolean isDeleteRows()
isDeleteRows
in interface SSheetProtection
public boolean isSelectLockedCells()
isSelectLockedCells
in interface SSheetProtection
public boolean isSort()
isSort
in interface SSheetProtection
public boolean isAutoFilter()
isAutoFilter
in interface SSheetProtection
public boolean isPivotTables()
isPivotTables
in interface SSheetProtection
public boolean isSelectUnlockedCells()
isSelectUnlockedCells
in interface SSheetProtection
public void setObjects(boolean flag)
setObjects
in interface SSheetProtection
public void setScenarios(boolean flag)
setScenarios
in interface SSheetProtection
public void setFormatCells(boolean flag)
setFormatCells
in interface SSheetProtection
public void setFormatColumns(boolean flag)
setFormatColumns
in interface SSheetProtection
public void setFormatRows(boolean flag)
setFormatRows
in interface SSheetProtection
public void setInsertColumns(boolean flag)
setInsertColumns
in interface SSheetProtection
public void setInsertRows(boolean flag)
setInsertRows
in interface SSheetProtection
public void setInsertHyperlinks(boolean flag)
setInsertHyperlinks
in interface SSheetProtection
public void setDeleteColumns(boolean flag)
setDeleteColumns
in interface SSheetProtection
public void setDeleteRows(boolean flag)
setDeleteRows
in interface SSheetProtection
public void setSelectLockedCells(boolean flag)
setSelectLockedCells
in interface SSheetProtection
public void setSort(boolean flag)
setSort
in interface SSheetProtection
public void setAutoFilter(boolean flag)
setAutoFilter
in interface SSheetProtection
public void setPivotTables(boolean flag)
setPivotTables
in interface SSheetProtection
public void setSelectUnlockedCells(boolean flag)
setSelectUnlockedCells
in interface SSheetProtection
Copyright © 2020. All rights reserved.