RelationsManager — Aspose.Slides FOSS Java API Résolution

Vue de l’ensemble

‘RelationshipsManager’ gère les relations OPC (.rels` fichiers) dans une partie de package. Navigez sur les propriétés et les méthodes dans les tables ci-dessous pour comprendre la surface publique totale d’API de ce type. Tous les membres énumérés ici font partie du stable public API et peuvent être utilisés dans le code de production ciblant l’édition FOSS. Rappelez-vous à la documentation de paquet pour les instructions d’installation et une liste complète des types connexes.

Le package : ‘org.aspose.slides.foss.internal.opc’


Propriétés

PropertyTypeAccessDescription
allRelationshipsList<Relationship>Read/WriteThe all relationships value.
partNameStringRead/WriteThe part name value.
RELS_NAMESPACEStringReadThe OPC relationships namespace URI used in .rels files
RELS_NSStringReadThe prefix binding for the relationships namespace
REL_TYPESMap<String, String>ReadMap of known relationship type URIs to their short names

méthodes

MethodReturnsDescription
getRelsPartName(String sourcePart)StringReturns the relationships part name (.rels path) for the given source part.
getRelationship(String relId)Optional<Relationship>Get a relationship by ID.
getRelationshipsByType(String relType)List<Relationship>Returns relationships matching the specified type.
getAllRelationships()List<Relationship>Returns the list of stored 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()StringReturns the part name associated with this relationships manager.

Voir aussi

  • Aspose.Slides FOSS API Java Résultats de référence maison
  • Aspose.Slides - référence API d’entreprise
 Français