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

PropertyTypeAccessDescription
allRelationshipsList<RelEntry>Read/Write

Methods

MethodReturnsDescription
getRelsPartName(String sourcePart)StringReturns the .
getAllRelationships()List<RelEntry>Returns all relationships.
addRelationship(String type, String target)StringAdds a new relationship with auto-generated ID.
addRelationship(String type, String target, String targetMode)StringAdds a new relationship with optional target mode.
save()voidSaves the relationships back to the package.

See Also