| Package | Description |
|---|---|
| org.docx4j.openpackaging.packages | |
| org.xlsx4j.schemas.microsoft.com.office.excel_2006.main | |
| org.xlsx4j.sml |
| Modifier and Type | Method and Description |
|---|---|
CTSheetProtection |
ProtectWorkbook.getSheetProtection(WorksheetPart worksheetPart)
Use this method to get the CTSheetProtection object for the specified worksheet, so you can set its
parameters as you see fit.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProtectWorkbook.setSheetProtection(CTSheetProtection sheetProtection,
String password,
HashAlgorithm hashAlgo)
Enforces the protection passed in sheetProtection, with the specified password, and
HashAlgorithm for the password.
|
void |
ProtectWorkbook.setSheetProtectionPassword(CTSheetProtection sheetProtection,
String password)
Enforces the protection passed in sheetProtection, with the specified password,
using sha512 (like Excel 2013).
|
static boolean |
ProtectWorkbook.validateSheetProtectionPassword(CTSheetProtection sheetProtection,
String password)
Validates the password, i.e.
|
| Modifier and Type | Field and Description |
|---|---|
protected CTSheetProtection |
CTWorksheet.sheetProtection |
| Modifier and Type | Method and Description |
|---|---|
CTSheetProtection |
CTWorksheet.getSheetProtection()
Gets the value of the sheetProtection property.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CTWorksheet.setSheetProtection(CTSheetProtection value)
Sets the value of the sheetProtection property.
|
| Modifier and Type | Field and Description |
|---|---|
protected CTSheetProtection |
Dialogsheet.sheetProtection |
protected CTSheetProtection |
Macrosheet.sheetProtection |
protected CTSheetProtection |
Worksheet.sheetProtection |
| Modifier and Type | Method and Description |
|---|---|
CTSheetProtection |
ObjectFactory.createCTSheetProtection()
Create an instance of
CTSheetProtection |
CTSheetProtection |
Dialogsheet.getSheetProtection()
Gets the value of the sheetProtection property.
|
CTSheetProtection |
Macrosheet.getSheetProtection()
Gets the value of the sheetProtection property.
|
CTSheetProtection |
Worksheet.getSheetProtection()
Gets the value of the sheetProtection property.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Dialogsheet.setSheetProtection(CTSheetProtection value)
Sets the value of the sheetProtection property.
|
void |
Macrosheet.setSheetProtection(CTSheetProtection value)
Sets the value of the sheetProtection property.
|
void |
Worksheet.setSheetProtection(CTSheetProtection value)
Sets the value of the sheetProtection property.
|
Copyright © 2007-2018. All Rights Reserved.