## Uses of Class
org.apache.poi.openxml4j.opc.PackagePartName

- Packages that use PackagePartName
  Package | Description
  --- | ---
  org.apache.poi.openxml4j.opc |
  org.apache.poi.openxml4j.opc.internal |
  org.apache.poi.openxml4j.opc.internal.marshallers |
  org.apache.poi.openxml4j.opc.internal.unmarshallers |
  org.apache.poi.xddf.usermodel.text |

- - ### Uses of PackagePartName in org.apache.poi.openxml4j.opc

    Fields in org.apache.poi.openxml4j.opc declared as PackagePartName
    Modifier and Type | Field and Description
    --- | ---
    `protected PackagePartName` | PackagePart.`_partName` The part name.
    `static PackagePartName` | PackagingURIHelper.`CORE_PROPERTIES_PART_NAME` Core properties partname.
    `static PackagePartName` | PackagingURIHelper.`PACKAGE_RELATIONSHIPS_ROOT_PART_NAME` Package relationships part name.
    `static PackagePartName` | PackagingURIHelper.`PACKAGE_ROOT_PART_NAME` Root package part name.

    Methods in org.apache.poi.openxml4j.opc that return PackagePartName
    Modifier and Type | Method and Description
    --- | ---
    `static PackagePartName` | PackagingURIHelper.`createPartName(java.lang.String partName)` Create an OPC compliant part name.
    `static PackagePartName` | PackagingURIHelper.`createPartName(java.lang.String partName, PackagePart relativePart)` Create an OPC compliant part name by resolving it using a base part.
    `static PackagePartName` | PackagingURIHelper.`createPartName(java.net.URI partUri)` Create an OPC compliant part name by throwing an exception if the URI is not valid.
    `static PackagePartName` | PackagingURIHelper.`createPartName(java.net.URI partName, PackagePart relativePart)` Create an OPC compliant part name by resolving it using a base part.
    `PackagePartName` | PackagePart.`getPartName()`
    `static PackagePartName` | PackagingURIHelper.`getRelationshipPartName(PackagePartName partName)` Build a part name where the relationship should be stored ((ex /word/document.xml -> /word/_rels/document.xml.rels)

    Methods in org.apache.poi.openxml4j.opc with parameters of type PackagePartName
    Modifier and Type | Method and Description
    --- | ---
    `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).
    `static int` | PackagePartName.`compare(PackagePartName obj1, PackagePartName obj2)` A natural sort order for package part names, consistent with the requirements of `java.util.Comparator`, but simply implemented as a static method.
    `int` | PackagePartName.`compareTo(PackagePartName other)` Compare two part names following the rule M1.12 : Part name equivalence is determined by comparing part names as case-insensitive ASCII strings.
    `boolean` | OPCPackage.`containPart(PackagePartName partName)` Check if a part already exists in this package from its name.
    `boolean` | PackagePartCollection.`containsKey(PackagePartName partName)`
    `PackagePart` | OPCPackage.`createPart(PackagePartName partName, java.lang.String contentType)` Create and add a part, with the specified name and content type, to the package.
    `PackagePart` | OPCPackage.`createPart(PackagePartName partName, java.lang.String contentType, java.io.ByteArrayOutputStream content)` Add a part to the package.
    `protected abstract PackagePart` | OPCPackage.`createPartImpl(PackagePartName partName, java.lang.String contentType, boolean loadRelationships)` Core method to create a package part.
    `protected PackagePart` | ZipPackage.`createPartImpl(PackagePartName partName, java.lang.String contentType, boolean loadRelationships)` Create a new MemoryPackagePart from the specified URI and content type aram partName The part URI.
    `void` | OPCPackage.`deletePart(PackagePartName partName)` Delete the part with the specified name and its associated relationships part if one exists.
    `void` | OPCPackage.`deletePartRecursive(PackagePartName partName)` Delete the part with the specified name and all part listed in its associated relationships part if one exists.
    `PackagePart` | PackagePartCollection.`get(PackagePartName partName)`
    `PackagePart` | OPCPackage.`getPart(PackagePartName partName)` Retrieve a part identified by its name.
    `static PackagePartName` | PackagingURIHelper.`getRelationshipPartName(PackagePartName partName)` Build a part name where the relationship should be stored ((ex /word/document.xml -> /word/_rels/document.xml.rels)
    `PackagePart` | PackagePartCollection.`put(PackagePartName partName, PackagePart part)` Check rule [M1.11]: a package implementer shall neither create nor recognize a part with a part name derived from another part name by appending segments to it.
    `PackagePart` | PackagePartCollection.`remove(PackagePartName key)`
    `void` | OPCPackage.`removePart(PackagePartName partName)` Remove a part in this package.
    `protected abstract void` | OPCPackage.`removePartImpl(PackagePartName partName)` Core method to delete a package part.
    `protected void` | ZipPackage.`removePartImpl(PackagePartName partName)` Delete a part from the package
    `void` | OPCPackage.`removePartRecursive(PackagePartName partName)` Remove a part from this package as well as its relationship part, if one exists, and all parts listed in the relationship part.
    `void` | OPCPackage.`unregisterPartAndContentType(PackagePartName partName)` Remove the specified part, and clear its content type from the content type manager.

    Constructors in org.apache.poi.openxml4j.opc with parameters of type PackagePartName
    Constructor and Description
    `PackagePart(OPCPackage pack, PackagePartName partName, ContentType contentType)` Constructor.
    `PackagePart(OPCPackage pack, PackagePartName partName, ContentType contentType, boolean loadRelationships)` Constructor.
    `PackagePart(OPCPackage pack, PackagePartName partName, java.lang.String contentType)` Constructor.
    `ZipPackagePart(OPCPackage container, org.apache.commons.compress.archivers.zip.ZipArchiveEntry zipEntry, PackagePartName partName, java.lang.String contentType)` Constructor.

  - ### Uses of PackagePartName in org.apache.poi.openxml4j.opc.internal

    Methods in org.apache.poi.openxml4j.opc.internal with parameters of type PackagePartName
    Modifier and Type | Method and Description
    --- | ---
    `void` | ContentTypeManager.`addContentType(PackagePartName partName, java.lang.String contentType)` Build association extention-> content type (will be stored in [Content_Types].xml) for example ContentType="image/png" Extension="png"
    `java.lang.String` | ContentTypeManager.`getContentType(PackagePartName partName)` Get the content type for the specified part, if any.
    `void` | ContentTypeManager.`removeContentType(PackagePartName partName)` Delete a content type based on the specified part name.

    Constructors in org.apache.poi.openxml4j.opc.internal with parameters of type PackagePartName
    Constructor and Description
    `MemoryPackagePart(OPCPackage pack, PackagePartName partName, java.lang.String contentType)` Constructor.
    `MemoryPackagePart(OPCPackage pack, PackagePartName partName, java.lang.String contentType, boolean loadRelationships)` Constructor.
    `PackagePropertiesPart(OPCPackage pack, PackagePartName partName)` Constructor.

  - ### Uses of PackagePartName in org.apache.poi.openxml4j.opc.internal.marshallers

    Methods in org.apache.poi.openxml4j.opc.internal.marshallers with parameters of type PackagePartName
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | ZipPartMarshaller.`marshallRelationshipPart(PackageRelationshipCollection rels, PackagePartName relPartName, org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream zos)` Save relationships into the part.

  - ### Uses of PackagePartName in org.apache.poi.openxml4j.opc.internal.unmarshallers

    Methods in org.apache.poi.openxml4j.opc.internal.unmarshallers with parameters of type PackagePartName
    Modifier and Type | Method and Description
    --- | ---
    `void` | UnmarshallContext.`setPartName(PackagePartName partName)`

    Constructors in org.apache.poi.openxml4j.opc.internal.unmarshallers with parameters of type PackagePartName
    Constructor and Description
    `UnmarshallContext(OPCPackage targetPackage, PackagePartName partName)` Constructor.

  - ### Uses of PackagePartName in org.apache.poi.xddf.usermodel.text

    Methods in org.apache.poi.xddf.usermodel.text with parameters of type PackagePartName
    Modifier and Type | Method and Description
    --- | ---
    `XDDFHyperlink` | XDDFTextRun.`linkToInternal(java.lang.String action, PackagePart localPart, POIXMLRelation relation, PackagePartName target)`

Copyright 2020 The Apache Software Foundation or its licensors, as applicable.