openpyxl.drawing.connector module¶
- class openpyxl.drawing.connector.Connection(id=None, idx=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- id¶
Values must be of type <class ‘int’>
- idx¶
Values must be of type <class ‘int’>
- class openpyxl.drawing.connector.ConnectorLocking(extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- extLst¶
Values must be of type <class ‘openpyxl.descriptors.excel.ExtensionList’>
- class openpyxl.drawing.connector.ConnectorNonVisual(cNvPr=None, cNvCxnSpPr=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- cNvCxnSpPr¶
Values must be of type <class ‘openpyxl.drawing.connector.NonVisualConnectorProperties’>
- cNvPr¶
Values must be of type <class ‘openpyxl.drawing.properties.NonVisualDrawingProps’>
- class openpyxl.drawing.connector.ConnectorShape(nvCxnSpPr=None, spPr=None, style=None, macro=None, fPublished=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- fPublished¶
Values must be of type <class ‘bool’>
- macro¶
Values must be of type <class ‘str’>
- nvCxnSpPr¶
Values must be of type <class ‘openpyxl.drawing.connector.ConnectorNonVisual’>
- spPr¶
Values must be of type <class ‘openpyxl.chart.shapes.GraphicalProperties’>
- style¶
Values must be of type <class ‘openpyxl.drawing.geometry.ShapeStyle’>
- tagname = 'cxnSp'¶
- class openpyxl.drawing.connector.NonVisualConnectorProperties(cxnSpLocks=None, stCxn=None, endCxn=None, extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- cxnSpLocks¶
Values must be of type <class ‘openpyxl.drawing.connector.ConnectorLocking’>
- endCxn¶
Values must be of type <class ‘openpyxl.drawing.connector.Connection’>
- extLst¶
Values must be of type <class ‘openpyxl.descriptors.excel.ExtensionList’>
- stCxn¶
Values must be of type <class ‘openpyxl.drawing.connector.Connection’>
- class openpyxl.drawing.connector.Shape(macro=None, textlink=None, fPublished=None, fLocksText=None, nvSpPr=None, spPr=None, style=None, txBody=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- fLocksText¶
Values must be of type <class ‘bool’>
- 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’>
- meta¶
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”)
- nvSpPr¶
Values must be of type <class ‘openpyxl.drawing.connector.ShapeMeta’>
- spPr¶
Values must be of type <class ‘openpyxl.chart.shapes.GraphicalProperties’>
- style¶
Values must be of type <class ‘openpyxl.drawing.geometry.ShapeStyle’>
- textlink¶
Values must be of type <class ‘str’>
- txBody¶
Values must be of type <class ‘openpyxl.chart.text.RichText’>
- class openpyxl.drawing.connector.ShapeMeta(cNvPr=None, cNvSpPr=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- cNvPr¶
Values must be of type <class ‘openpyxl.drawing.properties.NonVisualDrawingProps’>
- cNvSpPr¶
Values must be of type <class ‘openpyxl.drawing.properties.NonVisualDrawingShapeProps’>
- tagname = 'nvSpPr'¶