RelsHelper — Aspose.Slides FOSS Java API Reference
RelsHelper — Lightweight helper for reading and writing OPC relationship files using OpcPackage.
Package: org.aspose.slides.foss.internal.pptx
Properties
| Property | Type | Access | Description |
|---|---|---|---|
allRelationships | List<RelEntry> | Read/Write |
Methods
| Method | Returns | Description |
|---|---|---|
getRelsPartName(String sourcePart) | String | Returns the . |
getAllRelationships() | List<RelEntry> | Returns all relationships. |
addRelationship(String type, String target) | String | Adds a new relationship with auto-generated ID. |
addRelationship(String type, String target, String targetMode) | String | Adds a new relationship with optional target mode. |
save() | void | Saves the relationships back to the package. |