openpyxl.drawing.geometry module
- class openpyxl.drawing.geometry.AdjPoint2D(x=None, y=None)[source]
Bases:
Serialisable
- x
Values must be of type <class ‘int’>
- y
Values must be of type <class ‘int’>
- class openpyxl.drawing.geometry.AdjustHandleList[source]
Bases:
Serialisable
- class openpyxl.drawing.geometry.Backdrop(anchor=None, norm=None, up=None, extLst=None)[source]
Bases:
Serialisable
- anchor
Values must be of type <class ‘openpyxl.drawing.geometry.Point3D’>
- extLst
Values must be of type <class ‘openpyxl.descriptors.excel.ExtensionList’>
- norm
Values must be of type <class ‘openpyxl.drawing.geometry.Vector3D’>
- up
Values must be of type <class ‘openpyxl.drawing.geometry.Vector3D’>
- class openpyxl.drawing.geometry.Bevel(w=None, h=None, prst=None)[source]
Bases:
Serialisable
- h
Values must be of type <class ‘int’>
- prst
Value must be one of {‘divot’, ‘artDeco’, ‘cross’, ‘relaxedInset’, ‘slope’, ‘coolSlant’, ‘softRound’, ‘hardEdge’, ‘angle’, ‘convex’, ‘circle’, ‘riblet’}
- tagname = 'bevel'
- w
Values must be of type <class ‘int’>
- class openpyxl.drawing.geometry.Camera(prst=None, fov=None, zoom=None, rot=None)[source]
Bases:
Serialisable
- fov
Values must be of type <class ‘int’>
- prst
Value must be one of {‘legacyObliqueFront’, ‘isometricTopDown’, ‘perspectiveAbove’, ‘obliqueTopRight’, ‘perspectiveHeroicLeftFacing’, ‘perspectiveRelaxedModerately’, ‘obliqueLeft’, ‘isometricBottomDown’, ‘legacyPerspectiveTop’, ‘legacyPerspectiveBottomLeft’, ‘legacyPerspectiveFront’, ‘isometricOffAxis1Left’, ‘isometricOffAxis1Right’, ‘obliqueBottom’, ‘obliqueTopLeft’, ‘legacyPerspectiveBottomRight’, ‘isometricRightDown’, ‘perspectiveRight’, ‘perspectiveContrastingLeftFacing’, ‘legacyPerspectiveTopRight’, ‘isometricOffAxis4Right’, ‘perspectiveHeroicExtremeRightFacing’, ‘legacyPerspectiveRight’, ‘perspectiveHeroicRightFacing’, ‘legacyObliqueTopRight’, ‘isometricRightUp’, ‘obliqueTop’, ‘legacyObliqueTop’, ‘obliqueBottomLeft’, ‘obliqueBottomRight’, ‘legacyObliqueRight’, ‘legacyObliqueBottomLeft’, ‘isometricBottomUp’, ‘obliqueRight’, ‘perspectiveAboveRightFacing’, ‘perspectiveHeroicExtremeLeftFacing’, ‘isometricLeftUp’, ‘isometricOffAxis4Left’, ‘legacyPerspectiveBottom’, ‘perspectiveFront’, ‘perspectiveBelow’, ‘perspectiveAboveLeftFacing’, ‘orthographicFront’, ‘perspectiveRelaxed’, ‘isometricOffAxis2Right’, ‘isometricTopUp’, ‘isometricOffAxis3Left’, ‘isometricOffAxis4Bottom’, ‘perspectiveContrastingRightFacing’, ‘legacyObliqueTopLeft’, ‘isometricOffAxis1Top’, ‘legacyPerspectiveLeft’, ‘legacyPerspectiveTopLeft’, ‘isometricOffAxis2Left’, ‘isometricOffAxis2Top’, ‘legacyObliqueLeft’, ‘legacyObliqueBottom’, ‘isometricOffAxis3Right’, ‘isometricOffAxis3Bottom’, ‘isometricLeftDown’, ‘perspectiveLeft’, ‘legacyObliqueBottomRight’}
- rot
Values must be of type <class ‘openpyxl.drawing.geometry.SphereCoords’>
- tagname = 'camera'
- zoom
Values must be of type <class ‘openpyxl.descriptors.excel.Percentage’>
- class openpyxl.drawing.geometry.ConnectionSite(ang=None, pos=None)[source]
Bases:
Serialisable
- ang
Values must be of type <class ‘float’>
- pos
Values must be of type <class ‘openpyxl.drawing.geometry.AdjPoint2D’>
- class openpyxl.drawing.geometry.ConnectionSiteList(cxn=None)[source]
Bases:
Serialisable
- cxn
Values must be of type <class ‘openpyxl.drawing.geometry.ConnectionSite’>
- class openpyxl.drawing.geometry.CustomGeometry2D(avLst=None, gdLst=None, ahLst=None, cxnLst=None, rect=None, pathLst=None)[source]
Bases:
Serialisable
- ahLst
Values must be of type <class ‘openpyxl.drawing.geometry.AdjustHandleList’>
- avLst
Values must be of type <class ‘openpyxl.drawing.geometry.GeomGuideList’>
- cxnLst
Values must be of type <class ‘openpyxl.drawing.geometry.ConnectionSiteList’>
- gdLst
Values must be of type <class ‘openpyxl.drawing.geometry.GeomGuideList’>
- pathLst
Values must be of type <class ‘openpyxl.drawing.geometry.Path2DList’>
- class openpyxl.drawing.geometry.FontReference(idx=None)[source]
Bases:
Serialisable
- idx
Value must be one of {‘minor’, ‘major’}
- class openpyxl.drawing.geometry.GeomGuide(name=None, fmla=None)[source]
Bases:
Serialisable
- fmla
Values must be of type <class ‘str’>
- name
Values must be of type <class ‘str’>
- class openpyxl.drawing.geometry.GeomGuideList(gd=None)[source]
Bases:
Serialisable
- gd
Values must be of type <class ‘openpyxl.drawing.geometry.GeomGuide’>
- class openpyxl.drawing.geometry.GeomRect(l=None, t=None, r=None, b=None)[source]
Bases:
Serialisable
- b
Values must be of type <class ‘int’>
- l
Values must be of type <class ‘int’>
- r
Values must be of type <class ‘int’>
- t
Values must be of type <class ‘int’>
- class openpyxl.drawing.geometry.GroupTransform2D(rot=0, flipH=None, flipV=None, off=None, ext=None, chOff=None, chExt=None)[source]
Bases:
Serialisable
- chExt
Values must be of type <class ‘openpyxl.drawing.geometry.PositiveSize2D’>
- chOff
Values must be of type <class ‘openpyxl.drawing.geometry.Point2D’>
- ext
Values must be of type <class ‘openpyxl.drawing.geometry.PositiveSize2D’>
- flipH
Values must be of type <class ‘bool’>
- flipV
Values must be of type <class ‘bool’>
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
- off
Values must be of type <class ‘openpyxl.drawing.geometry.Point2D’>
- rot
Values must be of type <class ‘int’>
- tagname = 'xfrm'
- class openpyxl.drawing.geometry.LightRig(rig=None, dir=None, rot=None)[source]
Bases:
Serialisable
- dir
Value must be one of {‘r’, ‘t’, ‘l’, ‘br’, ‘b’, ‘tl’, ‘bl’, ‘tr’}
- rig
Value must be one of {‘glow’, ‘legacyNormal3’, ‘legacyFlat2’, ‘soft’, ‘legacyNormal4’, ‘legacyHarsh1’, ‘flood’, ‘legacyHarsh4’, ‘legacyNormal1’, ‘legacyHarsh3’, ‘legacyFlat3’, ‘legacyFlat4’, ‘sunset’, ‘brightRoom’, ‘legacyHarsh2’, ‘threePt’, ‘flat’, ‘legacyNormal2’, ‘sunrise’, ‘morning’, ‘chilly’, ‘twoPt’, ‘harsh’, ‘legacyFlat1’, ‘freezing’, ‘contrasting’, ‘balanced’}
- rot
Values must be of type <class ‘openpyxl.drawing.geometry.SphereCoords’>
- tagname = 'lightRig'
- class openpyxl.drawing.geometry.Path2D(w=None, h=None, fill=None, stroke=None, extrusionOk=None)[source]
Bases:
Serialisable
- extrusionOk
Values must be of type <class ‘bool’>
- fill
Value must be one of {‘lighten’, ‘norm’, ‘darkenLess’, ‘darken’, ‘lightenLess’}
- h
Values must be of type <class ‘float’>
- stroke
Values must be of type <class ‘bool’>
- w
Values must be of type <class ‘float’>
- class openpyxl.drawing.geometry.Path2DList(path=None)[source]
Bases:
Serialisable
- path
Values must be of type <class ‘openpyxl.drawing.geometry.Path2D’>
- class openpyxl.drawing.geometry.Point2D(x=None, y=None)[source]
Bases:
Serialisable
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
- tagname = 'off'
- x
Values must be of type <class ‘int’>
- y
Values must be of type <class ‘int’>
- class openpyxl.drawing.geometry.Point3D(x=None, y=None, z=None)[source]
Bases:
Serialisable
- tagname = 'anchor'
- x
Values must be of type <class ‘int’>
- y
Values must be of type <class ‘int’>
- z
Values must be of type <class ‘int’>
- class openpyxl.drawing.geometry.PositiveSize2D(cx=None, cy=None)[source]
Bases:
Serialisable
- cx
Values must be of type <class ‘int’>
- cy
Values must be of type <class ‘int’>
- height
Aliases can be used when either the desired attribute name is not allowed or confusing in Python (eg. “type”) or a more descriptive name is desired (eg. “underline” for “u”)
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
Dimensions in EMUs
- tagname = 'ext'
- width
Aliases can be used when either the desired attribute name is not allowed or confusing in Python (eg. “type”) or a more descriptive name is desired (eg. “underline” for “u”)
- class openpyxl.drawing.geometry.PresetGeometry2D(prst=None, avLst=None)[source]
Bases:
Serialisable
- avLst
Values must be of type <class ‘openpyxl.drawing.geometry.GeomGuideList’>
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
- prst
Value must be one of {‘snip2DiagRect’, ‘star5’, ‘donut’, ‘leftRightArrow’, ‘flowChartPredefinedProcess’, ‘triangle’, ‘upDownArrow’, ‘verticalScroll’, ‘flowChartMagneticDrum’, ‘actionButtonDocument’, ‘parallelogram’, ‘round2DiagRect’, ‘flowChartMagneticDisk’, ‘gear6’, ‘curvedDownArrow’, ‘ellipseRibbon2’, ‘leftArrowCallout’, ‘flowChartConnector’, ‘cube’, ‘actionButtonMovie’, ‘actionButtonEnd’, ‘quadArrowCallout’, ‘sun’, ‘noSmoking’, ‘flowChartExtract’, ‘rightArrowCallout’, ‘flowChartMagneticTape’, ‘mathEqual’, ‘cloudCallout’, ‘funnel’, ‘cornerTabs’, ‘star12’, ‘curvedLeftArrow’, ‘curvedConnector2’, ‘mathMultiply’, ‘flowChartOnlineStorage’, ‘actionButtonBeginning’, ‘flowChartCollate’, ‘gear9’, ‘squareTabs’, ‘wave’, ‘uturnArrow’, ‘mathDivide’, ‘upArrow’, ‘heart’, ‘star6’, ‘chartStar’, ‘snip1Rect’, ‘chartPlus’, ‘curvedConnector3’, ‘bentConnector4’, ‘flowChartMerge’, ‘curvedConnector4’, ‘irregularSeal2’, ‘leftCircularArrow’, ‘teardrop’, ‘downArrow’, ‘can’, ‘foldedCorner’, ‘flowChartDisplay’, ‘leftArrow’, ‘lightningBolt’, ‘heptagon’, ‘accentCallout1’, ‘star4’, ‘star8’, ‘flowChartProcess’, ‘flowChartPunchedCard’, ‘actionButtonSound’, ‘flowChartTerminator’, ‘mathPlus’, ‘star16’, ‘actionButtonHome’, ‘blockArc’, ‘bevel’, ‘rightArrow’, ‘flowChartAlternateProcess’, ‘leftRightRibbon’, ‘callout2’, ‘accentBorderCallout1’, ‘wedgeEllipseCallout’, ‘flowChartOffpageConnector’, ‘star32’, ‘bentUpArrow’, ‘notchedRightArrow’, ‘leftUpArrow’, ‘irregularSeal1’, ‘upDownArrowCallout’, ‘corner’, ‘plaque’, ‘flowChartManualInput’, ‘flowChartOfflineStorage’, ‘actionButtonHelp’, ‘chevron’, ‘flowChartPunchedTape’, ‘diamond’, ‘flowChartMultidocument’, ‘snip2SameRect’, ‘moon’, ‘bracketPair’, ‘quadArrow’, ‘flowChartSummingJunction’, ‘leftRightArrowCallout’, ‘leftRightCircularArrow’, ‘homePlate’, ‘bentConnector2’, ‘actionButtonForwardNext’, ‘flowChartDocument’, ‘line’, ‘wedgeRectCallout’, ‘cloud’, ‘lineInv’, ‘plaqueTabs’, ‘ribbon’, ‘accentCallout3’, ‘mathNotEqual’, ‘hexagon’, ‘actionButtonBackPrevious’, ‘rtTriangle’, ‘flowChartSort’, ‘frame’, ‘upArrowCallout’, ‘bentConnector3’, ‘borderCallout3’, ‘chord’, ‘doubleWave’, ‘rightBracket’, ‘round2SameRect’, ‘roundRect’, ‘borderCallout1’, ‘diagStripe’, ‘flowChartDecision’, ‘flowChartManualOperation’, ‘dodecagon’, ‘stripedRightArrow’, ‘star24’, ‘bracePair’, ‘callout3’, ‘rightBrace’, ‘borderCallout2’, ‘ellipseRibbon’, ‘mathMinus’, ‘leftBracket’, ‘curvedConnector5’, ‘accentBorderCallout2’, ‘decagon’, ‘actionButtonInformation’, ‘pieWedge’, ‘plus’, ‘circularArrow’, ‘curvedUpArrow’, ‘flowChartInputOutput’, ‘leftBrace’, ‘halfFrame’, ‘snipRoundRect’, ‘downArrowCallout’, ‘trapezoid’, ‘callout1’, ‘bentConnector5’, ‘arc’, ‘accentBorderCallout3’, ‘flowChartPreparation’, ‘swooshArrow’, ‘actionButtonReturn’, ‘nonIsoscelesTrapezoid’, ‘ellipse’, ‘star10’, ‘straightConnector1’, ‘wedgeRoundRectCallout’, ‘flowChartOr’, ‘leftRightUpArrow’, ‘octagon’, ‘horizontalScroll’, ‘star7’, ‘chartX’, ‘actionButtonBlank’, ‘bentArrow’, ‘flowChartDelay’, ‘accentCallout2’, ‘rect’, ‘ribbon2’, ‘curvedRightArrow’, ‘flowChartInternalStorage’, ‘smileyFace’, ‘pie’, ‘round1Rect’, ‘pentagon’}
- class openpyxl.drawing.geometry.Scene3D(camera=None, lightRig=None, backdrop=None, extLst=None)[source]
Bases:
Serialisable
- backdrop
Values must be of type <class ‘openpyxl.drawing.geometry.Backdrop’>
- camera
Values must be of type <class ‘openpyxl.drawing.geometry.Camera’>
- extLst
Values must be of type <class ‘openpyxl.descriptors.excel.ExtensionList’>
- lightRig
Values must be of type <class ‘openpyxl.drawing.geometry.LightRig’>
- class openpyxl.drawing.geometry.Shape3D(z=None, extrusionH=None, contourW=None, prstMaterial=None, bevelT=None, bevelB=None, extrusionClr=None, contourClr=None, extLst=None)[source]
Bases:
Serialisable
- bevelB
Values must be of type <class ‘openpyxl.drawing.geometry.Bevel’>
- bevelT
Values must be of type <class ‘openpyxl.drawing.geometry.Bevel’>
- contourClr
Values must be of type <class ‘openpyxl.styles.colors.Color’>
- contourW
Values must be of type <class ‘int’>
- extLst
Values must be of type <class ‘openpyxl.descriptors.excel.ExtensionList’>
- extrusionClr
Values must be of type <class ‘openpyxl.styles.colors.Color’>
- extrusionH
Values must be of type <class ‘int’>
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
- prstMaterial
Value must be one of {‘softEdge’, ‘clear’, ‘legacyMatte’, ‘powder’, ‘dkEdge’, ‘flat’, ‘softmetal’, ‘matte’, ‘metal’, ‘plastic’, ‘translucentPowder’, ‘legacyMetal’, ‘legacyWireframe’, ‘legacyPlastic’, ‘warmMatte’}
- z
Values must be of type <class ‘openpyxl.descriptors.base.Integer’>
- class openpyxl.drawing.geometry.ShapeStyle(lnRef=None, fillRef=None, effectRef=None, fontRef=None)[source]
Bases:
Serialisable
- effectRef
Values must be of type <class ‘openpyxl.drawing.geometry.StyleMatrixReference’>
- fillRef
Values must be of type <class ‘openpyxl.drawing.geometry.StyleMatrixReference’>
- fontRef
Values must be of type <class ‘openpyxl.drawing.geometry.FontReference’>
- lnRef
Values must be of type <class ‘openpyxl.drawing.geometry.StyleMatrixReference’>
- class openpyxl.drawing.geometry.SphereCoords(lat=None, lon=None, rev=None)[source]
Bases:
Serialisable
- lat
Values must be of type <class ‘int’>
- lon
Values must be of type <class ‘int’>
- rev
Values must be of type <class ‘int’>
- tagname = 'sphereCoords'
- class openpyxl.drawing.geometry.StyleMatrixReference(idx=None)[source]
Bases:
Serialisable
- idx
Values must be of type <class ‘int’>
- class openpyxl.drawing.geometry.Transform2D(rot=None, flipH=None, flipV=None, off=None, ext=None, chOff=None, chExt=None)[source]
Bases:
Serialisable
- chExt
Values must be of type <class ‘openpyxl.drawing.geometry.PositiveSize2D’>
- chOff
Values must be of type <class ‘openpyxl.drawing.geometry.Point2D’>
- ext
Values must be of type <class ‘openpyxl.drawing.geometry.PositiveSize2D’>
- flipH
Values must be of type <class ‘bool’>
- flipV
Values must be of type <class ‘bool’>
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
- off
Values must be of type <class ‘openpyxl.drawing.geometry.Point2D’>
- rot
Values must be of type <class ‘int’>
- tagname = 'xfrm'