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
| 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. |
méthodes
| Signature | Description |
|---|---|
__init__() |
Voir aussi
- Aspose.Cells pour Python — Enterprise API Reference