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 {‘artDeco’, ‘slope’, ‘circle’, ‘relaxedInset’, ‘coolSlant’, ‘divot’, ‘cross’, ‘angle’, ‘convex’, ‘hardEdge’, ‘softRound’, ‘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 {‘perspectiveHeroicLeftFacing’, ‘isometricOffAxis3Right’, ‘isometricOffAxis4Bottom’, ‘isometricLeftUp’, ‘obliqueBottomRight’, ‘perspectiveContrastingRightFacing’, ‘legacyObliqueTopRight’, ‘legacyPerspectiveBottom’, ‘legacyPerspectiveTop’, ‘isometricTopDown’, ‘isometricOffAxis3Left’, ‘isometricOffAxis4Right’, ‘obliqueTop’, ‘perspectiveAbove’, ‘legacyObliqueTop’, ‘legacyPerspectiveTopRight’, ‘isometricBottomDown’, ‘isometricOffAxis2Left’, ‘perspectiveRelaxed’, ‘isometricOffAxis2Right’, ‘legacyObliqueLeft’, ‘obliqueBottom’, ‘perspectiveHeroicRightFacing’, ‘perspectiveHeroicExtremeRightFacing’, ‘legacyObliqueBottom’, ‘isometricBottomUp’, ‘orthographicFront’, ‘perspectiveAboveRightFacing’, ‘isometricOffAxis3Bottom’, ‘perspectiveBelow’, ‘isometricOffAxis1Top’, ‘isometricRightUp’, ‘obliqueTopLeft’, ‘obliqueTopRight’, ‘isometricOffAxis1Left’, ‘isometricOffAxis4Left’, ‘perspectiveContrastingLeftFacing’, ‘legacyObliqueBottomRight’, ‘legacyPerspectiveBottomRight’, ‘legacyPerspectiveFront’, ‘legacyObliqueFront’, ‘legacyObliqueBottomLeft’, ‘perspectiveFront’, ‘legacyPerspectiveLeft’, ‘isometricTopUp’, ‘isometricOffAxis1Right’, ‘isometricOffAxis2Top’, ‘perspectiveRelaxedModerately’, ‘legacyObliqueRight’, ‘obliqueBottomLeft’, ‘perspectiveLeft’, ‘legacyPerspectiveRight’, ‘legacyPerspectiveBottomLeft’, ‘legacyObliqueTopLeft’, ‘legacyPerspectiveTopLeft’, ‘perspectiveRight’, ‘isometricRightDown’, ‘perspectiveAboveLeftFacing’, ‘obliqueLeft’, ‘isometricLeftDown’, ‘perspectiveHeroicExtremeLeftFacing’, ‘obliqueRight’}
- 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’, ‘tr’, ‘tl’, ‘br’, ‘t’, ‘bl’, ‘l’, ‘b’}
- rig
Value must be one of {‘legacyFlat3’, ‘harsh’, ‘twoPt’, ‘balanced’, ‘glow’, ‘flood’, ‘legacyHarsh4’, ‘legacyNormal3’, ‘soft’, ‘legacyFlat4’, ‘legacyHarsh1’, ‘sunset’, ‘freezing’, ‘sunrise’, ‘legacyHarsh2’, ‘legacyHarsh3’, ‘brightRoom’, ‘chilly’, ‘morning’, ‘legacyFlat1’, ‘contrasting’, ‘legacyNormal2’, ‘legacyFlat2’, ‘legacyNormal1’, ‘flat’, ‘legacyNormal4’, ‘threePt’}
- 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 {‘lightenLess’, ‘lighten’, ‘norm’, ‘darken’, ‘darkenLess’}
- 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
Values must be of type <class ‘int’>
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
Dimensions in EMUs
- tagname = 'ext'
- width
Values must be of type <class ‘int’>
- 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 {‘curvedConnector3’, ‘leftUpArrow’, ‘funnel’, ‘wedgeEllipseCallout’, ‘flowChartInternalStorage’, ‘flowChartDelay’, ‘flowChartDisplay’, ‘flowChartManualOperation’, ‘moon’, ‘flowChartPreparation’, ‘accentBorderCallout3’, ‘curvedLeftArrow’, ‘bentArrow’, ‘mathMinus’, ‘parallelogram’, ‘flowChartAlternateProcess’, ‘doubleWave’, ‘wedgeRectCallout’, ‘ribbon2’, ‘rect’, ‘star12’, ‘star32’, ‘actionButtonHelp’, ‘plaqueTabs’, ‘leftCircularArrow’, ‘diamond’, ‘leftRightUpArrow’, ‘heptagon’, ‘rightBrace’, ‘borderCallout1’, ‘triangle’, ‘bracePair’, ‘trapezoid’, ‘upArrow’, ‘actionButtonHome’, ‘star6’, ‘bentUpArrow’, ‘corner’, ‘actionButtonBlank’, ‘actionButtonMovie’, ‘uturnArrow’, ‘upDownArrow’, ‘flowChartSort’, ‘flowChartExtract’, ‘lightningBolt’, ‘bracketPair’, ‘leftBrace’, ‘straightConnector1’, ‘halfFrame’, ‘horizontalScroll’, ‘rightArrow’, ‘flowChartMagneticDisk’, ‘actionButtonDocument’, ‘leftRightRibbon’, ‘circularArrow’, ‘bentConnector3’, ‘flowChartMagneticTape’, ‘accentBorderCallout1’, ‘actionButtonReturn’, ‘lineInv’, ‘foldedCorner’, ‘flowChartPunchedTape’, ‘snip2DiagRect’, ‘snipRoundRect’, ‘flowChartMerge’, ‘plaque’, ‘quadArrow’, ‘flowChartConnector’, ‘accentBorderCallout2’, ‘downArrowCallout’, ‘accentCallout1’, ‘bentConnector5’, ‘ellipseRibbon2’, ‘pie’, ‘curvedRightArrow’, ‘gear9’, ‘borderCallout3’, ‘sun’, ‘actionButtonForwardNext’, ‘cube’, ‘mathEqual’, ‘chord’, ‘ribbon’, ‘flowChartSummingJunction’, ‘accentCallout3’, ‘bentConnector4’, ‘flowChartOfflineStorage’, ‘ellipseRibbon’, ‘irregularSeal2’, ‘bentConnector2’, ‘actionButtonEnd’, ‘flowChartProcess’, ‘actionButtonInformation’, ‘cloud’, ‘plus’, ‘flowChartOnlineStorage’, ‘mathMultiply’, ‘star16’, ‘rightBracket’, ‘pentagon’, ‘swooshArrow’, ‘cloudCallout’, ‘actionButtonSound’, ‘leftBracket’, ‘flowChartOr’, ‘mathPlus’, ‘cornerTabs’, ‘callout2’, ‘can’, ‘chartX’, ‘flowChartPunchedCard’, ‘blockArc’, ‘downArrow’, ‘leftArrowCallout’, ‘quadArrowCallout’, ‘line’, ‘heart’, ‘nonIsoscelesTrapezoid’, ‘roundRect’, ‘gear6’, ‘stripedRightArrow’, ‘wedgeRoundRectCallout’, ‘star24’, ‘flowChartPredefinedProcess’, ‘leftRightArrow’, ‘pieWedge’, ‘irregularSeal1’, ‘homePlate’, ‘round2SameRect’, ‘mathDivide’, ‘snip2SameRect’, ‘round1Rect’, ‘upDownArrowCallout’, ‘star8’, ‘arc’, ‘rtTriangle’, ‘leftRightArrowCallout’, ‘verticalScroll’, ‘star4’, ‘leftRightCircularArrow’, ‘frame’, ‘curvedUpArrow’, ‘ellipse’, ‘flowChartDocument’, ‘donut’, ‘bevel’, ‘flowChartOffpageConnector’, ‘diagStripe’, ‘curvedDownArrow’, ‘curvedConnector5’, ‘flowChartMultidocument’, ‘noSmoking’, ‘leftArrow’, ‘dodecagon’, ‘flowChartTerminator’, ‘star10’, ‘mathNotEqual’, ‘flowChartDecision’, ‘snip1Rect’, ‘smileyFace’, ‘accentCallout2’, ‘notchedRightArrow’, ‘octagon’, ‘squareTabs’, ‘callout1’, ‘chartStar’, ‘star5’, ‘decagon’, ‘round2DiagRect’, ‘borderCallout2’, ‘flowChartMagneticDrum’, ‘chartPlus’, ‘chevron’, ‘hexagon’, ‘actionButtonBeginning’, ‘upArrowCallout’, ‘rightArrowCallout’, ‘curvedConnector4’, ‘teardrop’, ‘star7’, ‘callout3’, ‘flowChartCollate’, ‘curvedConnector2’, ‘actionButtonBackPrevious’, ‘wave’, ‘flowChartManualInput’, ‘flowChartInputOutput’}
- 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 {‘legacyMatte’, ‘translucentPowder’, ‘clear’, ‘legacyMetal’, ‘plastic’, ‘matte’, ‘softEdge’, ‘powder’, ‘flat’, ‘legacyPlastic’, ‘warmMatte’, ‘softmetal’, ‘dkEdge’, ‘legacyWireframe’, ‘metal’}
- 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'