WorkbookProtectionModel

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

NameTypeAccessDescription
lockStructurebooleanReadReturns the lock structure.
lockWindowsbooleanReadReturns the lock windows.
lockRevisionbooleanReadReturns the lock revision.
workbookPasswordStringReadReturns the workbook password.
revisionsPasswordStringReadReturns the revisions password.

Methods

SignatureDescription
getLockStructure()booleanReturns the lock structure.
setLockStructure(lockStructure: boolean)Sets the lock structure.
getLockWindows()booleanReturns the lock windows.
setLockWindows(lockWindows: boolean)Sets the lock windows.
getLockRevision()booleanReturns the lock revision.
setLockRevision(lockRevision: boolean)Sets the lock revision.
getWorkbookPassword()StringReturns the workbook password.
setWorkbookPassword(workbookPassword: String)Sets the workbook password.
getRevisionsPassword()StringReturns the revisions password.
setRevisionsPassword(revisionsPassword: String)Sets the revisions password.
copyFrom(source: WorkbookProtectionModel)Copies the from.
hasStoredState()booleanIndicates whether this instance has stored state.

See Also

 English