@Internal public class PAPBinTable extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<PAPX> |
_paragraphs |
Constructor and Description |
---|
PAPBinTable() |
PAPBinTable(byte[] documentStream,
byte[] tableStream,
byte[] dataStream,
int offset,
int size,
CharIndexTranslator charIndexTranslator) |
Modifier and Type | Method and Description |
---|---|
void |
adjustForDelete(int listIndex,
int offset,
int length) |
void |
adjustForInsert(int listIndex,
int length) |
java.util.ArrayList<PAPX> |
getParagraphs() |
void |
insert(int listIndex,
int cpStart,
SprmBuffer buf) |
void |
rebuild(java.lang.StringBuilder docText,
ComplexFileTable complexFileTable) |
void |
writeTo(java.io.ByteArrayOutputStream wordDocumentStream,
java.io.ByteArrayOutputStream tableStream,
CharIndexTranslator translator) |
protected final java.util.ArrayList<PAPX> _paragraphs
public PAPBinTable()
public PAPBinTable(byte[] documentStream, byte[] tableStream, byte[] dataStream, int offset, int size, CharIndexTranslator charIndexTranslator)
public void rebuild(java.lang.StringBuilder docText, ComplexFileTable complexFileTable)
public void insert(int listIndex, int cpStart, SprmBuffer buf)
public void adjustForDelete(int listIndex, int offset, int length)
public void adjustForInsert(int listIndex, int length)
public java.util.ArrayList<PAPX> getParagraphs()
public void writeTo(java.io.ByteArrayOutputStream wordDocumentStream, java.io.ByteArrayOutputStream tableStream, CharIndexTranslator translator) throws java.io.IOException
java.io.IOException
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.