Returns the URI of this part within the package (e.g., "/word/document.xml").
Returns the OpenXmlPackage that contains this part.
Returns the MIME content type of this part (e.g., "application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml").
Returns the raw data of this part. For XML parts, prefer getXDocument.
Sets the MIME content type of this part.
Sets the raw data of this part. For XML parts, prefer putXDocument.
Returns the URI of the .rels file associated with this part.
Returns the .rels part associated with this part, or undefined if none exists.
Returns all relationships defined for this part.
An array of OpenXmlRelationship objects.
Returns all internal parts referenced by this part's relationships.
An array of OpenXmlPart instances.
Returns relationships of this part filtered by relationship type.
The relationship type URI. Use RelationshipType constants.
Returns parts targeted by relationships of the given type.
The relationship type URI. Use RelationshipType constants.
Returns the first part targeted by a relationship of the given type.
The relationship type URI. Use RelationshipType constants.
The first matching OpenXmlPart, or undefined.
Adds a relationship to this part.
The relationship ID (e.g., "rId10").
The relationship type URI. Use RelationshipType constants.
The target URI (relative to this part).
"Internal" (default) or "External".
The newly created OpenXmlRelationship.
Returns the XML content of this part as an XDocument.
A promise resolving to the part's XDocument.
The XDocument is parsed on first access and cached for subsequent calls. Modifications to the returned XDocument are reflected in the part. Call putXDocument to replace the XML content entirely.
Returns the custom XML properties part, or undefined if not present.
Returns the theme part, or undefined if not present.
Returns the thumbnail part, or undefined if not present.
Returns the drawings part, or undefined if not present.
Returns all image parts referenced by this part.
Returns all custom XML parts referenced by this part.
Finds a relationship of this part by its ID.
The relationship ID (e.g., "rId1").
Finds a part by following a relationship ID from this part.
The relationship ID (e.g., "rId1").
Returns relationships whose target parts have the given content type.
The MIME content type. Use ContentType constants.
Returns parts whose content type matches the given value.
The MIME content type. Use ContentType constants.
Returns the comment authors part, or undefined if not present.
Returns the handout master part, or undefined if not present.
Returns the notes master part, or undefined if not present.
Returns the notes slide part, or undefined if not present.
Returns the presentation properties part, or undefined if not present.
Returns the table styles part, or undefined if not present.
Returns the user-defined tags part, or undefined if not present.
Returns the view properties part, or undefined if not present.
Returns all slide master parts.
Returns all slide parts.
PowerPoint-specific part with convenience methods for navigating presentation structure.
Remarks
Extends OpenXmlPart with typed accessors for slides, slide masters, notes, and other PowerPoint-specific parts.
Example