Package org.apache.poi.hssf.record
Class EnhancedProtection
- java.lang.Object
-
- org.apache.poi.hssf.record.EnhancedProtection
-
public final class EnhancedProtection extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
serialize(LittleEndianOutput out)
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.String
toString()
-
-
-
Method Detail
-
isObjects
public boolean isObjects()
get whether linked objects or embedded objects can be edited.- Returns:
- whether linked objects or embedded objects can be edited.
-
isScenarios
public boolean isScenarios()
get whether scenarios can be edited.
-
isFormatCells
public boolean isFormatCells()
get whether cells can be formatted.
-
isFormatColumns
public boolean isFormatColumns()
get whether columns can be formatted.
-
isFormatRows
public boolean isFormatRows()
get whether rows can be formatted.
-
isInsertColumns
public boolean isInsertColumns()
get whether columns can be inserted.
-
isInsertRows
public boolean isInsertRows()
get whether rows can be inserted.
-
isInsertHyperlinks
public boolean isInsertHyperlinks()
get whether hyperlinks can be inserted.
-
isDeleteColumns
public boolean isDeleteColumns()
get whether columns can be deleted.
-
isDeleteRows
public boolean isDeleteRows()
get whether rows can be deleted.
-
isSelectLockedCells
public boolean isSelectLockedCells()
get whether locked cells can be selected.
-
isSort
public boolean isSort()
get whether cells can be sorted.
-
isAutoFilter
public boolean isAutoFilter()
get whether cells can be filtered.
-
isPivotTables
public boolean isPivotTables()
get whether PivotTable reports ccan be created or modified.
-
isSelectUnlockedCells
public boolean isSelectUnlockedCells()
get whether unlocked cells can be selected.
-
setObjects
public void setObjects(boolean flag)
set whether linked objects or embedded objects can be edited.
-
setScenarios
public void setScenarios(boolean flag)
set whether scenarios can be edited.
-
setFormatCells
public void setFormatCells(boolean flag)
set whether cells can be formatted.
-
setFormatColumns
public void setFormatColumns(boolean flag)
set whether columns can be formatted.
-
setFormatRows
public void setFormatRows(boolean flag)
set whether rows can be formatted.
-
setInsertColumns
public void setInsertColumns(boolean flag)
set whether columns can be inserted.
-
setInsertRows
public void setInsertRows(boolean flag)
set whether rows can be inserted.
-
setInsertHyperlinks
public void setInsertHyperlinks(boolean flag)
set whether hyperlinks can be inserted.
-
setDeleteColumns
public void setDeleteColumns(boolean flag)
set whether columns can be deleted.
-
setDeleteRows
public void setDeleteRows(boolean flag)
set whether rows can be deleted.
-
setSelectLockedCells
public void setSelectLockedCells(boolean flag)
set whether locked cells can be selected.
-
setSort
public void setSort(boolean flag)
set whether cells can be sorted.
-
setAutoFilter
public void setAutoFilter(boolean flag)
set whether cells can be filtered.
-
setPivotTables
public void setPivotTables(boolean flag)
set whether PivotTable reports ccan be created or modified.
-
setSelectUnlockedCells
public void setSelectUnlockedCells(boolean flag)
set whether unlocked cells can be selected.
-
serialize
public void serialize(LittleEndianOutput out)
-
-