SheetProtection

General

SheetProtection és una classe en Aspose.Cells per a Python.

Representa la configuració de protecció de fulles.

Propietats

NameTypeAccessDescription
sheet``ReadIndicates the worksheet to which the protection settings apply
objects``ReadIndicates whether objects (e.g., charts) on the sheet are protected
scenarios``ReadIndicates whether scenario manager data is protected
format_cells``ReadIndicates if cell formatting is locked
format_columns``ReadIndicates if column formatting is locked
format_rows``ReadIndicates if row formatting is locked
insert_columns``ReadIndicates if inserting new columns is allowed
insert_rows``ReadIndicates if inserting new rows is allowed
insert_hyperlinks``ReadIndicates if adding hyperlinks is permitted
delete_columns``ReadIndicates if deleting columns is allowed
delete_rows``ReadIndicates if deleting rows is allowed
select_locked_cells``ReadIndicates if users can select locked cells
sort``ReadIndicates if sorting data on the sheet is permitted
auto_filter``ReadIndicates if auto‑filter functionality is allowed
pivot_tables``ReadIndicates if pivot table operations are protected
select_unlocked_cells``ReadIndicates if users can select unlocked cells
password``ReadStores the password used to protect the sheet
algorithm_name``ReadSpecifies the hash algorithm for the protection password
hash_value``ReadContains the hashed password value
salt_value``ReadContains the salt used in password hashing
spin_count``ReadIndicates the number of hash iterations for password protection
is_protected``ReadReports whether the sheet is currently protected

Mètodes

SignatureDescription
__init__()
 Català