WorkbookProtectionModel
Overview
WorkbookProtectionModel is a class in Aspose.Cells FOSS for Java.
Represents the WorkbookProtectionModel component.
This class provides 12 methods for working with WorkbookProtectionModel objects in Java programs.
Available methods include: copyFrom, getLockRevision, getLockStructure, getLockWindows, getRevisionsPassword, getWorkbookPassword, hasStoredState, 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, revisionsPassword, workbookPassword.
Description
WorkbookProtectionModel is a class in the Aspose.Cells FOSS library for Java that exposes 12 methods and 5 properties for programmatic use.
Core capabilities include: boolean; boolean; boolean. These operations enable developers to integrate workbookprotectionmodel functionality directly into Java applications.
The class also provides the lockStructure property (returns the lock structure), the lockWindows property (returns the lock windows), the lockRevision property (returns the lock revision).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
lockStructure | boolean | Read | Returns the lock structure. |
lockWindows | boolean | Read | Returns the lock windows. |
lockRevision | boolean | Read | Returns the lock revision. |
workbookPassword | String | Read | Returns the workbook password. |
revisionsPassword | String | Read | Returns the revisions password. |
Methods
| Signature | Description |
|---|---|
getLockStructure() → boolean | Returns the lock structure. |
setLockStructure(lockStructure: boolean) | Sets the lock structure. |
getLockWindows() → boolean | Returns the lock windows. |
setLockWindows(lockWindows: boolean) | Sets the lock windows. |
getLockRevision() → boolean | Returns the lock revision. |
setLockRevision(lockRevision: boolean) | Sets the lock revision. |
getWorkbookPassword() → String | Returns the workbook password. |
setWorkbookPassword(workbookPassword: String) | Sets the workbook password. |
getRevisionsPassword() → String | Returns the revisions password. |
setRevisionsPassword(revisionsPassword: String) | Sets the revisions password. |
copyFrom(source: WorkbookProtectionModel) | Copies the from. |
hasStoredState() → boolean | Indicates whether this instance has stored state. |