| Package | Description |
|---|---|
| org.docx4j.openpackaging.packages | |
| org.docx4j.openpackaging.parts.SpreadsheetML |
| 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.
|
void |
ProtectWorkbook.removeWorkbookProtection()
Remove protection from this package.
|
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).
|
void |
ProtectWorkbook.setWorkbookProtection(String password,
boolean lockRevision,
boolean lockStructure,
boolean lockWindows)
Enforce Workbook Protection, with the specified password,
using sha512 (like Excel 2013).
|
void |
ProtectWorkbook.setWorkbookProtection(String password,
HashAlgorithm hashAlgo,
boolean lockRevision,
boolean lockStructure,
boolean lockWindows)
Enforce Workbook Protection, with the specified password,
using hashAlgo.
|
boolean |
ProtectWorkbook.validateWorkbookProtectionPassword(String password)
Check the password is correct?
|
| Modifier and Type | Method and Description |
|---|---|
WorksheetPart |
WorkbookPart.getWorksheet(int index) |
Copyright © 2007-2020. All Rights Reserved.