WorkbookProtection

WorkbookProtection

Overview

WorkbookProtection is a class in Aspose.Cells FOSS for C++.

Represents workbook protection.

This class provides 11 methods for working with WorkbookProtection objects in C++ programs. Available methods include: GetLockRevision, GetLockStructure, GetLockWindows, GetRevisionsPassword, GetWorkbookPassword, IsProtected, SetLockRevision, SetLockStructure, SetLockWindows, SetRevisionsPassword, SetWorkbookPassword. All public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

Methods

SignatureDescription
IsProtected()boolGets a value indicating whether protected.
GetLockStructure()boolGets or sets a value indicating whether lock structure.
SetLockStructure(value: bool)Sets the lock structure value.
GetLockWindows()boolGets or sets a value indicating whether lock windows.
SetLockWindows(value: bool)Sets the lock windows value.
GetLockRevision()boolGets or sets a value indicating whether lock revision.
SetLockRevision(value: bool)Sets the lock revision value.
GetWorkbookPassword()std::stringGets or sets the workbook password.
SetWorkbookPassword(value: std::string_view)Sets the workbook password value.
GetRevisionsPassword()std::stringGets or sets the revisions password.
SetRevisionsPassword(value: std::string_view)Sets the revisions password value.

See Also

 English