openpyxl.drawing.text模块

class openpyxl.drawing.text.AutonumberBullet(type=None, startAt=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

startAt

值的类型必须小于class“int”>

type

Value must be one of {'alphaUcParenR', 'alphaUcPeriod', 'romanLcParenR', 'arabic1Minus', 'hebrew2Minus', 'thaiAlphaParenR', 'arabicParenBoth', 'romanUcParenR', 'ea1ChsPeriod', 'arabicParenR', 'arabicDbPeriod', 'hindiAlphaPeriod', 'thaiNumParenBoth', 'arabicPeriod', 'thaiAlphaPeriod', 'arabicDbPlain', 'romanLcPeriod', 'alphaUcParenBoth', 'circleNumWdWhitePlain', 'romanUcPeriod', 'alphaLcParenBoth', 'romanUcParenBoth', 'ea1ChsPlain', 'hindiNumPeriod', 'thaiNumParenR', 'thaiAlphaParenBoth', 'circleNumDbPlain', 'romanLcParenBoth', 'arabic2Minus', 'ea1ChtPeriod', 'ea1ChtPlain', 'arabicPlain', 'circleNumWdBlackPlain', 'alphaLcPeriod', 'hindiNumParenR', 'thaiNumPeriod', 'ea1JpnKorPeriod', 'ea1JpnChsDbPeriod', 'alphaLcParenR', 'hindiAlpha1Period', 'ea1JpnKorPlain'}

class openpyxl.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)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

altLang

值的类型必须小于class'str'>

b

值的类型必须小于class'bool'>

baseline

值的类型必须小于class“int”>

blipFill

值的类型必须小于class“openpyxl.drawing.fill.blipfillproperties”>

bmk

值的类型必须小于class'str'>

cap

值必须是“all”、“small”之一

cs

值的类型必须为<class'openpyxl.drawing.text.font'>

dirty

值的类型必须小于class'bool'>

ea

值的类型必须为<class'openpyxl.drawing.text.font'>

effectDag

值的类型必须小于“openpyxl.drawing.effect.effectcontainer”>

effectLst

值的类型必须小于class“openpyxl.drawing.effect.effectList”>

err

值的类型必须小于class'bool'>

extLst

值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>

gradFill

值的类型必须小于“openpyxl.drawing.fill.gradientfillproperties”>

grpFill

值的类型必须小于class'bool'>

highlight

值的类型必须小于class“openpyxl.styles.colors.color”>

hlinkClick

值的类型必须小于class“openpyxl.drawing.text.hyperlink”>

hlinkMouseOver

值的类型必须小于class“openpyxl.drawing.text.hyperlink”>

i

值的类型必须小于class'bool'>

kern

值的类型必须小于class“int”>

kumimoji

值的类型必须小于class'bool'>

lang

值的类型必须小于class'str'>

latin

值的类型必须为<class'openpyxl.drawing.text.font'>

ln

值的类型必须小于class“openpyxl.drawing.line.lineproperties”>

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
noFill

值的类型必须小于class'bool'>

noProof

值的类型必须小于class'bool'>

normalizeH

值的类型必须小于class'bool'>

pattFill

值的类型必须小于class“openpyxl.drawing.fill.patternFillProperties”>

rtl

值的类型必须小于class'bool'>

smtClean

值的类型必须小于class'bool'>

smtId

值的类型必须小于class“int”>

solidFill

值的类型必须小于class“openpyxl.drawing.colors.colorchoice”>

spc

值的类型必须小于class“int”>

strike

Value must be one of {'sngStrike', 'dblStrike', 'noStrike'}

sym

值的类型必须为<class'openpyxl.drawing.text.font'>

sz

值的类型必须小于class“float”>

tagname = 'defRPr'
u

Value must be one of {'wavyDbl', 'dash', 'dotDotDash', 'sng', 'dashHeavy', 'dotDashHeavy', 'dashLong', 'wavy', 'dbl', 'dashLongHeavy', 'dotDotDashHeavy', 'wavyHeavy', 'dotDash', 'words', 'dotted', 'dottedHeavy', 'heavy'}

uFill

值的类型必须小于class'bool'>

uFillTx

值的类型必须小于class'bool'>

uLn

