public class HSSFSheetProtection extends java.lang.Object implements SheetProtection
Modifier and Type | Method and Description |
---|---|
boolean |
isAutoFilter() |
boolean |
isDeleteColumns() |
boolean |
isDeleteRows() |
boolean |
isFormatCells() |
boolean |
isFormatColumns() |
boolean |
isFormatRows() |
boolean |
isInsertColumns() |
boolean |
isInsertHyperlinks() |
boolean |
isInsertRows() |
boolean |
isObjects() |
boolean |
isPivotTables() |
boolean |
isScenarios() |
boolean |
isSelectLockedCells() |
boolean |
isSelectUnlockedCells() |
boolean |
isSort() |
void |
setAutoFilter(boolean flag)
Enable Autofilters locking.
|
void |
setDeleteColumns(boolean flag)
Enable Deleting columns locking.
|
void |
setDeleteRows(boolean flag)
Enable Deleting rows locking.
|
void |
setFormatCells(boolean flag)
Enable Formatting cells locking.
|
void |
setFormatColumns(boolean flag)
Enable Formatting columns locking.
|
void |
setFormatRows(boolean flag)
Enable Formatting rows locking.
|
void |
setInsertColumns(boolean flag)
Enable Inserting columns locking.
|
void |
setInsertHyperlinks(boolean flag)
Enable Inserting hyperlinks locking.
|
void |
setInsertRows(boolean flag)
Enable Inserting rows locking.
|
void |
setObjects(boolean flag)
Enable Objects locking.
|
void |
setPivotTables(boolean flag)
Enable Pivot Tables locking.
|
void |
setScenarios(boolean flag)
Enable Scenarios locking.
|
void |
setSelectLockedCells(boolean flag)
Enable Selection of locked cells locking.
|
void |
setSelectUnlockedCells(boolean flag)
Enable Selection of unlocked cells locking.
|
void |
setSort(boolean flag)
Enable Sort locking.
|
public boolean isAutoFilter()
isAutoFilter
in interface SheetProtection
public boolean isDeleteColumns()
isDeleteColumns
in interface SheetProtection
public boolean isDeleteRows()
isDeleteRows
in interface SheetProtection
public boolean isFormatCells()
isFormatCells
in interface SheetProtection
public boolean isFormatColumns()
isFormatColumns
in interface SheetProtection
public boolean isFormatRows()
isFormatRows
in interface SheetProtection
public boolean isInsertColumns()
isInsertColumns
in interface SheetProtection
public boolean isInsertHyperlinks()
isInsertHyperlinks
in interface SheetProtection
public boolean isInsertRows()
isInsertRows
in interface SheetProtection
public boolean isPivotTables()
isPivotTables
in interface SheetProtection
public boolean isSort()
isSort
in interface SheetProtection
public boolean isObjects()
isObjects
in interface SheetProtection
public boolean isScenarios()
isScenarios
in interface SheetProtection
public boolean isSelectLockedCells()
isSelectLockedCells
in interface SheetProtection
public boolean isSelectUnlockedCells()
isSelectUnlockedCells
in interface SheetProtection
public void setAutoFilter(boolean flag)
#enableLocking()
setAutoFilter
in interface SheetProtection
public void setDeleteColumns(boolean flag)
#enableLocking()
setDeleteColumns
in interface SheetProtection
public void setDeleteRows(boolean flag)
#enableLocking()
setDeleteRows
in interface SheetProtection
public void setFormatCells(boolean flag)
#enableLocking()
setFormatCells
in interface SheetProtection
public void setFormatColumns(boolean flag)
#enableLocking()
setFormatColumns
in interface SheetProtection
public void setFormatRows(boolean flag)
#enableLocking()
setFormatRows
in interface SheetProtection
public void setInsertColumns(boolean flag)
#enableLocking()
setInsertColumns
in interface SheetProtection
public void setInsertHyperlinks(boolean flag)
#enableLocking()
setInsertHyperlinks
in interface SheetProtection
public void setInsertRows(boolean flag)
#enableLocking()
setInsertRows
in interface SheetProtection
public void setPivotTables(boolean flag)
#enableLocking()
setPivotTables
in interface SheetProtection
public void setSort(boolean flag)
#enableLocking()
setSort
in interface SheetProtection
public void setObjects(boolean flag)
#enableLocking()
setObjects
in interface SheetProtection
public void setScenarios(boolean flag)
#enableLocking()
setScenarios
in interface SheetProtection
public void setSelectLockedCells(boolean flag)
#enableLocking()
setSelectLockedCells
in interface SheetProtection
public void setSelectUnlockedCells(boolean flag)
#enableLocking()
setSelectUnlockedCells
in interface SheetProtection
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.