RelationshipsManager — Aspose.Slides FOSS Java API Reference
Overview
RelationshipsManager manages relationships (. Browse the properties and methods in the tables below to understand the complete public API surface of this type. All members listed here are part of the stable public API and may be used in production code targeting the FOSS edition. Refer to the package documentation for installation instructions and a complete list of related types.
Package: org.aspose.slides.foss.internal.opc
Properties
| Property | Type | Access | Description |
|---|---|---|---|
allRelationships | List<Relationship> | Read/Write | The all relationships value. |
partName | String | Read/Write | The part name value. |
RELS_NAMESPACE | String | Read | |
RELS_NS | String | Read | |
REL_TYPES | Map<String, String> | Read |
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 . |