openpyxl.chart.text模块¶
- class openpyxl.chart.text.RichText(bodyPr=None, lstStyle=None, p=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
来自规范:21.2.2.216
此元素指定文本格式。不支持lststyle元素。
- bodyPr¶
值的类型必须小于class“openpyxl.drawing.text.richtextproperties”>
- lstStyle¶
值的类型必须小于class“openpyxl.drawing.text.liststyle”>
- p¶
只能包含声明类型的对象的序列(列表或元组)
- paragraphs¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- properties¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- tagname = 'rich'¶