SharedStringTable
Vue de l’ensemble
‘SharedStringTable’ est une classe dans Aspose.Cells FOSS pour Python.
Gérer la Table de fil partagée pour les fichiers XLSX selon la spécification ECMA-376.
Cette classe fournit 5 méthodes pour travailler avec les objets de table partagée dans les programmes Python. Les méthodologies disponibles comprennent: __init__, add_string , from_xml ; ‘get_ string’ , ’to_ xml’. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation du package d’Aspose.Cells FOSS pour Pyathon. Propriétés : count; strin_to-index et stings.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
strings | `` | Read | Gets the strings. |
string_to_index | `` | Read | Gets the string to index. |
count | `` | Read | Gets the count. |
méthodes
| Signature | Description |
|---|---|
__init__() | Initialize an empty shared string table. |
add_string(text) | Add a string to the shared string table and return its index. |
get_string(index) | Get a string from the shared string table by its index. |
to_xml() | Convert the shared string table to XML format for XLSX files. |
from_xml(xml_content) | Create a SharedStringTable from XML content. |
Voir aussi
- Aspose.Cells pour Python — Enterprise API Reference