@Internal public class CHPBinTable extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List<CHPX> |
_textRuns
List of character properties.
|
Constructor and Description |
---|
CHPBinTable() |
CHPBinTable(byte[] documentStream,
byte[] tableStream,
int offset,
int size,
CharIndexTranslator translator)
Constructor used to read a binTable in from a Word document.
|
CHPBinTable(byte[] documentStream,
byte[] tableStream,
int offset,
int size,
int fcMin,
TextPieceTable tpt)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
adjustForDelete(int listIndex,
int offset,
int length) |
void |
adjustForInsert(int listIndex,
int length) |
java.util.List<CHPX> |
getTextRuns() |
void |
insert(int listIndex,
int cpStart,
SprmBuffer buf) |
void |
rebuild(ComplexFileTable complexFileTable) |
void |
writeTo(java.io.ByteArrayOutputStream wordDocumentStream,
java.io.ByteArrayOutputStream tableStream,
int fcMin,
CharIndexTranslator translator) |
void |
writeTo(HWPFFileSystem sys,
int fcMin,
CharIndexTranslator translator)
Deprecated.
|
protected java.util.List<CHPX> _textRuns
public CHPBinTable()
public CHPBinTable(byte[] documentStream, byte[] tableStream, int offset, int size, int fcMin, TextPieceTable tpt)
CHPBinTable(byte[], byte[], int, int, CharIndexTranslator)
insteadpublic CHPBinTable(byte[] documentStream, byte[] tableStream, int offset, int size, CharIndexTranslator translator)
public void rebuild(ComplexFileTable complexFileTable)
public void adjustForDelete(int listIndex, int offset, int length)
public void insert(int listIndex, int cpStart, SprmBuffer buf)
public void adjustForInsert(int listIndex, int length)
public java.util.List<CHPX> getTextRuns()
@Deprecated public void writeTo(HWPFFileSystem sys, int fcMin, CharIndexTranslator translator) throws java.io.IOException
java.io.IOException
public void writeTo(java.io.ByteArrayOutputStream wordDocumentStream, java.io.ByteArrayOutputStream tableStream, int fcMin, CharIndexTranslator translator) throws java.io.IOException
java.io.IOException
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.