openpyxl.drawing.graphic module¶
-
class
openpyxl.drawing.graphic.GraphicData(uri='http://schemas.openxmlformats.org/drawingml/2006/chart', chart=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable-
chart¶ Values must be of type <class ‘openpyxl.drawing.relation.ChartRelation’>
-
namespace= 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
-
tagname= 'graphicData'¶
-
uri¶ Values must be of type <class ‘str’>
-
-
class
openpyxl.drawing.graphic.GraphicFrame(nvGraphicFramePr=None, xfrm=None, graphic=None, macro=None, fPublished=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable-
fPublished¶ Values must be of type <class ‘bool’>
-
graphic¶ Values must be of type <class ‘openpyxl.drawing.graphic.GraphicObject’>
-
macro¶ Values must be of type <class ‘str’>
-
nvGraphicFramePr¶ Values must be of type <class ‘openpyxl.drawing.graphic.NonVisualGraphicFrame’>
-
tagname= 'graphicFrame'¶
-
xfrm¶ Values must be of type <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¶ Values must be of type <class ‘openpyxl.descriptors.excel.ExtensionList’>
-
noChangeAspect¶ Values must be of type <class ‘bool’>
-
noDrilldown¶ Values must be of type <class ‘bool’>
-
noGrp¶ Values must be of type <class ‘bool’>
-
noMove¶ Values must be of type <class ‘bool’>
-
noResize¶ Values must be of type <class ‘bool’>
-
noSelect¶ Values must be of type <class ‘bool’>
-
-
class
openpyxl.drawing.graphic.GraphicObject(graphicData=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable-
graphicData¶ Values must be of type <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¶ Values must be of type <class ‘openpyxl.drawing.properties.GroupShapeProperties’>
-
nonVisualProperties¶ Aliases can be used when either the desired attribute name is not allowed or confusing in Python (eg. “type”) or a more descriptve name is desired (eg. “underline” for “u”)
-
nvGrpSpPr¶ Values must be of type <class ‘openpyxl.drawing.properties.NonVisualGroupShape’>
-
pic¶ Values must be of type <class ‘openpyxl.drawing.picture.PictureFrame’>
-
visualProperties¶ Aliases can be used when either the desired attribute name is not allowed or confusing in Python (eg. “type”) or a more descriptve name is desired (eg. “underline” for “u”)
-
-
class
openpyxl.drawing.graphic.NonVisualGraphicFrame(cNvPr=None, cNvGraphicFramePr=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable-
cNvGraphicFramePr¶ Values must be of type <class ‘openpyxl.drawing.graphic.NonVisualGraphicFrameProperties’>
-
cNvPr¶ Values must be of type <class ‘openpyxl.drawing.properties.NonVisualDrawingProps’>
-
tagname= 'nvGraphicFramePr'¶
-
-
class
openpyxl.drawing.graphic.NonVisualGraphicFrameProperties(graphicFrameLocks=None, extLst=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable-
extLst¶ Values must be of type <class ‘openpyxl.descriptors.excel.ExtensionList’>
-
graphicFrameLocks¶ Values must be of type <class ‘openpyxl.drawing.graphic.GraphicFrameLocking’>
-
tagname= 'cNvGraphicFramePr'¶
-