public class Load3 extends Load
customXmlDataStorageClass, loadExternalTargets| Modifier and Type | Method and Description |
|---|---|
OpcPackage |
get() |
Part |
getBinaryPart(ContentTypeManager ctm,
java.lang.String resolvedPartUri) |
Part |
getRawPart(ContentTypeManager ctm,
java.lang.String resolvedPartUri,
Relationship rel,
RelationshipsPart rp)
Get a Part (except a relationships part), but not its relationships part
or related parts.
|
RelationshipsPart |
getRelationshipsPart(Part part)
Get the Relationships Part (if there is one) for a given Part.
|
void |
reuseExistingOpcPackage(OpcPackage existingPkg)
By setting this, you can load the contents into
this existing package (ie instead of returning a new one).
|
getCustomXmlDataStorageClass, getRawPart, loadExternalTargets, registerCustomXmlDataStorageParts, setCustomXmlDataStorageClasspublic Load3(PartStore partLoader)
public Load3()
public void reuseExistingOpcPackage(OpcPackage existingPkg)
existingPkg - public OpcPackage get() throws Docx4JException
Docx4JExceptionpublic RelationshipsPart getRelationshipsPart(Part part) throws Docx4JException, InvalidFormatException
zf - part - InvalidFormatExceptionDocx4JExceptionpublic Part getRawPart(ContentTypeManager ctm, java.lang.String resolvedPartUri, Relationship rel, RelationshipsPart rp) throws Docx4JException
partByteArrays - ctm - resolvedPartUri - rel - Docx4JException - including if result is nullget a Part and all its related parts, and add all to a package, use
getPart.public Part getBinaryPart(ContentTypeManager ctm, java.lang.String resolvedPartUri) throws Docx4JException
Docx4JExceptionCopyright © 2007–2023. All rights reserved.