Paper Office
paper-xlsxAPI referencechart.text

RichText

paper-xlsx 0.2.1 API reference

From the specification: 21.2.2.216

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

RichText(bodyPr=None, lstStyle=None, p=None)

Attributes

bodyPr

attributebodyPr
= bodyPr

idx_base

attributeidx_base
= 0

lstStyle

attributelstStyle
= lstStyle

namespace

attributenamespace
= None

p

attributep
= p

paragraphs

attributeparagraphs
= Alias('p')

properties

attributeproperties
= Alias('bodyPr')

tagname

attributetagname
= 'rich'

Functions

__iter__

func__iter__()

from_tree

funcfrom_tree(node)

Create object from XML

paramnode

to_tree

functo_tree(tagname=None, idx=None, namespace=None)
paramtagname
= None
paramidx
= None
paramnamespace
= None

On this page