Package io.keikai.axyra.sheets
Class SheetProtection.Builder
java.lang.Object
io.keikai.axyra.sheets.SheetProtection.Builder
- Enclosing class:
- SheetProtection
Builder for
SheetProtection; every setter takes true = allowed.-
Method Summary
Modifier and TypeMethodDescriptionautoFilter(boolean allowed) Allows using AutoFilter (defaultfalse).build()Builds the immutableSheetProtection.deleteColumns(boolean allowed) Allows deleting columns (defaultfalse).deleteRows(boolean allowed) Allows deleting rows (defaultfalse).formatCells(boolean allowed) Allows formatting cells (defaultfalse).formatColumns(boolean allowed) Allows changing column width and format (defaultfalse).formatRows(boolean allowed) Allows changing row height and format (defaultfalse).insertColumns(boolean allowed) Allows inserting columns (defaultfalse).insertHyperlinks(boolean allowed) Allows inserting hyperlinks (defaultfalse).insertRows(boolean allowed) Allows inserting rows (defaultfalse).objects(boolean allowed) Allows editing objects such as shapes and charts (defaultfalse).pivotTables(boolean allowed) Allows using PivotTables (defaultfalse).scenarios(boolean allowed) Allows editing what-if scenarios (defaultfalse).selectLockedCells(boolean allowed) Allows selecting locked cells (defaulttrue).selectUnlockedCells(boolean allowed) Allows selecting unlocked cells (defaulttrue).sort(boolean allowed) Allows sorting (defaultfalse).
-
Method Details
-
selectLockedCells
Allows selecting locked cells (defaulttrue). -
selectUnlockedCells
Allows selecting unlocked cells (defaulttrue). -
formatCells
Allows formatting cells (defaultfalse). -
formatColumns
Allows changing column width and format (defaultfalse). -
formatRows
Allows changing row height and format (defaultfalse). -
insertColumns
Allows inserting columns (defaultfalse). -
insertRows
Allows inserting rows (defaultfalse). -
insertHyperlinks
Allows inserting hyperlinks (defaultfalse). -
deleteColumns
Allows deleting columns (defaultfalse). -
deleteRows
Allows deleting rows (defaultfalse). -
sort
Allows sorting (defaultfalse). -
autoFilter
Allows using AutoFilter (defaultfalse). -
pivotTables
Allows using PivotTables (defaultfalse). -
objects
Allows editing objects such as shapes and charts (defaultfalse). -
scenarios
Allows editing what-if scenarios (defaultfalse). -
build
Builds the immutableSheetProtection.
-