Skip to main content

Module common

Module common 

Source
Expand description

Shared OpenXML data structures used across multiple package parts.

These small types are referenced by worksheets, shared strings, comments, styles and many other parts. Keeping them in one module avoids circular dependencies between the XML model modules.

Structs§

AttrValBool
Wrapper for a boolean value carried by a child element attrValBool.
AttrValFloat
Wrapper for a floating point value carried by a child element attrValFloat.
AttrValInt
Wrapper for an integer value carried by a child element attrValInt.
AttrValString
Wrapper for a string value carried by a child element attrValString.
RichTextRun
Rich text run used in the public API.
XlsxColor
Directly maps the color element.
XlsxExt
Directly maps an ext element used in extension lists.
XlsxExtLst
Directly maps the extLst element.
XlsxInnerXml
Container used to preserve raw XML content that is not fully modeled.
XlsxPhoneticPr
Phonetic properties.
XlsxPhoneticRun
A phonetic run.
XlsxR
Represents a run of rich text.
XlsxRPr
Run properties.
XlsxT
Directly maps the t element in a run or shared string item.

Functions§

parse_ext_lst_content
Parse the inner XML of an <extLst> element and preserve namespace declarations on each <ext> child.
serialize_ext_lst
Serialize an <extLst> element to the inner XML that should be placed between the <extLst> and </extLst> tags.