-
Methods in org.docx4j.openpackaging.packages that throw Xlsx4jException
| Modifier and Type |
Method |
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.
|
void |
ProtectWorkbook.removeWorkbookProtection() |
Remove protection from this package.
|
void |
ProtectWorkbook.setSheetProtection(CTSheetProtection sheetProtection,
java.lang.String password,
HashAlgorithm hashAlgo) |
Enforces the protection passed in sheetProtection, with the specified password, and
HashAlgorithm for the password.
|
void |
ProtectWorkbook.setSheetProtectionPassword(CTSheetProtection sheetProtection,
java.lang.String password) |
Enforces the protection passed in sheetProtection, with the specified password,
using sha512 (like Excel 2013).
|
void |
ProtectWorkbook.setWorkbookProtection(java.lang.String password,
boolean lockRevision,
boolean lockStructure,
boolean lockWindows) |
Enforce Workbook Protection, with the specified password,
using sha512 (like Excel 2013).
|
void |
ProtectWorkbook.setWorkbookProtection(java.lang.String password,
HashAlgorithm hashAlgo,
boolean lockRevision,
boolean lockStructure,
boolean lockWindows) |
Enforce Workbook Protection, with the specified password,
using hashAlgo.
|
boolean |
ProtectWorkbook.validateWorkbookProtectionPassword(java.lang.String password) |
Check the password is correct?
|
-