openpyxl.drawing.line模块¶
- class openpyxl.drawing.line.DashStop(d=0, sp=0)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- d¶
值的类型必须小于class“int”>
- length¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
- sp¶
值的类型必须小于class“int”>
- space¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- tagname = 'ds'¶
- class openpyxl.drawing.line.DashStopList(ds=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- ds¶
只能包含声明类型的对象的序列(列表或元组)
- class openpyxl.drawing.line.LineEndProperties(type=None, w=None, len=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- len¶
值必须是{‘sm’,‘med’,‘lg’}之一
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
- tagname = 'end'¶
- type¶
Value must be one of {'oval', 'triangle', 'stealth', 'diamond', 'arrow', 'none'}
- w¶
值必须是{‘sm’,‘med’,‘lg’}之一
- class openpyxl.drawing.line.LineProperties(w=None, cap=None, cmpd=None, algn=None, noFill=None, solidFill=None, gradFill=None, pattFill=None, prstDash=None, custDash=None, round=None, bevel=None, miter=None, headEnd=None, tailEnd=None, extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- algn¶
Value must be one of {'in', 'ctr'}
- bevel¶
值的类型必须小于class'bool'>
- cap¶
Value must be one of {'flat', 'sq', 'rnd'}
- cmpd¶
Value must be one of {'sng', 'tri', 'thinThick', 'thickThin', 'dbl'}
- custDash¶
值的类型必须小于class“openpyxl.drawing.line.dashstop”>
- dashStyle¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- gradFill¶
值的类型必须小于“openpyxl.drawing.fill.gradientfillproperties”>
- headEnd¶
值的类型必须小于class“openpyxl.drawing.line.lineendproperties”>
- miter¶
值的类型必须小于class“int”>
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
- noFill¶
值的类型必须小于class'bool'>
- pattFill¶
值的类型必须小于class“openpyxl.drawing.fill.patternFillProperties”>
- prstDash¶
Value must be one of {'dash', 'dashDot', 'solid', 'sysDashDotDot', 'lgDashDot', 'lgDashDotDot', 'sysDot', 'sysDashDot', 'lgDash', 'sysDash', 'dot'}
- round¶
值的类型必须小于class'bool'>
- solidFill¶
值的类型必须小于class“openpyxl.drawing.colors.colorchoice”>
- tagname = 'ln'¶
- tailEnd¶
值的类型必须小于class“openpyxl.drawing.line.lineendproperties”>
- w¶
值的类型必须小于class“float”>
- width¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。