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.

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