SheetProtection

Vue de l’ensemble

‘SheetProtection’ est une classe dans Aspose.Cells FOSS pour Python.

Il représente les paramètres de protection des feuilles.

Cette classe fournit 1 méthode pour travailler avec les objets de la protection des feuilles dans les programmes Python. Les méthodes disponibles comprennent: __init__. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation du package Aspose.Cell FOSS pour Pyathon. Propriétés: ‘algorithm_name’, ‘auto_filter’, `delete_columns’, ‘‘delette_rows’,‘‘format_cells’, “format-colums” et 16 autres.

Propriétés

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

méthodes

SignatureDescription
__init__()

Voir aussi

  • Aspose.Cells pour Python — Enterprise API Reference
 Français