Uses of Class
org.apache.poi.openxml4j.opc.PackageRelationship
-
Packages that use PackageRelationship Package Description org.apache.poi.ooxml org.apache.poi.openxml4j.opc org.apache.poi.xddf.usermodel.chart org.apache.poi.xssf.usermodel org.apache.poi.xwpf.usermodel -
-
Uses of PackageRelationship in org.apache.poi.ooxml
Methods in org.apache.poi.ooxml that return PackageRelationship Modifier and Type Method Description protected PackageRelationship
POIXMLFactory. getPackageRelationship(POIXMLDocumentPart parent, PackagePart part)
Retrieves the package relationship of the child part within the parentPackageRelationship
POIXMLDocumentPart.RelationPart. getRelationship()
Methods in org.apache.poi.ooxml with parameters of type PackageRelationship Modifier and Type Method Description protected 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 PackageRelationship Modifier and Type Method Description PackageRelationship
OPCPackage. addExternalRelationship(java.lang.String target, java.lang.String relationshipType)
Adds an external relationship to a part (except relationships part).PackageRelationship
OPCPackage. addExternalRelationship(java.lang.String target, java.lang.String relationshipType, java.lang.String id)
Adds an external relationship to a part (except relationships part).PackageRelationship
PackagePart. addExternalRelationship(java.lang.String target, java.lang.String relationshipType)
Adds an external relationship to a part (except relationships part).PackageRelationship
PackagePart. addExternalRelationship(java.lang.String target, java.lang.String relationshipType, java.lang.String id)
Adds an external relationship to a part (except relationships part).PackageRelationship
RelationshipSource. addExternalRelationship(java.lang.String target, java.lang.String relationshipType)
Adds an external relationship to a part (except relationships part).PackageRelationship
RelationshipSource. addExternalRelationship(java.lang.String target, java.lang.String relationshipType, java.lang.String id)
Adds an external relationship to a part (except relationships part).PackageRelationship
OPCPackage. addRelationship(PackagePartName targetPartName, TargetMode targetMode, java.lang.String relationshipType)
Add a package relationship.PackageRelationship
OPCPackage. addRelationship(PackagePartName targetPartName, TargetMode targetMode, java.lang.String relationshipType, java.lang.String relID)
Add a relationship to the package (except relationships part).PackageRelationship
PackagePart. addRelationship(java.net.URI targetURI, TargetMode targetMode, java.lang.String relationshipType)
Add a relationship to a part (except relationships part).PackageRelationship
PackagePart. addRelationship(java.net.URI targetURI, TargetMode targetMode, java.lang.String relationshipType, java.lang.String id)
Add a relationship to a part (except relationships part).PackageRelationship
PackagePart. addRelationship(PackagePartName targetPartName, TargetMode targetMode, java.lang.String relationshipType)
Add a relationship to a part (except relationships part).PackageRelationship
PackagePart. addRelationship(PackagePartName targetPartName, TargetMode targetMode, java.lang.String relationshipType, java.lang.String id)
Add a relationship to a part (except relationships part).PackageRelationship
PackageRelationshipCollection. addRelationship(java.net.URI targetUri, TargetMode targetMode, java.lang.String relationshipType, java.lang.String id)
Add a relationship to the collection.PackageRelationship
RelationshipSource. addRelationship(PackagePartName targetPartName, TargetMode targetMode, java.lang.String relationshipType)
Add a relationship to a part (except relationships part).PackageRelationship
RelationshipSource. addRelationship(PackagePartName targetPartName, TargetMode targetMode, java.lang.String relationshipType, java.lang.String id)
Add a relationship to a part (except relationships part).PackageRelationship
PackageRelationshipCollection. findExistingInternalRelation(PackagePart packagePart)
PackageRelationship
PackagePart. findExistingRelation(PackagePart packagePart)
Check if the new part was already added before via PackagePart.addRelationship()PackageRelationship
OPCPackage. getRelationship(java.lang.String id)
PackageRelationship
PackagePart. getRelationship(java.lang.String id)
Retrieves a package relationship from its id.PackageRelationship
PackageRelationshipCollection. getRelationship(int index)
Retrieves a relationship by its index in the collection.PackageRelationship
RelationshipSource. getRelationship(java.lang.String id)
Retrieves a package relationship from its id.PackageRelationship
PackageRelationshipCollection. getRelationshipByID(java.lang.String id)
Retrieves a package relationship based on its id.Methods in org.apache.poi.openxml4j.opc that return types with arguments of type PackageRelationship Modifier and Type Method Description java.util.Iterator<PackageRelationship>
PackageRelationshipCollection. iterator()
Get this collection's iterator.java.util.Iterator<PackageRelationship>
PackageRelationshipCollection. iterator(java.lang.String typeFilter)
Get an iterator of a collection with all relationship with the specified type.Methods in org.apache.poi.openxml4j.opc with parameters of type PackageRelationship Modifier and Type Method Description void
PackageRelationshipCollection. addRelationship(PackageRelationship relPart)
Add the specified relationship to the collection.PackagePart
OPCPackage. getPart(PackageRelationship partRel)
Get the target part from the specified relationship.PackagePart
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 PackageRelationship Modifier and Type Method Description PackageRelationship
XDDFChart. 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 PackageRelationship Modifier and Type Method Description protected PackageRelationship
XSSFDrawing. addPictureReference(int pictureIndex)
Add the indexed picture to this drawing relationsMethods in org.apache.poi.xssf.usermodel with parameters of type PackageRelationship Modifier and Type Method Description protected void
XSSFPicture. setPictureReference(PackageRelationship rel)
Link this shape with the picture dataConstructors in org.apache.poi.xssf.usermodel with parameters of type PackageRelationship Constructor Description 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 PackageRelationship Modifier and Type Method Description void
XWPFPicture. setPictureReference(PackageRelationship rel)
Link Picture with PictureData
-