fastpyxl.chart.text module

class fastpyxl.chart.text.RichText(bodyPr=None, lstStyle=None, p=None)[source]

Bases: Serialisable

From the specification: 21.2.2.216

This element specifies text formatting. The lstStyle element is not supported.

bodyPr: RichTextProperties | None
lstStyle: ListStyle | None
p: list[Paragraph] | None
property paragraphs
property properties
tagname = 'rich'
xml_order = ('bodyPr', 'lstStyle', 'p')
class fastpyxl.chart.text.Text(strRef=None, rich=None)[source]

Bases: Serialisable

The value can be either a cell reference or a text element If both are present then the reference will be used.

rich: RichText | None
strRef: StrRef | None
tagname = 'tx'
to_tree(tagname=None, idx=None, namespace=None)[source]
xml_order = ('strRef', 'rich')