org.apache.poi.hwpf.model
Class CHPBinTable
java.lang.Object
org.apache.poi.hwpf.model.CHPBinTable
- Direct Known Subclasses:
- OldCHPBinTable
public class CHPBinTable
- extends java.lang.Object
This class holds all of the character formatting properties.
- Author:
- Ryan Ackley
Field Summary |
protected java.util.ArrayList<CHPX> |
_textRuns
List of character properties. |
Constructor Summary |
CHPBinTable()
|
CHPBinTable(byte[] documentStream,
byte[] tableStream,
int offset,
int size,
int fcMin,
TextPieceTable tpt)
Constructor used to read a binTable in from a Word document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_textRuns
protected java.util.ArrayList<CHPX> _textRuns
- List of character properties.
CHPBinTable
public CHPBinTable()
CHPBinTable
public CHPBinTable(byte[] documentStream,
byte[] tableStream,
int offset,
int size,
int fcMin,
TextPieceTable tpt)
- Constructor used to read a binTable in from a Word document.
- Parameters:
documentStream
- tableStream
- offset
- size
- fcMin
-
adjustForDelete
public void adjustForDelete(int listIndex,
int offset,
int length)
insert
public void insert(int listIndex,
int cpStart,
SprmBuffer buf)
adjustForInsert
public void adjustForInsert(int listIndex,
int length)
getTextRuns
public java.util.List<CHPX> getTextRuns()
writeTo
public void writeTo(HWPFFileSystem sys,
int fcMin)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright 2010 The Apache Software Foundation or
its licensors, as applicable.