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.

Properties

NameTypeAccessDescription
strings``ReadProvides the collection of all stored strings
string_to_index``ReadProvides a mapping from each string to its index in the table
count``ReadReturns the total number of strings in the table

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