openpyxl.drawing.geometry模块

class openpyxl.drawing.geometry.AdjPoint2D(x=None, y=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

x

值的类型必须小于class“int”>

y

值的类型必须小于class“int”>

class openpyxl.drawing.geometry.AdjustHandleList[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

class openpyxl.drawing.geometry.Backdrop(anchor=None, norm=None, up=None, extLst=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

anchor

值的类型必须小于class“openpyxl.drawing.geometry.point3d”>

extLst

值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>

norm

值的类型必须小于“openpyxl.drawing.geometry.vector3d”>

up

值的类型必须小于“openpyxl.drawing.geometry.vector3d”>

class openpyxl.drawing.geometry.Bevel(w=None, h=None, prst=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

h

值的类型必须小于class“int”>

prst

Value must be one of {'hardEdge', 'riblet', 'slope', 'convex', 'softRound', 'coolSlant', 'circle', 'cross', 'angle', 'divot', 'artDeco', 'relaxedInset'}

tagname = 'bevel'
w

值的类型必须小于class“int”>

class openpyxl.drawing.geometry.Camera(prst=None, fov=None, zoom=None, rot=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

fov

值的类型必须小于class“int”>

prst

Value must be one of {'legacyPerspectiveTopLeft', 'isometricOffAxis2Right', 'isometricRightUp', 'isometricOffAxis3Left', 'legacyPerspectiveFront', 'perspectiveRelaxed', 'legacyPerspectiveTopRight', 'legacyPerspectiveBottomLeft', 'orthographicFront', 'isometricOffAxis4Right', 'isometricOffAxis4Bottom', 'perspectiveAbove', 'isometricBottomDown', 'perspectiveHeroicExtremeRightFacing', 'isometricTopDown', 'isometricOffAxis3Right', 'legacyPerspectiveBottom', 'perspectiveContrastingRightFacing', 'legacyObliqueBottomRight', 'legacyObliqueTopLeft', 'perspectiveRight', 'isometricOffAxis2Top', 'legacyObliqueFront', 'perspectiveAboveLeftFacing', 'legacyObliqueBottomLeft', 'isometricOffAxis1Right', 'obliqueTopRight', 'isometricBottomUp', 'perspectiveFront', 'isometricLeftDown', 'perspectiveHeroicRightFacing', 'perspectiveRelaxedModerately', 'legacyObliqueTop', 'legacyPerspectiveBottomRight', 'isometricOffAxis1Top', 'obliqueTopLeft', 'perspectiveAboveRightFacing', 'legacyPerspectiveRight', 'perspectiveContrastingLeftFacing', 'perspectiveBelow', 'perspectiveHeroicLeftFacing', 'perspectiveLeft', 'legacyPerspectiveTop', 'legacyObliqueRight', 'isometricTopUp', 'isometricOffAxis3Bottom', 'isometricLeftUp', 'obliqueTop', 'obliqueBottomLeft', 'legacyObliqueTopRight', 'isometricOffAxis1Left', 'legacyObliqueLeft', 'obliqueRight', 'isometricOffAxis4Left', 'perspectiveHeroicExtremeLeftFacing', 'legacyObliqueBottom', 'isometricRightDown', 'obliqueBottom', 'obliqueBottomRight', 'legacyPerspectiveLeft', 'obliqueLeft', 'isometricOffAxis2Left'}

rot

值的类型必须小于class“openpyxl.drawing.geometry.spherecords”>

tagname = 'camera'
zoom

值的类型必须小于class“openpyxl.descriptors.excel.percentage”>

class openpyxl.drawing.geometry.ConnectionSite(ang=None, pos=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

ang

值的类型必须小于class“float”>

pos

值的类型必须小于class“openpyxl.drawing.geometry.adjpoint2d”>

class openpyxl.drawing.geometry.ConnectionSiteList(cxn=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

cxn

值的类型必须小于class“openpyxl.drawing.geometry.connectionsite”>

class openpyxl.drawing.geometry.CustomGeometry2D(avLst=None, gdLst=None, ahLst=None, cxnLst=None, rect=None, pathLst=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

ahLst

值的类型必须小于“openpyxl.drawing.geometry.adjusthandlelist”>

avLst

值的类型必须小于“openpyxl.drawing.geometry.geomGuideList”>

cxnLst

值的类型必须小于class“openpyxl.drawing.geometry.connectionsitelist”>

gdLst

值的类型必须小于“openpyxl.drawing.geometry.geomGuideList”>

pathLst

值的类型必须小于class“openpyxl.drawing.geometry.path2dlist”>

rect

值的类型必须小于class“openpyxl.drawing.geometry.geomrect”>

class openpyxl.drawing.geometry.FontReference(idx=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

idx

Value must be one of {'minor', 'major'}

class openpyxl.drawing.geometry.GeomGuide(name=None, fmla=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

fmla

值的类型必须小于class'str'>

name

值的类型必须小于class'str'>

class openpyxl.drawing.geometry.GeomGuideList(gd=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

gd

值的类型必须小于“openpyxl.drawing.geometry.geomguide”>

class openpyxl.drawing.geometry.GeomRect(l=None, t=None, r=None, b=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

b

值的类型必须小于class“int”>

l

值的类型必须小于class“int”>

r

值的类型必须小于class“int”>

t

值的类型必须小于class“int”>

class openpyxl.drawing.geometry.GroupTransform2D(rot=0, flipH=None, flipV=None, off=None, ext=None, chOff=None, chExt=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

chExt

值的类型必须小于“openpyxl.drawing.geometry.positivesize2d”>

chOff

值的类型必须小于class“openpyxl.drawing.geometry.point2d”>

ext

值的类型必须小于“openpyxl.drawing.geometry.positivesize2d”>

flipH

值的类型必须小于class'bool'>

flipV

值的类型必须小于class'bool'>

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
off

值的类型必须小于class“openpyxl.drawing.geometry.point2d”>

rot

值的类型必须小于class“int”>

tagname = 'xfrm'
class openpyxl.drawing.geometry.LightRig(rig=None, dir=None, rot=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

dir

Value must be one of {'tr', 't', 'l', 'b', 'br', 'r', 'bl', 'tl'}

rig

Value must be one of {'legacyNormal4', 'chilly', 'flood', 'legacyHarsh3', 'sunrise', 'freezing', 'brightRoom', 'morning', 'legacyFlat4', 'legacyFlat2', 'legacyNormal3', 'legacyHarsh4', 'legacyHarsh2', 'legacyHarsh1', 'legacyFlat3', 'threePt', 'contrasting', 'soft', 'flat', 'legacyNormal2', 'sunset', 'legacyNormal1', 'twoPt', 'glow', 'legacyFlat1', 'balanced', 'harsh'}

rot

值的类型必须小于class“openpyxl.drawing.geometry.spherecords”>

tagname = 'lightRig'
class openpyxl.drawing.geometry.Path2D(w=None, h=None, fill=None, stroke=None, extrusionOk=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

extrusionOk

值的类型必须小于class'bool'>

fill

Value must be one of {'lightenLess', 'lighten', 'norm', 'darkenLess', 'darken'}

h

值的类型必须小于class“float”>

stroke

值的类型必须小于class'bool'>

w

值的类型必须小于class“float”>

class openpyxl.drawing.geometry.Path2DList(path=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

path

值的类型必须小于class“openpyxl.drawing.geometry.path2d”>

class openpyxl.drawing.geometry.Point2D(x=None, y=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
tagname = 'off'
x

值的类型必须小于class“int”>

y

值的类型必须小于class“int”>

class openpyxl.drawing.geometry.Point3D(x=None, y=None, z=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

tagname = 'anchor'
x

值的类型必须小于class“int”>

y

值的类型必须小于class“int”>

z

值的类型必须小于class“int”>

class openpyxl.drawing.geometry.PositiveSize2D(cx=None, cy=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

cx

值的类型必须小于class“int”>

cy

值的类型必须小于class“int”>

height

在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'

EMU中的尺寸

tagname = 'ext'
width

在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。

class openpyxl.drawing.geometry.PresetGeometry2D(prst=None, avLst=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

avLst

值的类型必须小于“openpyxl.drawing.geometry.geomGuideList”>

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
prst

Value must be one of {'actionButtonBackPrevious', 'straightConnector1', 'wave', 'flowChartPunchedCard', 'bentUpArrow', 'star10', 'frame', 'leftRightCircularArrow', 'accentCallout1', 'bentConnector2', 'flowChartManualInput', 'flowChartPreparation', 'curvedDownArrow', 'flowChartOr', 'flowChartMagneticDrum', 'flowChartMagneticDisk', 'actionButtonBlank', 'actionButtonEnd', 'rtTriangle', 'star4', 'ellipseRibbon', 'pentagon', 'wedgeRectCallout', 'flowChartSort', 'actionButtonInformation', 'ellipse', 'leftArrow', 'can', 'notchedRightArrow', 'accentBorderCallout2', 'curvedRightArrow', 'bentConnector4', 'flowChartMultidocument', 'gear6', 'snip2DiagRect', 'triangle', 'actionButtonHelp', 'chartStar', 'swooshArrow', 'flowChartExtract', 'flowChartDisplay', 'snip1Rect', 'cloudCallout', 'rect', 'cloud', 'leftBracket', 'wedgeRoundRectCallout', 'circularArrow', 'diamond', 'lineInv', 'octagon', 'actionButtonBeginning', 'star12', 'callout3', 'dodecagon', 'foldedCorner', 'callout1', 'plaque', 'mathMinus', 'blockArc', 'flowChartOffpageConnector', 'flowChartPredefinedProcess', 'star7', 'moon', 'irregularSeal1', 'borderCallout1', 'ribbon2', 'gear9', 'chartX', 'star5', 'round2SameRect', 'homePlate', 'sun', 'irregularSeal2', 'ribbon', 'doubleWave', 'bentConnector3', 'diagStripe', 'heart', 'leftRightRibbon', 'star6', 'leftRightArrow', 'rightArrowCallout', 'flowChartOnlineStorage', 'funnel', 'decagon', 'flowChartPunchedTape', 'actionButtonSound', 'smileyFace', 'heptagon', 'cornerTabs', 'accentCallout2', 'round1Rect', 'parallelogram', 'teardrop', 'upArrowCallout', 'mathEqual', 'donut', 'flowChartInputOutput', 'mathPlus', 'corner', 'wedgeEllipseCallout', 'accentBorderCallout1', 'quadArrowCallout', 'quadArrow', 'leftArrowCallout', 'bentConnector5', 'leftBrace', 'horizontalScroll', 'halfFrame', 'accentBorderCallout3', 'flowChartInternalStorage', 'flowChartAlternateProcess', 'flowChartDecision', 'mathMultiply', 'bentArrow', 'flowChartManualOperation', 'curvedConnector2', 'pie', 'flowChartMerge', 'curvedUpArrow', 'line', 'flowChartCollate', 'actionButtonReturn', 'plaqueTabs', 'squareTabs', 'leftRightUpArrow', 'nonIsoscelesTrapezoid', 'flowChartProcess', 'mathNotEqual', 'curvedConnector3', 'star32', 'chartPlus', 'callout2', 'chevron', 'flowChartMagneticTape', 'upArrow', 'rightBracket', 'star16', 'star24', 'accentCallout3', 'actionButtonForwardNext', 'flowChartSummingJunction', 'uturnArrow', 'leftUpArrow', 'mathDivide', 'noSmoking', 'downArrowCallout', 'snip2SameRect', 'flowChartOfflineStorage', 'leftCircularArrow', 'bracePair', 'trapezoid', 'hexagon', 'leftRightArrowCallout', 'pieWedge', 'roundRect', 'upDownArrow', 'flowChartConnector', 'chord', 'upDownArrowCallout', 'bracketPair', 'verticalScroll', 'flowChartTerminator', 'flowChartDocument', 'rightBrace', 'lightningBolt', 'round2DiagRect', 'plus', 'curvedConnector5', 'curvedConnector4', 'bevel', 'borderCallout2', 'arc', 'actionButtonMovie', 'curvedLeftArrow', 'downArrow', 'stripedRightArrow', 'star8', 'actionButtonHome', 'flowChartDelay', 'snipRoundRect', 'cube', 'borderCallout3', 'ellipseRibbon2', 'actionButtonDocument', 'rightArrow'}

class openpyxl.drawing.geometry.Scene3D(camera=None, lightRig=None, backdrop=None, extLst=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

backdrop

值的类型必须小于class“openpyxl.drawing.geometry.backdrop”>

camera

值的类型必须小于class“openpyxl.drawing.geometry.camera”>

extLst

值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>

lightRig

值的类型必须小于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)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

bevelB

值的类型必须小于class“openpyxl.drawing.geometry.bevel”>

bevelT

值的类型必须小于class“openpyxl.drawing.geometry.bevel”>

contourClr

值的类型必须小于class“openpyxl.styles.colors.color”>

contourW

值的类型必须小于class“int”>

extLst

值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>

extrusionClr

值的类型必须小于class“openpyxl.styles.colors.color”>

extrusionH

值的类型必须小于class“int”>

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
prstMaterial

Value must be one of {'softmetal', 'softEdge', 'legacyPlastic', 'warmMatte', 'dkEdge', 'legacyMatte', 'clear', 'powder', 'plastic', 'legacyMetal', 'metal', 'flat', 'translucentPowder', 'legacyWireframe', 'matte'}

z

值的类型必须小于class“openpyxl.descriptors.base.integer”>

class openpyxl.drawing.geometry.ShapeStyle(lnRef=None, fillRef=None, effectRef=None, fontRef=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

effectRef

值的类型必须小于class“openpyxl.drawing.geometry.stylematrixreference”>

fillRef

值的类型必须小于class“openpyxl.drawing.geometry.stylematrixreference”>

fontRef

值的类型必须小于class“openpyxl.drawing.geometry.fontreference”>

lnRef

值的类型必须小于class“openpyxl.drawing.geometry.stylematrixreference”>

class openpyxl.drawing.geometry.SphereCoords(lat=None, lon=None, rev=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

lat

值的类型必须小于class“int”>

lon

值的类型必须小于class“int”>

rev

值的类型必须小于class“int”>

tagname = 'sphereCoords'
class openpyxl.drawing.geometry.StyleMatrixReference(idx=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

idx

值的类型必须小于class“int”>

class openpyxl.drawing.geometry.Transform2D(rot=None, flipH=None, flipV=None, off=None, ext=None, chOff=None, chExt=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

chExt

值的类型必须小于“openpyxl.drawing.geometry.positivesize2d”>

chOff

值的类型必须小于class“openpyxl.drawing.geometry.point2d”>

ext

值的类型必须小于“openpyxl.drawing.geometry.positivesize2d”>

flipH

值的类型必须小于class'bool'>

flipV

值的类型必须小于class'bool'>

namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'
off

值的类型必须小于class“openpyxl.drawing.geometry.point2d”>

rot

值的类型必须小于class“int”>

tagname = 'xfrm'
class openpyxl.drawing.geometry.Vector3D(dx=None, dy=None, dz=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

dx

值的类型必须小于class“int”>

dy

值的类型必须小于class“int”>

dz

值的类型必须小于class“int”>

tagname = 'vector'