public interface AltChunkInterface
| 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,
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.
|
WordprocessingMLPackage |
convertAltChunks()
Convert the AltChunks to ordinary
docx WordML content, returning result as
a new WordprocessingMLPackage.
|
AlternativeFormatInputPart addAltChunk(AltChunkType type, byte[] bytes) throws Docx4JException
bytes - Docx4JExceptionAlternativeFormatInputPart addAltChunk(AltChunkType type, InputStream is) throws Docx4JException
is - Docx4JExceptionAlternativeFormatInputPart addAltChunk(AltChunkType type, byte[] bytes, ContentAccessor attachmentPoint) throws Docx4JException
bytes - attachmentPoint - Docx4JExceptionAlternativeFormatInputPart addAltChunk(AltChunkType type, InputStream is, ContentAccessor attachmentPoint) throws Docx4JException
is - attachmentPoint - Docx4JExceptionWordprocessingMLPackage convertAltChunks() throws Docx4JException
Docx4JExceptionCopyright © 2007-2018. All Rights Reserved.