Package org.apache.poi.hwpf.model
Class OldTextPieceTable
java.lang.Object
org.apache.poi.hwpf.model.TextPieceTable
org.apache.poi.hwpf.model.OldTextPieceTable
- All Implemented Interfaces:
CharIndexTranslator
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.poi.hwpf.model.TextPieceTable
TextPieceTable.FCComparator
-
Field Summary
Fields inherited from class org.apache.poi.hwpf.model.TextPieceTable
_textPieces, _textPiecesFCOrder
-
Constructor Summary
ConstructorsConstructorDescriptionOldTextPieceTable
(byte[] documentStream, byte[] tableStream, int offset, int size, int fcMin, Charset charset) -
Method Summary
Modifier and TypeMethodDescriptionprotected int
getEncodingMultiplier
(TextPiece textPiece) protected TextPiece
newTextPiece
(int nodeStartChars, int nodeEndChars, byte[] buf, PieceDescriptor pd) Methods inherited from class org.apache.poi.hwpf.model.TextPieceTable
add, adjustForInsert, equals, getByteIndex, getCharIndex, getCharIndex, getCharIndexRanges, getCpMin, getText, getTextPieces, hashCode, isIndexInTable, lookIndexBackward, lookIndexForward, writeTo
-
Constructor Details
-
OldTextPieceTable
public OldTextPieceTable() -
OldTextPieceTable
public OldTextPieceTable(byte[] documentStream, byte[] tableStream, int offset, int size, int fcMin, Charset charset)
-
-
Method Details
-
newTextPiece
protected TextPiece newTextPiece(int nodeStartChars, int nodeEndChars, byte[] buf, PieceDescriptor pd) - Overrides:
newTextPiece
in classTextPieceTable
-
getEncodingMultiplier
- Overrides:
getEncodingMultiplier
in classTextPieceTable
-