Package org.apache.poi.hwpf.model
Class CHPBinTable
java.lang.Object
org.apache.poi.hwpf.model.CHPBinTable
- Direct Known Subclasses:
OldCHPBinTable
This class holds all of the character formatting properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCHPBinTable
(byte[] documentStream, byte[] tableStream, int offset, int size, int fcMin, TextPieceTable tpt) Deprecated.CHPBinTable
(byte[] documentStream, byte[] tableStream, int offset, int size, CharIndexTranslator translator) Constructor used to read a binTable in from a Word document. -
Method Summary
Modifier and TypeMethodDescriptionvoid
adjustForDelete
(int listIndex, int offset, int length) void
adjustForInsert
(int listIndex, int length) void
insert
(int listIndex, int cpStart, SprmBuffer buf) void
rebuild
(ComplexFileTable complexFileTable) void
writeTo
(ByteArrayOutputStream wordDocumentStream, ByteArrayOutputStream tableStream, int fcMin, CharIndexTranslator translator) void
writeTo
(HWPFFileSystem sys, int fcMin, CharIndexTranslator translator) Deprecated.
-
Constructor Details
-
CHPBinTable
public CHPBinTable() -
CHPBinTable
public CHPBinTable(byte[] documentStream, byte[] tableStream, int offset, int size, int fcMin, TextPieceTable tpt) Deprecated.Constructor used to read a binTable in from a Word document. -
CHPBinTable
public CHPBinTable(byte[] documentStream, byte[] tableStream, int offset, int size, CharIndexTranslator translator) Constructor used to read a binTable in from a Word document.
-
-
Method Details
-
rebuild
-
adjustForDelete
public void adjustForDelete(int listIndex, int offset, int length) -
insert
-
adjustForInsert
public void adjustForInsert(int listIndex, int length) -
getTextRuns
-
writeTo
@Deprecated public void writeTo(HWPFFileSystem sys, int fcMin, CharIndexTranslator translator) throws IOException Deprecated.- Throws:
IOException
-
writeTo
public void writeTo(ByteArrayOutputStream wordDocumentStream, ByteArrayOutputStream tableStream, int fcMin, CharIndexTranslator translator) throws IOException - Throws:
IOException
-
CHPBinTable(byte[], byte[], int, int, CharIndexTranslator)
instead