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.
- Author:
- Ryan Ackley
-
Field Summary
Fields -
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 TypeMethodDescriptionvoidadjustForDelete(int listIndex, int offset, int length) voidadjustForInsert(int listIndex, int length) voidinsert(int listIndex, int cpStart, SprmBuffer buf) voidrebuild(ComplexFileTable complexFileTable) voidwriteTo(ByteArrayOutputStream wordDocumentStream, ByteArrayOutputStream tableStream, int fcMin, CharIndexTranslator translator) voidwriteTo(HWPFFileSystem sys, int fcMin, CharIndexTranslator translator) Deprecated.
-
Field Details
-
_textRuns
List of character properties.
-
-
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