|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.IndexRecord
public class IndexRecord
Title: Index Record
Description: Occurs right after BOF, tells you where the DBCELL records are for a sheet Important for locating cells
NOT USED IN THIS RELEASE REFERENCE: PG 323 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)
Field Summary | |
---|---|
static int |
DBCELL_CAPACITY
|
int |
field_1_zero
|
int |
field_2_first_row
|
int |
field_3_last_row_add1
|
int |
field_4_zero
|
IntList |
field_5_dbcells
|
static short |
sid
|
Constructor Summary | |
---|---|
IndexRecord()
|
|
IndexRecord(RecordInputStream in)
|
Method Summary | |
---|---|
void |
addDbcell(int cell)
|
java.lang.Object |
clone()
|
int |
getDbcellAt(int cellnum)
|
int |
getFirstRow()
|
int |
getLastRowAdd1()
|
int |
getNumDbcells()
|
int |
getRecordSize()
gives the current serialized size of the record. |
static int |
getRecordSizeForBlockCount(int blockCount)
Returns the size of an INdexRecord when it needs to index the specified number of blocks |
short |
getSid()
return the non static version of the id for this record. |
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker. |
void |
setDbcell(int cell,
int value)
|
void |
setFirstRow(int row)
|
void |
setLastRowAdd1(int row)
|
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging) |
Methods inherited from class org.apache.poi.hssf.record.Record |
---|
cloneViaReserialise, serialize |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short sid
public static final int DBCELL_CAPACITY
public int field_1_zero
public int field_2_first_row
public int field_3_last_row_add1
public int field_4_zero
public IntList field_5_dbcells
Constructor Detail |
---|
public IndexRecord()
public IndexRecord(RecordInputStream in)
Method Detail |
---|
public void setFirstRow(int row)
public void setLastRowAdd1(int row)
public void addDbcell(int cell)
public void setDbcell(int cell, int value)
public int getFirstRow()
public int getLastRowAdd1()
public int getNumDbcells()
public int getDbcellAt(int cellnum)
public java.lang.String toString()
Record
toString
in class Record
public int serialize(int offset, byte[] data)
RecordBase
serialize
in class RecordBase
offset
- to begin writing atdata
- byte array containing instance data
public int getRecordSize()
Record
getRecordSize
in class Record
public static int getRecordSizeForBlockCount(int blockCount)
public short getSid()
Record
getSid
in class Record
public java.lang.Object clone()
clone
in class Record
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |