SheetProtection
Overview
SheetProtection is a class in Aspose.Cells FOSS for Python.
Represents sheet protection settings.
This class provides 1 method for working with SheetProtection objects in Python programs.
Available methods include: __init__.
All public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Properties: algorithm_name, auto_filter, delete_columns, delete_rows, format_cells, format_columns, and 16 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
sheet | `` | Read/Write | Whether to protect sheet. |
objects | `` | Read/Write | Whether to protect objects. |
scenarios | `` | Read/Write | Whether to protect scenarios. |
format_cells | `` | Read/Write | Whether to allow formatting cells. |
format_columns | `` | Read/Write | Whether to allow formatting columns. |
format_rows | `` | Read/Write | Whether to allow formatting rows. |
insert_columns | `` | Read/Write | Whether to allow inserting columns. |
insert_rows | `` | Read/Write | Whether to allow inserting rows. |
insert_hyperlinks | `` | Read/Write | Whether to allow inserting hyperlinks. |
delete_columns | `` | Read/Write | Whether to allow deleting columns. |
delete_rows | `` | Read/Write | Whether to allow deleting rows. |
select_locked_cells | `` | Read/Write | Whether to allow selecting locked cells. |
sort | `` | Read/Write | Whether to allow sorting. |
auto_filter | `` | Read/Write | Whether to allow using autoFilter. |
pivot_tables | `` | Read/Write | Whether to allow using pivot tables. |
select_unlocked_cells | `` | Read/Write | Whether to allow selecting unlocked cells. |
password | `` | Read/Write | Protection password (hashed). |
algorithm_name | `` | Read/Write | Hash algorithm name (for modern protection). |
hash_value | `` | Read/Write | Password hash (base64). |
salt_value | `` | Read/Write | Salt for hashing (base64). |
spin_count | `` | Read/Write | Number of hash iterations. |
is_protected | `` | Read | Returns True if sheet protection is enabled. |
Methods
| Signature | Description |
|---|---|
__init__() |