RelationshipsManager — Aspose.Slides FOSS Java API Reference
RelationshipsManager — Manages relationships (.
Package: org.aspose.slides.foss.internal.opc
Properties
| Property | Type | Access | Description |
|---|---|---|---|
allRelationships | List<Relationship> | Read/Write | |
partName | String | Read/Write |
Methods
| Method | Returns | Description |
|---|---|---|
getRelsPartName(String sourcePart) | String | Get 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) | String | Add a new relationship. |
addRelationship(String relType, String target) | String | Add a new relationship with auto-generated ID and no target mode. |
removeRelationship(String relId) | boolean | Remove a relationship by ID. |
save() | void | Save the relationships back to the package. |
getPartName() | String | Get the . |