SharedStringTable
Overview
SharedStringTable is a class in Aspose.Cells FOSS for Python.
Manages the Shared String Table for XLSX files according to ECMA-376 specification.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
strings | `` | Read | Provides the collection of all stored strings |
string_to_index | `` | Read | Provides a mapping from each string to its index in the table |
count | `` | Read | Returns the total number of strings in the table |
Methods
| 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. |