paper-xlsxAPI referencepackaging.relationship
RelationshipList
paper-xlsx 0.2.1 API reference
Attributes
expected_type
attributeexpected_type= Relationshiptagname
attributetagname= 'Relationships'Functions
append
funcappend(value)paramvaluefind
funcfind(content_type)Find relationships by content-type NB. these content-types namespaced objects and different to the MIME-types in the package manifest :-(
paramcontent_typefrom_tree
funcfrom_tree(tree)paramtreeget
funcget(key)paramkeyto_dict
functo_dict()Return a dictionary of relations keyed by id
to_tree
functo_tree()