public class FlatOpcXmlImporter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,String> |
handled
This HashMap is intended to prevent loops.
|
| Constructor and Description |
|---|
FlatOpcXmlImporter(InputStream is) |
FlatOpcXmlImporter(Package flatOpcXml) |
| Modifier and Type | Method and Description |
|---|---|
OpcPackage |
get() |
static Part |
getRawPart(ContentTypeManager ctm,
Part pkgPart,
Relationship rel)
Get a Part (except a relationships part), but not its relationships part
or related parts.
|
Part |
getRawPart(ContentTypeManager ctm,
String resolvedPartUri,
Relationship rel) |
RelationshipsPart |
getRelationshipsPart(Part part)
Get the Relationships Part (if there is one) for a given Part.
|
static RelationshipsPart |
populateRelationshipsPart(RelationshipsPart rp,
Element el) |
public FlatOpcXmlImporter(InputStream is) throws JAXBException
JAXBExceptionpublic FlatOpcXmlImporter(Package flatOpcXml)
public OpcPackage get() throws Docx4JException
Docx4JExceptionpublic static RelationshipsPart populateRelationshipsPart(RelationshipsPart rp, Element el) throws InvalidFormatException, JAXBException
InvalidFormatExceptionJAXBExceptionpublic RelationshipsPart getRelationshipsPart(Part part) throws Docx4JException, InvalidFormatException
zf - part - InvalidFormatExceptionDocx4JExceptionpublic Part getRawPart(ContentTypeManager ctm, String resolvedPartUri, Relationship rel) throws Docx4JException
Docx4JExceptionpublic static Part getRawPart(ContentTypeManager ctm, Part pkgPart, Relationship rel) throws Docx4JException
zf - resolvedPartUri - URISyntaxExceptionInvalidFormatExceptionDocx4JExceptionget a Part and all its related parts, and add all to a package, use
getPart.Copyright © 2007-2022. All Rights Reserved.