SharedStringTable

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

NameTypeAccessDescription
strings``ReadGets the strings.
string_to_index``ReadGets the string to index.
count``ReadGets the count.

Methods

SignatureDescription
__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.

See Also