SheetProtection

Overview

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

Represents sheet protection settings.

Properties

NameTypeAccessDescription
sheet``ReadWhether to protect sheet.
objects``ReadWhether to protect objects.
scenarios``ReadWhether to protect scenarios.
format_cells``ReadWhether to allow formatting cells.
format_columns``ReadWhether to allow formatting columns.
format_rows``ReadWhether to allow formatting rows.
insert_columns``ReadWhether to allow inserting columns.
insert_rows``ReadWhether to allow inserting rows.
insert_hyperlinks``ReadWhether to allow inserting hyperlinks.
delete_columns``ReadWhether to allow deleting columns.
delete_rows``ReadWhether to allow deleting rows.
select_locked_cells``ReadWhether to allow selecting locked cells.
sort``ReadWhether to allow sorting.
auto_filter``ReadWhether to allow using autoFilter.
pivot_tables``ReadWhether to allow using pivot tables.
select_unlocked_cells``ReadWhether to allow selecting unlocked cells.
password``ReadProtection password (hashed).
algorithm_name``ReadHash algorithm name (for modern protection).
hash_value``ReadPassword hash (base64).
salt_value``ReadSalt for hashing (base64).
spin_count``ReadNumber of hash iterations.
is_protected``ReadReturns True if sheet protection is enabled.

Methods

SignatureDescription
__init__()

See Also