public class FlatOpcXmlImporter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.HashMap<java.lang.String,java.lang.String> |
handled
This HashMap is intended to prevent loops.
|
| Constructor and Description |
|---|
FlatOpcXmlImporter(java.io.InputStream is) |
FlatOpcXmlImporter(Package flatOpcXml) |
| Modifier and Type | Method and Description |
|---|---|
OpcPackage |
get() |
static Part |
getRawPart(ContentTypeManager ctm,
Part pkgPart,
Relationship rel,
OpcPackage targetPkg) |
Part |
getRawPart(ContentTypeManager ctm,
java.lang.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,
org.w3c.dom.Element el) |
protected java.util.HashMap<java.lang.String,java.lang.String> handled
public FlatOpcXmlImporter(java.io.InputStream is)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic FlatOpcXmlImporter(Package flatOpcXml)
public OpcPackage get() throws Docx4JException
Docx4JExceptionpublic static RelationshipsPart populateRelationshipsPart(RelationshipsPart rp, org.w3c.dom.Element el) throws InvalidFormatException, javax.xml.bind.JAXBException
InvalidFormatExceptionjavax.xml.bind.JAXBExceptionpublic RelationshipsPart getRelationshipsPart(Part part) throws Docx4JException, InvalidFormatException
zf - part - InvalidFormatExceptionDocx4JExceptionpublic Part getRawPart(ContentTypeManager ctm, java.lang.String resolvedPartUri, Relationship rel) throws Docx4JException
Docx4JExceptionpublic static Part getRawPart(ContentTypeManager ctm, Part pkgPart, Relationship rel, OpcPackage targetPkg) throws Docx4JException
Docx4JExceptionCopyright © 2007–2023. All rights reserved.