Uses of Class
org.apache.poi.openxml4j.opc.PackageRelationship
Packages that use PackageRelationship
Package
Description
-
Uses of PackageRelationship in org.apache.poi.ooxml
Methods in org.apache.poi.ooxml that return PackageRelationshipModifier and TypeMethodDescriptionprotected PackageRelationship
POIXMLFactory.getPackageRelationship
(POIXMLDocumentPart parent, PackagePart part) Retrieves the package relationship of the child part within the parentPOIXMLDocumentPart.RelationPart.getRelationship()
Methods in org.apache.poi.ooxml with parameters of type PackageRelationshipModifier and TypeMethodDescriptionprotected PackagePart
POIXMLDocumentPart.getTargetPart
(PackageRelationship rel) Get the PackagePart that is the target of a relationship from this Part. -
Uses of PackageRelationship in org.apache.poi.openxml4j.opc
Methods in org.apache.poi.openxml4j.opc that return PackageRelationshipModifier and TypeMethodDescriptionOPCPackage.addExternalRelationship
(String target, String relationshipType) Adds an external relationship to a part (except relationships part).OPCPackage.addExternalRelationship
(String target, String relationshipType, String id) Adds an external relationship to a part (except relationships part).PackagePart.addExternalRelationship
(String target, String relationshipType) Adds an external relationship to a part (except relationships part).PackagePart.addExternalRelationship
(String target, String relationshipType, String id) Adds an external relationship to a part (except relationships part).RelationshipSource.addExternalRelationship
(String target, String relationshipType) Adds an external relationship to a part (except relationships part).RelationshipSource.addExternalRelationship
(String target, String relationshipType, String id) Adds an external relationship to a part (except relationships part).OPCPackage.addRelationship
(PackagePartName targetPartName, TargetMode targetMode, String relationshipType) Add a package relationship.OPCPackage.addRelationship
(PackagePartName targetPartName, TargetMode targetMode, String relationshipType, String relID) Add a relationship to the package (except relationships part).PackagePart.addRelationship
(URI targetURI, TargetMode targetMode, String relationshipType) Add a relationship to a part (except relationships part).PackagePart.addRelationship
(URI targetURI, TargetMode targetMode, String relationshipType, String id) Add a relationship to a part (except relationships part).PackagePart.addRelationship
(PackagePartName targetPartName, TargetMode targetMode, String relationshipType) Add a relationship to a part (except relationships part).PackagePart.addRelationship
(PackagePartName targetPartName, TargetMode targetMode, String relationshipType, String id) Add a relationship to a part (except relationships part).PackageRelationshipCollection.addRelationship
(URI targetUri, TargetMode targetMode, String relationshipType, String id) Add a relationship to the collection.RelationshipSource.addRelationship
(PackagePartName targetPartName, TargetMode targetMode, String relationshipType) Add a relationship to a part (except relationships part).RelationshipSource.addRelationship
(PackagePartName targetPartName, TargetMode targetMode, String relationshipType, String id) Add a relationship to a part (except relationships part).PackageRelationshipCollection.findExistingInternalRelation
(PackagePart packagePart) PackagePart.findExistingRelation
(PackagePart packagePart) Check if the new part was already added before via PackagePart.addRelationship()OPCPackage.getRelationship
(String id) PackagePart.getRelationship
(String id) Retrieves a package relationship from its id.PackageRelationshipCollection.getRelationship
(int index) Retrieves a relationship by its index in the collection.RelationshipSource.getRelationship
(String id) Retrieves a package relationship from its id.PackageRelationshipCollection.getRelationshipByID
(String id) Retrieves a package relationship based on its id.Methods in org.apache.poi.openxml4j.opc that return types with arguments of type PackageRelationshipModifier and TypeMethodDescriptionPackageRelationshipCollection.iterator()
Get this collection's iterator.Get an iterator of a collection with all relationship with the specified type.Methods in org.apache.poi.openxml4j.opc with parameters of type PackageRelationshipModifier and TypeMethodDescriptionvoid
PackageRelationshipCollection.addRelationship
(PackageRelationship relPart) Add the specified relationship to the collection.OPCPackage.getPart
(PackageRelationship partRel) Get the target part from the specified relationship.PackagePart.getRelatedPart
(PackageRelationship rel) Get the PackagePart that is the target of a relationship.boolean
OPCPackage.isRelationshipExists
(PackageRelationship rel) boolean
PackagePart.isRelationshipExists
(PackageRelationship rel) Checks if the specified relationship is part of this package part.boolean
RelationshipSource.isRelationshipExists
(PackageRelationship rel) Checks if the specified relationship is part of this package part. -
Uses of PackageRelationship in org.apache.poi.xddf.usermodel.chart
Methods in org.apache.poi.xddf.usermodel.chart that return PackageRelationshipModifier and TypeMethodDescriptionXDDFChart.createRelationshipInChart
(POIXMLRelation chartRelation, POIXMLFactory chartFactory, int chartIndex) method to create relationship with embedded part for example writing xlsx file stream into output stream -
Uses of PackageRelationship in org.apache.poi.xssf.usermodel
Methods in org.apache.poi.xssf.usermodel that return PackageRelationshipModifier and TypeMethodDescriptionprotected PackageRelationship
XSSFDrawing.addPictureReference
(int pictureIndex) Add the indexed picture to this drawing relationsMethods in org.apache.poi.xssf.usermodel with parameters of type PackageRelationshipModifier and TypeMethodDescriptionprotected void
XSSFPicture.setPictureReference
(PackageRelationship rel) Link this shape with the picture dataConstructors in org.apache.poi.xssf.usermodel with parameters of type PackageRelationshipModifierConstructorDescriptionprotected
XSSFHyperlink
(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTHyperlink ctHyperlink, PackageRelationship hyperlinkRel) Create a XSSFHyperlink and initialize it from the supplied CTHyperlink bean and package relationship -
Uses of PackageRelationship in org.apache.poi.xwpf.usermodel
Methods in org.apache.poi.xwpf.usermodel with parameters of type PackageRelationshipModifier and TypeMethodDescriptionvoid
XWPFPicture.setPictureReference
(PackageRelationship rel) Link Picture with PictureData