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