Paper Office
paper-xlsxAPI referencepackaging.relationship

RelationshipList

paper-xlsx 0.2.1 API reference

Attributes

expected_type

attributeexpected_type
= Relationship

tagname

attributetagname
= 'Relationships'

Functions

append

funcappend(value)
paramvalue

find

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_type

from_tree

funcfrom_tree(tree)
paramtree

get

funcget(key)
paramkey

to_dict

functo_dict()

Return a dictionary of relations keyed by id

to_tree

functo_tree()

On this page