org.apache.poi.hwpf.model
public final class PAPFormattedDiskPage extends FormattedDiskPage
_crun, _fkp, _offset
Constructor and Description |
---|
PAPFormattedDiskPage(byte[] dataStream) |
PAPFormattedDiskPage(byte[] documentStream,
byte[] dataStream,
int offset,
int fcMin,
TextPieceTable tpt)
Creates a PAPFormattedDiskPage from a 512 byte array
|
Modifier and Type | Method and Description |
---|---|
void |
fill(java.util.List filler)
Fills the queue for writing.
|
protected byte[] |
getGrpprl(int index)
Gets the papx grpprl for the paragraph at index in this fkp.
|
PAPX |
getPAPX(int index)
Gets the PAPX at index.
|
protected byte[] |
toByteArray(int fcMin)
Creates a byte array representation of this data structure.
|
getEnd, getStart, size
public PAPFormattedDiskPage(byte[] dataStream)
public PAPFormattedDiskPage(byte[] documentStream, byte[] dataStream, int offset, int fcMin, TextPieceTable tpt)
public void fill(java.util.List filler)
filler
- a List of PAPXspublic PAPX getPAPX(int index)
index
- The index to get the PAPX for.protected byte[] getGrpprl(int index)
getGrpprl
in class FormattedDiskPage
index
- The index of the papx to get.protected byte[] toByteArray(int fcMin)
fcMin
- The file offset in the main stream where text begins.Copyright 2016 The Apache Software Foundation or its licensors, as applicable.