fastpyxl.drawing.text module

class fastpyxl.drawing.text.AutonumberBullet(type=None, startAt=None)[source]

Bases: Serialisable

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
startAt: int | None
tagname = 'buAutoNum'
type: str | None
class fastpyxl.drawing.text.CharacterProperties(kumimoji=None, lang=None, altLang=None, sz=None, b=None, i=None, u=None, strike=None, kern=None, cap=None, spc=None, normalizeH=None, baseline=None, noProof=None, dirty=None, err=None, smtClean=None, smtId=None, bmk=None, ln=None, highlight=None, latin=None, ea=None, cs=None, sym=None, hlinkClick=None, hlinkMouseOver=None, rtl=None, extLst=None, noFill=None, solidFill=None, gradFill=None, blipFill=None, pattFill=None, grpFill=None, effectLst=None, effectDag=None, uLnTx=None, uLn=None, uFillTx=None, uFill=None)[source]

Bases: Serialisable

altLang: str | None
b: bool | None
baseline: int | None
blipFill: BlipFillProperties | None
bmk: str | None
cap: str | None
cs: Font | None
dirty: bool | None
ea: Font | None
effectDag: EffectContainer | None
effectLst: EffectList | None
err: bool | None
extLst: ExtensionList | None
gradFill: GradientFillProperties | None
grpFill: _CharGrpFill | None
highlight: Color | None
hlinkClick: Hyperlink | None
hlinkMouseOver: Hyperlink | None
i: bool | None
kern: int | None
kumimoji: bool | None
lang: str | None
latin: Font | None
ln: LineProperties | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
noFill: _CharNoFill | None
noProof: bool | None
normalizeH: bool | None
pattFill: PatternFillProperties | None
rtl: bool | None
smtClean: bool | None
smtId: int | None
solidFill: ColorChoice | None
spc: int | None
strike: str | None
sym: Font | None
sz: int | None
tagname = 'defRPr'
u: str | None
uFill: _CharUFill | None
uFillTx: _CharUFillTx | None
uLn: LineProperties | None
uLnTx: _CharULnTx | None
xml_order = ('ln', 'noFill', 'solidFill', 'gradFill', 'blipFill', 'pattFill', 'grpFill', 'effectLst', 'effectDag', 'highlight', 'uLnTx', 'uLn', 'uFillTx', 'uFill', 'latin', 'ea', 'cs', 'sym', 'hlinkClick', 'hlinkMouseOver', 'rtl')
class fastpyxl.drawing.text.EmbeddedWAVAudioFile(name=None)[source]

Bases: Serialisable

name: str | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
tagname = 'snd'
class fastpyxl.drawing.text.Font(typeface=None, panose=None, pitchFamily=None, charset=None)[source]

Bases: Serialisable

charset: int | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
panose: str | None
pitchFamily: int | None
tagname = 'latin'
typeface: str | None
class fastpyxl.drawing.text.GeomGuide(name=None, fmla=None)[source]

Bases: Serialisable

fmla: str | None
name: str | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
tagname = 'gd'
class fastpyxl.drawing.text.GeomGuideList(gd=None)[source]

Bases: Serialisable

gd: list[GeomGuide] | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
tagname = 'avLst'

Bases: Serialisable

action: str | None
endSnd: bool | None
extLst: ExtensionList | None
highlightClick: bool | None
history: bool | None
id: str | None
invalidUrl: str | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
snd: EmbeddedWAVAudioFile | None
tagname = 'hlinkClick'
tgtFrame: str | None
tooltip: str | None
xml_order = ('snd',)
class fastpyxl.drawing.text.LineBreak(rPr=None)[source]

Bases: Serialisable

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
rPr: CharacterProperties | None
tagname = 'br'
class fastpyxl.drawing.text.ListStyle(defPPr=None, lvl1pPr=None, lvl2pPr=None, lvl3pPr=None, lvl4pPr=None, lvl5pPr=None, lvl6pPr=None, lvl7pPr=None, lvl8pPr=None, lvl9pPr=None, extLst=None)[source]

Bases: Serialisable

defPPr: ParagraphProperties | None
extLst: ExtensionList | None
lvl1pPr: ParagraphProperties | None
lvl2pPr: ParagraphProperties | None
lvl3pPr: ParagraphProperties | None
lvl4pPr: ParagraphProperties | None
lvl5pPr: ParagraphProperties | None
lvl6pPr: ParagraphProperties | None
lvl7pPr: ParagraphProperties | None
lvl8pPr: ParagraphProperties | None
lvl9pPr: ParagraphProperties | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
tagname = 'lstStyle'
xml_order = ('defPPr', 'lvl1pPr', 'lvl2pPr', 'lvl3pPr', 'lvl4pPr', 'lvl5pPr', 'lvl6pPr', 'lvl7pPr', 'lvl8pPr', 'lvl9pPr')
class fastpyxl.drawing.text.Paragraph(pPr=None, endParaRPr=None, r=None, br=None, fld=None)[source]

Bases: Serialisable

