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,
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()
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, byte[] bytes, int index) throws Docx4JException
bytes - index - Docx4JExceptionAlternativeFormatInputPart addAltChunk(AltChunkType type, InputStream is) throws Docx4JException
is - Docx4JExceptionAlternativeFormatInputPart addAltChunk(AltChunkType type, InputStream is, int index) throws Docx4JException
is - index - Docx4JExceptionAlternativeFormatInputPart addAltChunk(AltChunkType type, byte[] bytes, ContentAccessor attachmentPoint) throws Docx4JException
bytes - attachmentPoint - Docx4JExceptionAlternativeFormatInputPart addAltChunk(AltChunkType type, byte[] bytes, ContentAccessor attachmentPoint, int index) throws Docx4JException
bytes - attachmentPoint - index - Docx4JExceptionAlternativeFormatInputPart addAltChunk(AltChunkType type, InputStream is, ContentAccessor attachmentPoint) throws Docx4JException
is - attachmentPoint - Docx4JExceptionAlternativeFormatInputPart addAltChunk(AltChunkType type, InputStream is, ContentAccessor attachmentPoint, int index) throws Docx4JException
is - attachmentPoint - index - Docx4JExceptionWordprocessingMLPackage convertAltChunks() throws Docx4JException
Docx4JExceptionCopyright © 2007-2022. All Rights Reserved.