WorkbookProtection
Overview
WorkbookProtection is a class in Aspose.Cells FOSS for Java.
Represents workbook-level protection settings (structure, windows, revision).
This class provides 11 methods for working with WorkbookProtection objects in Java programs.
Available methods include: getRevisionsPassword, getWorkbookPassword, isLockRevision, isLockStructure, isLockWindows, isProtected, setLockRevision, setLockStructure, setLockWindows, setRevisionsPassword, setWorkbookPassword.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: lockRevision, lockStructure, lockWindows, protected, revisionsPassword, workbookPassword.
Description
WorkbookProtection is a class in the Aspose.Cells FOSS library for Java that exposes 11 methods and 6 properties for programmatic use.
Core capabilities include: boolean; boolean; boolean. These operations enable developers to integrate workbookprotection functionality directly into Java applications.
The class also provides the protected property (gets the protected), the lockStructure property (gets the lock structure), the lockWindows property (gets the lock windows).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
protected | boolean | Read | Gets the protected. |
lockStructure | boolean | Read | Gets the lock structure. |
lockWindows | boolean | Read | Gets the lock windows. |
lockRevision | boolean | Read | Gets the lock revision. |
workbookPassword | String | Read | Gets the workbook password. |
revisionsPassword | String | Read | Gets the revisions password. |
Methods
| Signature | Description |
|---|---|
isProtected() → boolean | Returns true if protected is set. |
isLockStructure() → boolean | Returns true if lock structure is set. |
setLockStructure(v: boolean) | Sets the lock structure value. |
isLockWindows() → boolean | Returns true if lock windows is set. |
setLockWindows(v: boolean) | Sets the lock windows value. |
isLockRevision() → boolean | Returns true if lock revision is set. |
setLockRevision(v: boolean) | Sets the lock revision value. |
getWorkbookPassword() → String | Returns the workbook password. |
setWorkbookPassword(v: String) | Sets the workbook password value. |
getRevisionsPassword() → String | Returns the revisions password. |
setRevisionsPassword(v: String) | Sets the revisions password value. |