值的类型必须小于class“openpyxl.drawing.line.lineproperties”>

uLnTx

值的类型必须小于class'bool'>

class openpyxl.drawing.text.EmbeddedWAVAudioFile(name=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

name

值的类型必须小于class'str'>

class openpyxl.drawing.text.Font(typeface=None, panose=None, pitchFamily=None, charset=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

charset

值的类型必须小于class“int”>

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
panose
pitchFamily

值的类型必须小于class“float”>

tagname = 'latin'
typeface

值的类型必须小于class'str'>

class openpyxl.drawing.text.GeomGuide(name=None, fmla=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

fmla

值的类型必须小于class'str'>

name

值的类型必须小于class'str'>

class openpyxl.drawing.text.GeomGuideList(gd=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

gd

只能包含声明类型的对象的序列(列表或元组)

基类:openpyxl.descriptors.serialisable.Serialisable

action

值的类型必须小于class'str'>

endSnd

值的类型必须小于class'bool'>

extLst

值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>

highlightClick

值的类型必须小于class'bool'>

history

值的类型必须小于class'bool'>

id

值的类型必须小于class'str'>

invalidUrl

值的类型必须小于class'str'>

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
snd

值的类型必须为<class'openpyxl.drawing.text.embeddedWavAudioFile'>

tagname = 'hlinkClick'
tgtFrame

值的类型必须小于class'str'>

tooltip

值的类型必须小于class'str'>

class openpyxl.drawing.text.LineBreak(rPr=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
rPr

值的类型必须小于“openpyxl.drawing.text.characterproperties”>

tagname = 'br'
class openpyxl.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)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

defPPr

值的类型必须小于class“openpyxl.drawing.text.paragraphproperties”>

extLst

值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>

lvl1pPr

值的类型必须小于class“openpyxl.drawing.text.paragraphproperties”>

lvl2pPr

值的类型必须小于class“openpyxl.drawing.text.paragraphproperties”>

lvl3pPr

值的类型必须小于class“openpyxl.drawing.text.paragraphproperties”>

lvl4pPr

值的类型必须小于class“openpyxl.drawing.text.paragraphproperties”>

lvl5pPr

值的类型必须小于class“openpyxl.drawing.text.paragraphproperties”>

lvl6pPr

值的类型必须小于class“openpyxl.drawing.text.paragraphproperties”>

lvl7pPr

值的类型必须小于class“openpyxl.drawing.text.paragraphproperties”>

lvl8pPr

值的类型必须小于class“openpyxl.drawing.text.paragraphproperties”>

lvl9pPr

值的类型必须小于class“openpyxl.drawing.text.paragraphproperties”>

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
tagname = 'lstStyle'
class openpyxl.drawing.text.Paragraph(pPr=None, endParaRPr=None, r=None, br=None, fld=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

br

值的类型必须小于class“openpyxl.drawing.text.linebreak”>

endParaRPr

值的类型必须小于“openpyxl.drawing.text.characterproperties”>

fld

值的类型必须小于class“openpyxl.drawing.text.textfield”>

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
pPr

值的类型必须小于class“openpyxl.drawing.text.paragraphproperties”>

properties

在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。

r

只能包含声明类型的对象的序列(列表或元组)

tagname = 'p'
text

在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。

class openpyxl.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)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

algn

Value must be one of {'ctr', 'just', 'r', 'dist', 'l', 'thaiDist', 'justLow'}

buAutoNum

值的类型必须小于class'bool'>

buBlip

值的类型必须小于class“openpyxl.drawing.fill.blip”>

buChar

值的类型必须小于class'str'>

buClr

值的类型必须小于class“openpyxl.styles.colors.color”>

buClrTx

值的类型必须小于class'bool'>

buFont

值的类型必须为<class'openpyxl.drawing.text.font'>

buFontTx

值的类型必须小于class'bool'>

buNone

值的类型必须小于class'bool'>

buSzPct

值的类型必须小于class“int”>

buSzPts

值的类型必须小于class“int”>

buSzTx

值的类型必须小于class'bool'>

defRPr

值的类型必须小于“openpyxl.drawing.text.characterproperties”>

defTabSz

值的类型必须小于class“int”>

eaLnBrk

值的类型必须小于class'bool'>

extLst

值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>

fontAlgn

Value must be one of {'ctr', 'base', 'auto', 't', 'b'}

hangingPunct

值的类型必须小于class'bool'>

indent

值的类型必须小于class“int”>

latinLnBrk

值的类型必须小于class'bool'>

lnSpc

值的类型必须小于class“openpyxl.drawing.text.spacing”>

lvl

值的类型必须小于class“int”>

marL

值的类型必须小于class“int”>

marR

值的类型必须小于class“int”>

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
rtl

值的类型必须小于class'bool'>

spcAft

值的类型必须小于class“openpyxl.drawing.text.spacing”>

spcBef

值的类型必须小于class“openpyxl.drawing.text.spacing”>

tabLst

值的类型必须小于class“openpyxl.drawing.text.tabstopList”>

tagname = 'pPr'
class openpyxl.drawing.text.PresetTextShape(prst=None, avLst=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

avLst

值的类型必须小于class“openpyxl.drawing.text.geomGuideList”>

prst

Values must be of type <openpyxl.descriptors.base.Set object at 0x7f687ccb2518>

class openpyxl.drawing.text.RegularTextRun(rPr=None, t='')[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
properties

在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。

rPr

值的类型必须小于“openpyxl.drawing.text.characterproperties”>

t

值的类型必须小于class'str'>

tagname = 'r'
value

在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。

class openpyxl.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)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

anchor

Value must be one of {'ctr', 'just', 'dist', 't', 'b'}

anchorCtr

值的类型必须小于class'bool'>

bIns

值的类型必须小于class“int”>

compatLnSpc

值的类型必须小于class'bool'>

extLst

值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>

flatTx

值的类型必须小于class“int”>

forceAA

值的类型必须小于class'bool'>

fromWordArt

值的类型必须小于class'bool'>

horzOverflow

值必须是{‘CLIP’,‘OVERFLOW’}之一

lIns

值的类型必须小于class“int”>

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
noAutofit

值的类型必须小于class'bool'>

normAutofit

值的类型必须小于class'bool'>

numCol

值的类型必须小于class“int”>

prstTxWarp

值的类型必须小于class“openpyxl.drawing.text.presettextshape”>

rIns

值的类型必须小于class“int”>

rot

值的类型必须小于class“int”>

rtlCol

值的类型必须小于class'bool'>

scene3d

值的类型必须小于class“openpyxl.drawing.geometry.scene3d”>

spAutoFit

值的类型必须小于class'bool'>

spcCol

值的类型必须小于class“int”>

spcFirstLastPara

值的类型必须小于class'bool'>

tIns

值的类型必须小于class“int”>

tagname = 'bodyPr'
upright

值的类型必须小于class'bool'>

vert

Value must be one of {'wordArtVertRtl', 'vert270', 'wordArtVert', 'eaVert', 'horz', 'mongolianVert', 'vert'}

vertOverflow

Value must be one of {'clip', 'ellipsis', 'overflow'}

wrap

值必须是{‘None’,‘Square’}之一

class openpyxl.drawing.text.Spacing(spcPct=None, spcPts=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

spcPct

值的类型必须小于class“int”>

spcPts

值的类型必须小于class“int”>

class openpyxl.drawing.text.TabStop(pos=None, algn=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

algn

Values must be of type <openpyxl.descriptors.base.Set object at 0x7f687ccaa358>

pos

值的类型必须小于class“openpyxl.descriptors.base.integer”>

class openpyxl.drawing.text.TabStopList(tab=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

tab

值的类型必须小于class“openpyxl.drawing.text.tabstop”>

class openpyxl.drawing.text.TextField(id=None, type=None, rPr=None, pPr=None, t=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

id

值的类型必须小于class'str'>

pPr

值的类型必须小于class“openpyxl.drawing.text.paragraphproperties”>

rPr

值的类型必须小于“openpyxl.drawing.text.characterproperties”>

t

值的类型必须小于class'str'>

type

值的类型必须小于class'str'>

class openpyxl.drawing.text.TextNormalAutofit(fontScale=None, lnSpcReduction=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

fontScale

值的类型必须小于class“int”>

lnSpcReduction

值的类型必须小于class“int”>