openpyxl.drawing.graphic模块

class openpyxl.drawing.graphic.GraphicData(uri='http://schemas.openxmlformats.org/drawingml/2006/chart', chart=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

chart

值的类型必须小于class“openpyxl.drawing.relation.chartreation”>

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
tagname = 'graphicData'
uri

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

class openpyxl.drawing.graphic.GraphicFrame(nvGraphicFramePr=None, xfrm=None, graphic=None, macro=None, fPublished=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

fPublished

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

graphic

值的类型必须小于class“openpyxl.drawing.graphic.graphicObject”>

macro

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

nvGraphicFramePr

值的类型必须小于class“openpyxl.drawing.graphic.nonvisualgraphicframe”>

tagname = 'graphicFrame'
xfrm

值的类型必须小于class“openpyxl.drawing.xdr.xdrTransform2d”>

class openpyxl.drawing.graphic.GraphicFrameLocking(noGrp=None, noDrilldown=None, noSelect=None, noChangeAspect=None, noMove=None, noResize=None, extLst=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

extLst

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

noChangeAspect

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

noDrilldown

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

noGrp

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

noMove

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

noResize

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

noSelect

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

class openpyxl.drawing.graphic.GraphicObject(graphicData=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

graphicData

值的类型必须小于class“openpyxl.drawing.graphic.graphicdata”>

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
tagname = 'graphic'
class openpyxl.drawing.graphic.GroupShape(nvGrpSpPr=None, grpSpPr=None, pic=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

grpSpPr

值的类型必须小于class“openpyxl.drawing.properties.groupshapeproperties”>

nonVisualProperties

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

nvGrpSpPr

值的类型必须小于class“openpyxl.drawing.properties.nonvisualGroupShape”>

pic

值的类型必须小于class“openpyxl.drawing.picture.pictureframe”>

visualProperties

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

class openpyxl.drawing.graphic.NonVisualGraphicFrame(cNvPr=None, cNvGraphicFramePr=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

cNvGraphicFramePr

值的类型必须小于“openpyxl.drawing.graphic.nonvisualgraphicframeproperties”>

cNvPr

值的类型必须小于class“openpyxl.drawing.properties.nonvisualdrawingprops”>

tagname = 'nvGraphicFramePr'
class openpyxl.drawing.graphic.NonVisualGraphicFrameProperties(graphicFrameLocks=None, extLst=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

extLst

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

graphicFrameLocks

值的类型必须小于class“openpyxl.drawing.graphic.graphicframelocking”>

tagname = 'cNvGraphicFramePr'