SheetProtection
Overview
SheetProtection is a class in Aspose.Cells FOSS for Python.
Represents sheet protection settings.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
sheet | `` | Read | Whether to protect sheet. |
objects | `` | Read | Whether to protect objects. |
scenarios | `` | Read | Whether to protect scenarios. |
format_cells | `` | Read | Whether to allow formatting cells. |
format_columns | `` | Read | Whether to allow formatting columns. |
format_rows | `` | Read | Whether to allow formatting rows. |
insert_columns | `` | Read | Whether to allow inserting columns. |
insert_rows | `` | Read | Whether to allow inserting rows. |
insert_hyperlinks | `` | Read | Whether to allow inserting hyperlinks. |
delete_columns | `` | Read | Whether to allow deleting columns. |
delete_rows | `` | Read | Whether to allow deleting rows. |
select_locked_cells | `` | Read | Whether to allow selecting locked cells. |
sort | `` | Read | Whether to allow sorting. |
auto_filter | `` | Read | Whether to allow using autoFilter. |
pivot_tables | `` | Read | Whether to allow using pivot tables. |
select_unlocked_cells | `` | Read | Whether to allow selecting unlocked cells. |
password | `` | Read | Protection password (hashed). |
algorithm_name | `` | Read | Hash algorithm name (for modern protection). |
hash_value | `` | Read | Password hash (base64). |
salt_value | `` | Read | Salt for hashing (base64). |
spin_count | `` | Read | Number of hash iterations. |
is_protected | `` | Read | Returns True if sheet protection is enabled. |
Methods
| Signature | Description |
|---|---|
__init__() |