WorkbookProtection

WorkbookProtection

Overview

WorkbookProtection is a class in Aspose.Cells FOSS for Python.

Represents workbook protection settings.

This class declares 1 method for WorkbookProtection objects in Python programs. Available methods include: __init__. Public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package. Properties: is_protected, lock_revision, lock_structure, lock_windows, revisions_password, workbook_password.

Properties

NameTypeAccessDescription
lock_structure-Read/WriteWhether workbook structure is locked.
lock_windows-Read/WriteWhether workbook windows are locked.
lock_revision-Read/WriteWhether revision tracking is locked.
revisions_password-Read/WriteHashed password for revision protection.
workbook_password-Read/WriteHashed password for workbook protection.
is_protected-ReadReturns True if workbook has any protection enabled.

Methods

SignatureDescription
__init__()Calls init on this WorkbookProtection instance.

See Also

 English