@Internal public final class CHPFormattedDiskPage extends FormattedDiskPage
_crun, _fkp, _offset
Constructor and Description |
---|
CHPFormattedDiskPage() |
CHPFormattedDiskPage(byte[] documentStream,
int offset,
CharIndexTranslator translator)
This constructs a CHPFormattedDiskPage from a raw fkp (512 byte array
read from a Word file).
|
CHPFormattedDiskPage(byte[] documentStream,
int offset,
int fcMin,
TextPieceTable tpt)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
fill(java.util.List<CHPX> filler) |
CHPX |
getCHPX(int index) |
java.util.List<CHPX> |
getCHPXs() |
protected byte[] |
getGrpprl(int index)
Gets the chpx for the character run at index in this fkp.
|
java.util.ArrayList<CHPX> |
getOverflow() |
protected byte[] |
toByteArray(CharIndexTranslator translator) |
getEnd, getStart, size
public CHPFormattedDiskPage()
@Deprecated public CHPFormattedDiskPage(byte[] documentStream, int offset, int fcMin, TextPieceTable tpt)
CHPFormattedDiskPage(byte[], int, CharIndexTranslator)
insteadpublic CHPFormattedDiskPage(byte[] documentStream, int offset, CharIndexTranslator translator)
public CHPX getCHPX(int index)
public java.util.List<CHPX> getCHPXs()
public void fill(java.util.List<CHPX> filler)
public java.util.ArrayList<CHPX> getOverflow()
protected byte[] getGrpprl(int index)
getGrpprl
in class FormattedDiskPage
index
- The index of the chpx to get.protected byte[] toByteArray(CharIndexTranslator translator)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.