br: LineBreak | None
endParaRPr: CharacterProperties | None
fld: TextField | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
pPr: ParagraphProperties | None
property properties
r: list[RegularTextRun]
tagname = 'p'
property text
xml_order = ('pPr', 'r', 'br', 'fld', 'endParaRPr')
class fastpyxl.drawing.text.ParagraphProperties(marL=None, marR=None, lvl=None, indent=None, algn=None, defTabSz=None, rtl=None, eaLnBrk=None, fontAlgn=None, latinLnBrk=None, hangingPunct=None, lnSpc=None, spcBef=None, spcAft=None, tabLst=None, defRPr=None, extLst=None, buClrTx=None, buClr=None, buSzTx=None, buSzPct=None, buSzPts=None, buFontTx=None, buFont=None, buNone=None, buAutoNum=None, buChar=None, buBlip=None)[source]

Bases: Serialisable

algn: str | None
buAutoNum: _PPrBuAutoNum | None
buBlip: Blip | None
buChar: str | None
buClr: Color | None
buClrTx: _PPrBuClrTx | None
buFont: Font | None
buFontTx: _PPrBuFontTx | None
buNone: _PPrBuNone | None
buSzPct: int | None
buSzPts: int | None
buSzTx: _PPrBuSzTx | None
defRPr: CharacterProperties | None
defTabSz: int | None
eaLnBrk: bool | None
extLst: ExtensionList | None
fontAlgn: str | None
hangingPunct: bool | None
indent: int | None
latinLnBrk: bool | None
lnSpc: Spacing | None
lvl: int | None
marL: int | None
marR: int | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
rtl: bool | None
spcAft: Spacing | None
spcBef: Spacing | None
tabLst: TabStopList | None
tagname = 'pPr'
xml_order = ('lnSpc', 'spcBef', 'spcAft', 'tabLst', 'defRPr', 'buClrTx', 'buClr', 'buSzTx', 'buSzPct', 'buSzPts', 'buFontTx', 'buFont', 'buNone', 'buAutoNum', 'buChar', 'buBlip')
class fastpyxl.drawing.text.PresetTextShape(prst=None, avLst=None)[source]

Bases: Serialisable

avLst: GeomGuideList | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
prst: str | None
xml_order = ('prst', 'avLst')
class fastpyxl.drawing.text.RegularTextRun(rPr=None, t='')[source]

Bases: Serialisable

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
property properties
rPr: CharacterProperties | None
t: str
tagname = 'r'
property value
xml_order = ('rPr', 't')
class fastpyxl.drawing.text.RichTextProperties(rot=None, spcFirstLastPara=None, vertOverflow=None, horzOverflow=None, vert=None, wrap=None, lIns=None, tIns=None, rIns=None, bIns=None, numCol=None, spcCol=None, rtlCol=None, fromWordArt=None, anchor=None, anchorCtr=None, forceAA=None, upright=None, compatLnSpc=None, prstTxWarp=None, scene3d=None, extLst=None, noAutofit=None, normAutofit=None, spAutoFit=None, flatTx=None)[source]

Bases: Serialisable

anchor: str | None
anchorCtr: bool | None
bIns: int | None
compatLnSpc: bool | None
extLst: ExtensionList | None
flatTx: int | None
forceAA: bool | None
fromWordArt: bool | None
horzOverflow: str | None
lIns: int | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
noAutofit: _BodyNoAutofit | None
normAutofit: _BodyNormAutofit | None
numCol: int | None
prstTxWarp: PresetTextShape | None
rIns: int | None
rot: int | None
rtlCol: bool | None
scene3d: Scene3D | None
spAutoFit: _BodySpAutoFit | None
spcCol: int | None
spcFirstLastPara: bool | None
tIns: int | None
tagname = 'bodyPr'
upright: bool | None
vert: str | None
vertOverflow: str | None
wrap: str | None
xml_order = ('prstTxWarp', 'scene3d', 'noAutofit', 'normAutofit', 'spAutoFit')
class fastpyxl.drawing.text.Spacing(spcPct=None, spcPts=None)[source]

Bases: Serialisable

spcPct: int | None
spcPts: int | None
xml_order = ('spcPct', 'spcPts')
class fastpyxl.drawing.text.TabStop(pos=None, algn=None)[source]

Bases: Serialisable

algn: str | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
pos: int | None
tagname = 'tab'
class fastpyxl.drawing.text.TabStopList(tab=None)[source]

Bases: Serialisable

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
tab: TabStop | None
tagname = 'tabLst'
class fastpyxl.drawing.text.TextField(id=None, type=None, rPr=None, pPr=None, t=None)[source]

Bases: Serialisable

id: str | None
pPr: ParagraphProperties | None
rPr: CharacterProperties | None
t: str | None
type: str | None
xml_order = ('rPr', 'pPr')
class fastpyxl.drawing.text.TextNormalAutofit(fontScale=None, lnSpcReduction=None)[source]

Bases: Serialisable

fontScale: int | None
lnSpcReduction: int | None
namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
tagname = 'normAutofit'