public interface IProtectionSettings
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(java.lang.String json)
Generate the ProtectionOptions from json string.
|
boolean |
getAllowDeletingColumns()
Gets whether the deletion of columns is allowed on a protected worksheet.
|
boolean |
getAllowDeletingRows()
Gets whether the deletion of rows is allowed on a protected worksheet.
|
boolean |
getAllowFiltering()
Gets whether the user is allowed to make use of an AutoFilter that was
created before the sheet was protected.
|
boolean |
getAllowFormattingCells()
Gets whether the formatting of cells is allowed on a protected worksheet.
|
boolean |
getAllowFormattingColumns()
Gets whether the formatting of columns is allowed on a protected worksheet.
|
boolean |
getAllowFormattingRows()
Gets whether the formatting of rows is allowed on a protected worksheet.
|
boolean |
getAllowInsertingColumns()
Gets whether the insertion of columns is allowed on a protected worksheet.
|
boolean |
getAllowInsertingHyperlinks()
Gets whether the insertion of hyperlinks is allowed on a protected worksheet.
|
boolean |
getAllowInsertingRows()
Gets whether the insertion of rows is allowed on a protected worksheet.
|
boolean |
getAllowSorting()
Gets whether the sorting option is allowed on a protected worksheet.
|
boolean |
getAllowUsingObjects()
Gets whether the user is allowed to use objects on a protected worksheet.
|
boolean |
getAllowUsingPivotTables()
Gets whether the user is allowed to use pivot tables on a protected
worksheet.
|
void |
setAllowDeletingColumns(boolean value)
Sets whether the deletion of columns is allowed on a protected worksheet.
|
void |
setAllowDeletingRows(boolean value)
Sets whether the deletion of rows is allowed on a protected worksheet.
|
void |
setAllowFiltering(boolean value)
Sets whether the user is allowed to make use of an AutoFilter that was
created before the sheet was protected.
|
void |
setAllowFormattingCells(boolean value)
Sets whether the formatting of cells is allowed on a protected worksheet.
|
void |
setAllowFormattingColumns(boolean value)
Sets whether the formatting of columns is allowed on a protected worksheet.
|
void |
setAllowFormattingRows(boolean value)
Sets whether the formatting of rows is allowed on a protected worksheet.
|
void |
setAllowInsertingColumns(boolean value)
Sets whether the insertion of columns is allowed on a protected worksheet.
|
void |
setAllowInsertingHyperlinks(boolean value)
Sets whether the insertion of hyperlinks is allowed on a protected worksheet.
|
void |
setAllowInsertingRows(boolean value)
Sets whether the insertion of rows is allowed on a protected worksheet.
|
void |
setAllowSorting(boolean value)
Sets whether the sorting option is allowed on a protected worksheet.
|
void |
setAllowUsingObjects(boolean value)
Sets whether the user is allowed to use objects on a protected worksheet.
|
void |
setAllowUsingPivotTables(boolean value)
Sets whether the user is allowed to use pivot tables on a protected
worksheet.
|
java.lang.String |
toJson()
Generate the string from the ProtectionOptions.
|
boolean getAllowDeletingColumns()
void setAllowDeletingColumns(boolean value)
boolean getAllowDeletingRows()
void setAllowDeletingRows(boolean value)
boolean getAllowFiltering()
void setAllowFiltering(boolean value)
boolean getAllowFormattingCells()
void setAllowFormattingCells(boolean value)
boolean getAllowFormattingColumns()
void setAllowFormattingColumns(boolean value)
boolean getAllowFormattingRows()
void setAllowFormattingRows(boolean value)
boolean getAllowInsertingColumns()
void setAllowInsertingColumns(boolean value)
boolean getAllowInsertingRows()
void setAllowInsertingRows(boolean value)
boolean getAllowInsertingHyperlinks()
void setAllowInsertingHyperlinks(boolean value)
boolean getAllowSorting()
void setAllowSorting(boolean value)
boolean getAllowUsingPivotTables()
void setAllowUsingPivotTables(boolean value)
boolean getAllowUsingObjects()
void setAllowUsingObjects(boolean value)
void fromJson(java.lang.String json)
json - java.lang.String toJson()