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 |
Modifier and Type | Method and Description |
---|---|
protected PackageRelationship |
POIXMLFactory.getPackageRelationship(POIXMLDocumentPart parent,
PackagePart part)
Retrieves the package relationship of the child part within the parent
|
PackageRelationship |
POIXMLDocumentPart.RelationPart.getRelationship() |
Modifier and Type | Method and Description |
---|---|
protected PackagePart |
POIXMLDocumentPart.getTargetPart(PackageRelationship rel)
Get the PackagePart that is the target of a relationship from this Part.
|
Modifier and Type | Method and Description |
---|---|
PackageRelationship |
OPCPackage.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)
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 |
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 |
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 |
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 |
OPCPackage.addRelationship(PackagePartName targetPartName,
TargetMode targetMode,
java.lang.String relationshipType)
Add a package relationship.
|
PackageRelationship |
RelationshipSource.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)
Add a relationship to a part (except relationships part).
|
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 |
RelationshipSource.addRelationship(PackagePartName targetPartName,
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,
java.lang.String id)
Add a relationship to a part (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 |
PackageRelationshipCollection.addRelationship(java.net.URI targetUri,
TargetMode targetMode,
java.lang.String relationshipType,
java.lang.String id)
Add a relationship to the collection.
|
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 |
PackageRelationshipCollection.findExistingInternalRelation(PackagePart packagePart) |
PackageRelationship |
PackagePart.findExistingRelation(PackagePart packagePart)
Check if the new part was already added before via PackagePart.addRelationship()
|
PackageRelationship |
PackageRelationshipCollection.getRelationship(int index)
Retrieves a relationship by its index in the collection.
|
PackageRelationship |
OPCPackage.getRelationship(java.lang.String id) |
PackageRelationship |
RelationshipSource.getRelationship(java.lang.String id)
Retrieves a package relationship from its id.
|
PackageRelationship |
PackagePart.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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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 |
RelationshipSource.isRelationshipExists(PackageRelationship rel)
Checks if the specified relationship is part of this package part.
|
boolean |
PackagePart.isRelationshipExists(PackageRelationship rel)
Checks if the specified relationship is part of this package part.
|
Modifier and Type | Method and 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
|
Modifier and Type | Method and Description |
---|---|
protected PackageRelationship |
XSSFDrawing.addPictureReference(int pictureIndex)
Add the indexed picture to this drawing relations
|
Modifier and Type | Method and Description |
---|---|
protected void |
XSSFPicture.setPictureReference(PackageRelationship rel)
Link this shape with the picture data
|
Constructor and 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
|
Modifier and Type | Method and Description |
---|---|
void |
XWPFPicture.setPictureReference(PackageRelationship rel)
Link Picture with PictureData
|
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.