org.apache.poi.hwpf.model
Class PAPBinTable

java.lang.Object
  extended by org.apache.poi.hwpf.model.PAPBinTable

public class PAPBinTable
extends java.lang.Object

This class represents the bin table of Word document but it also serves as a holder for all of the paragraphs of document that have been loaded into memory.

Author:
Ryan Ackley

Field Summary
protected  java.util.ArrayList _paragraphs
           
 
Constructor Summary
PAPBinTable()
           
PAPBinTable(byte[] documentStream, byte[] tableStream, byte[] dataStream, int offset, int size, int fcMin)
           
 
Method Summary
 void adjustForDelete(int listIndex, int offset, int length)
           
 void adjustForInsert(int listIndex, int length)
           
 java.util.ArrayList getParagraphs()
           
 void insert(int listIndex, int cpStart, SprmBuffer buf)
           
 void writeTo(HWPFFileSystem sys, int fcMin)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_paragraphs

protected java.util.ArrayList _paragraphs
Constructor Detail

PAPBinTable

public PAPBinTable()

PAPBinTable

public PAPBinTable(byte[] documentStream,
                   byte[] tableStream,
                   byte[] dataStream,
                   int offset,
                   int size,
                   int fcMin)
Method Detail

insert

public void insert(int listIndex,
                   int cpStart,
                   SprmBuffer buf)

adjustForDelete

public void adjustForDelete(int listIndex,
                            int offset,
                            int length)

adjustForInsert

public void adjustForInsert(int listIndex,
                            int length)

getParagraphs

public java.util.ArrayList getParagraphs()

writeTo

public void writeTo(HWPFFileSystem sys,
                    int fcMin)
             throws java.io.IOException
Throws:
java.io.IOException


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.