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.
This class provides 5 methods for working with SharedStringTable objects in Python programs.
Available methods include: __init__, add_string, from_xml, get_string, to_xml.
All exported members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Properties: count, string_to_index, strings.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
strings | `` | Read | Gets the strings. |
string_to_index | `` | Read | Gets the string to index. |
count | `` | Read | Gets the count. |
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. |