RelationshipsManager

RelationshipsManager — Aspose.Slides FOSS Java API Reference

RelationshipsManager — Manages relationships (.

Package: org.aspose.slides.foss.internal.opc


Properties

PropertyTypeAccessDescription
allRelationshipsList<Relationship>Read/Write
partNameStringRead/Write

Methods

MethodReturnsDescription
getRelsPartName(String sourcePart)StringGet the .
getRelationship(String relId)Optional<Relationship>Get a relationship by ID.
getRelationshipsByType(String relType)List<Relationship>Get all relationships of a specific type.
getAllRelationships()List<Relationship>Get all relationships.
addRelationship(String relType, String target, String relId, String targetMode)StringAdd a new relationship.
addRelationship(String relType, String target)StringAdd a new relationship with auto-generated ID and no target mode.
removeRelationship(String relId)booleanRemove a relationship by ID.
save()voidSave the relationships back to the package.
getPartName()StringGet the .

See Also