public class Load3 extends Load
customXmlDataStorageClass, loadExternalTargets
Modifier and Type | Method and Description |
---|---|
OpcPackage |
get() |
Part |
getBinaryPart(ContentTypeManager ctm,
String resolvedPartUri) |
Part |
getRawPart(ContentTypeManager ctm,
String resolvedPartUri,
Relationship rel)
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, setCustomXmlDataStorageClass
public Load3(PartStore partLoader)
public Load3()
public void reuseExistingOpcPackage(OpcPackage existingPkg)
existingPkg
- public OpcPackage get() throws Docx4JException
Docx4JException
public RelationshipsPart getRelationshipsPart(Part part) throws Docx4JException, InvalidFormatException
zf
- part
- InvalidFormatException
Docx4JException
public Part getRawPart(ContentTypeManager ctm, String resolvedPartUri, Relationship rel) 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, String resolvedPartUri) throws Docx4JException
Docx4JException
Copyright © 2007-2019. All Rights Reserved.