public abstract class JaxbXmlPartAltChunkHost<E> extends JaxbXmlPartXPathAware<E> implements AltChunkInterface
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
binderjaxbElement, jc, MAX_BYTES_Unmarshal_ErrorcontentType, partName, relationships| Constructor and Description |
|---|
JaxbXmlPartAltChunkHost(PartName partName) |
| Modifier and Type | Method and Description |
|---|---|
AlternativeFormatInputPart |
addAltChunk(AltChunkType type,
byte[] bytes)
Add content from byte array of type AltChunkType, in a way that leaves it up to downstream application (eg Word)
to convert the content to docx content.
|
AlternativeFormatInputPart |
addAltChunk(AltChunkType type,
byte[] bytes,
ContentAccessor attachmentPoint)
Add content from byte array of type AltChunkType, in a way that leaves it up to downstream application (eg Word)
to convert the content to docx content.
|
AlternativeFormatInputPart |
addAltChunk(AltChunkType type,
byte[] bytes,
ContentAccessor attachmentPoint,
int index)
Add at index content from byte array of type AltChunkType, in a way that leaves it up to downstream application (eg Word)
to convert the content to docx content.
|
AlternativeFormatInputPart |
addAltChunk(AltChunkType type,
byte[] bytes,
int index)
Add at index content from byte array of type AltChunkType, in a way that leaves it up to downstream application (eg Word)
to convert the content to docx content.
|
AlternativeFormatInputPart |
addAltChunk(AltChunkType type,
InputStream is)
Add content from InputStream of type AltChunkType, in a way that leaves it up to downstream application (eg Word)
to convert the content to docx content.
|
AlternativeFormatInputPart |
addAltChunk(AltChunkType type,
InputStream is,
ContentAccessor attachmentPoint)
Add content from InputStream of type AltChunkType, in a way that leaves it up to downstream application (eg Word)
to convert the content to docx content.
|
AlternativeFormatInputPart |
addAltChunk(AltChunkType type,
InputStream is,
ContentAccessor attachmentPoint,
int index)
Add at index content from InputStream of type AltChunkType, in a way that leaves it up to downstream application (eg Word)
to convert the content to docx content.
|
AlternativeFormatInputPart |
addAltChunk(AltChunkType type,
InputStream is,
int index)
Add at index content from InputStream of type AltChunkType, in a way that leaves it up to downstream application (eg Word)
to convert the content to docx content.
|
WordprocessingMLPackage |
convertAltChunks()
To convert an altChunk of type XHTML, this method requires docx4j-XHTMLImport.jar (LGPL) and its dependencies.
|
createBinderAndJaxbElement, getBinder, getJAXBAssociationsForXPath, getJAXBAssociationsForXPath, getJAXBNodesViaXPath, getJAXBNodesViaXPath, setJaxbElement, unmarshal, unmarshaladdMcChoiceNamespace, getContents, getJAXBContext, getJaxbElement, getMcChoiceNamespaces, getMceIgnorable, getXML, isContentEqual, isUnmarshalled, marshal, marshal, marshal, marshal, pipe, pipe, pipe, setContents, setJAXBContext, setJaxbElement, setMceIgnorable, transform, variableReplacegetContentLengthAsLoaded, getOwningRelationshipPart, getPackage, getRelationshipType, getSourceRelationship, getSourceRelationships, getVersion, remove, rename, setContentLengthAsLoaded, setOwningRelationshipPart, setPackage, setPartShortcut, setRelationshipType, setSourceRelationship, setVersionaddTargetPart, addTargetPart, addTargetPart, addTargetPart, getContentType, getPartName, getRelationshipsPart, getRelationshipsPart, getUserData, reset, setContentType, setPartName, setRelationships, setUserDatapublic JaxbXmlPartAltChunkHost(PartName partName) throws InvalidFormatException
InvalidFormatExceptionpublic AlternativeFormatInputPart addAltChunk(AltChunkType type, byte[] bytes) throws Docx4JException
AltChunkInterfaceaddAltChunk in interface AltChunkInterfaceDocx4JExceptionpublic AlternativeFormatInputPart addAltChunk(AltChunkType type, byte[] bytes, int index) throws Docx4JException
AltChunkInterfaceaddAltChunk in interface AltChunkInterfaceDocx4JExceptionpublic AlternativeFormatInputPart addAltChunk(AltChunkType type, InputStream is) throws Docx4JException
AltChunkInterfaceaddAltChunk in interface AltChunkInterfaceDocx4JExceptionpublic AlternativeFormatInputPart addAltChunk(AltChunkType type, InputStream is, int index) throws Docx4JException
AltChunkInterfaceaddAltChunk in interface AltChunkInterfaceDocx4JExceptionpublic AlternativeFormatInputPart addAltChunk(AltChunkType type, byte[] bytes, ContentAccessor attachmentPoint) throws Docx4JException
AltChunkInterfaceaddAltChunk in interface AltChunkInterfaceDocx4JExceptionpublic AlternativeFormatInputPart addAltChunk(AltChunkType type, byte[] bytes, ContentAccessor attachmentPoint, int index) throws Docx4JException
AltChunkInterfaceaddAltChunk in interface AltChunkInterfaceDocx4JExceptionpublic AlternativeFormatInputPart addAltChunk(AltChunkType type, InputStream is, ContentAccessor attachmentPoint) throws Docx4JException
AltChunkInterfaceaddAltChunk in interface AltChunkInterfaceDocx4JExceptionpublic AlternativeFormatInputPart addAltChunk(AltChunkType type, InputStream is, ContentAccessor attachmentPoint, int index) throws Docx4JException
AltChunkInterfaceaddAltChunk in interface AltChunkInterfaceDocx4JExceptionpublic WordprocessingMLPackage convertAltChunks() throws Docx4JException
convertAltChunks in interface AltChunkInterfaceDocx4JExceptionCopyright © 2007-2020. All Rights Reserved.