opc.relspart module#

class opc.relspart.RelsPart(parent, uri_str, type_)[source]#

Class of part objects that are of type rels. Inherits the Part class

get_lst_target_rel_uri_str(reltype)[source]#

Gets the list of relative uri str of the target part related by the given reltype

Parameters:

reltype – str value

Returns:

list of Target attribute values of parts related by reltype

get_target_rel_uri_str(rid)[source]#

gets the target value for the relatioship with id as given rid

Parameters:

rid – relation id string value

Returns:

string value of relationship’s target value in xml

type = 'application/vnd.openxmlformats-package.relationships+xml'#