openpyxl.drawing.picture module¶
-
class
openpyxl.drawing.picture.NonVisualPictureProperties(preferRelativeResize=None, picLocks=None, extLst=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable-
extLst¶ Values must be of type <class ‘openpyxl.descriptors.excel.ExtensionList’>
-
picLocks¶ Values must be of type <class ‘openpyxl.drawing.picture.PictureLocking’>
-
preferRelativeResize¶ Values must be of type <class ‘bool’>
-
tagname= 'cNvPicPr'¶
-
-
class
openpyxl.drawing.picture.PictureFrame(macro=None, fPublished=None, nvPicPr=None, blipFill=None, spPr=None, style=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable-
blipFill¶ Values must be of type <class ‘openpyxl.drawing.fill.BlipFillProperties’>
-
fPublished¶ Values must be of type <class ‘bool’>
-
graphicalProperties¶ 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”)
-
macro¶ Values must be of type <class ‘str’>
-
nvPicPr¶ Values must be of type <class ‘openpyxl.drawing.picture.PictureNonVisual’>
-
spPr¶ Values must be of type <class ‘openpyxl.chart.shapes.GraphicalProperties’>
-
style¶ Values must be of type <class ‘openpyxl.drawing.geometry.ShapeStyle’>
-
tagname= 'pic'¶
-
-
class
openpyxl.drawing.picture.PictureLocking(noCrop=None, noGrp=None, noSelect=None, noRot=None, noChangeAspect=None, noMove=None, noResize=None, noEditPoints=None, noAdjustHandles=None, noChangeArrowheads=None, noChangeShapeType=None, extLst=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable-
extLst¶ Values must be of type <class ‘openpyxl.descriptors.excel.ExtensionList’>
-
namespace= 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
-
noAdjustHandles¶ Values must be of type <class ‘bool’>
-
noChangeArrowheads¶ Values must be of type <class ‘bool’>
-
noChangeAspect¶ Values must be of type <class ‘bool’>
-
noChangeShapeType¶ Values must be of type <class ‘bool’>
-
noCrop¶ Values must be of type <class ‘bool’>
-
noEditPoints¶ 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’>
-
noRot¶ Values must be of type <class ‘bool’>
-
noSelect¶ Values must be of type <class ‘bool’>
-
tagname= 'picLocks'¶
-
-
class
openpyxl.drawing.picture.PictureNonVisual(cNvPr=None, cNvPicPr=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable-
cNvPicPr¶ Values must be of type <class ‘openpyxl.drawing.picture.NonVisualPictureProperties’>
-
cNvPr¶ Values must be of type <class ‘openpyxl.drawing.properties.NonVisualDrawingProps’>
-
tagname= 'nvPicPr'¶
-