public class XSSFSheetProtection extends Object implements SheetProtection
| Modifier | Constructor and Description |
|---|---|
protected |
XSSFSheetProtection(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTSheetProtection protection) |
| 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.
|
protected XSSFSheetProtection(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTSheetProtection protection)
public boolean isAutoFilter()
isAutoFilter in interface SheetProtectionpublic boolean isDeleteColumns()
isDeleteColumns in interface SheetProtectionpublic boolean isDeleteRows()
isDeleteRows in interface SheetProtectionpublic boolean isFormatCells()
isFormatCells in interface SheetProtectionpublic boolean isFormatColumns()
isFormatColumns in interface SheetProtectionpublic boolean isFormatRows()
isFormatRows in interface SheetProtectionpublic boolean isInsertColumns()
isInsertColumns in interface SheetProtectionpublic boolean isInsertHyperlinks()
isInsertHyperlinks in interface SheetProtectionpublic boolean isInsertRows()
isInsertRows in interface SheetProtectionpublic boolean isPivotTables()
isPivotTables in interface SheetProtectionpublic boolean isSort()
isSort in interface SheetProtectionpublic boolean isObjects()
isObjects in interface SheetProtectionpublic boolean isScenarios()
isScenarios in interface SheetProtectionpublic boolean isSelectLockedCells()
isSelectLockedCells in interface SheetProtectionpublic boolean isSelectUnlockedCells()
isSelectUnlockedCells in interface SheetProtectionpublic void setAutoFilter(boolean flag)
#enableLocking()setAutoFilter in interface SheetProtectionpublic void setDeleteColumns(boolean flag)
#enableLocking()setDeleteColumns in interface SheetProtectionpublic void setDeleteRows(boolean flag)
#enableLocking()setDeleteRows in interface SheetProtectionpublic void setFormatCells(boolean flag)
#enableLocking()setFormatCells in interface SheetProtectionpublic void setFormatColumns(boolean flag)
#enableLocking()setFormatColumns in interface SheetProtectionpublic void setFormatRows(boolean flag)
#enableLocking()setFormatRows in interface SheetProtectionpublic void setInsertColumns(boolean flag)
#enableLocking()setInsertColumns in interface SheetProtectionpublic void setInsertHyperlinks(boolean flag)
#enableLocking()setInsertHyperlinks in interface SheetProtectionpublic void setInsertRows(boolean flag)
#enableLocking()setInsertRows in interface SheetProtectionpublic void setPivotTables(boolean flag)
#enableLocking()setPivotTables in interface SheetProtectionpublic void setSort(boolean flag)
#enableLocking()setSort in interface SheetProtectionpublic void setObjects(boolean flag)
#enableLocking()setObjects in interface SheetProtectionpublic void setScenarios(boolean flag)
#enableLocking()setScenarios in interface SheetProtectionpublic void setSelectLockedCells(boolean flag)
#enableLocking()setSelectLockedCells in interface SheetProtectionpublic void setSelectUnlockedCells(boolean flag)
#enableLocking()setSelectUnlockedCells in interface SheetProtectionCopyright © 2020. All rights reserved.