openpyxl.packaging.relationship模块¶
- class openpyxl.packaging.relationship.Relationship(Id=None, Type=None, type=None, Target=None, TargetMode=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
表示多种关系。
- Id¶
值的类型必须小于class'str'>
- Target¶
值的类型必须小于class'str'>
- TargetMode¶
值的类型必须小于class'str'>
- Type¶
值的类型必须小于class'str'>
- id¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- tagname = 'Relationship'¶
- target¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- class openpyxl.packaging.relationship.RelationshipList(Relationship=())[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- Relationship¶
只能包含声明类型的对象的序列(列表或元组)
- tagname = 'Relationships'¶