public final class MulRKRecord extends StandardRecord
Used to store multiple RK numbers on a row. 1 MulRk = Multiple Cell values. HSSF just converts this into multiple NUMBER records. READ-ONLY SUPPORT!
REFERENCE: PG 330 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
MulRKRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
protected int |
getDataSize() |
short |
getFirstColumn()
starting column (first cell this holds in the row)
|
short |
getLastColumn()
ending column (last cell this holds in the row)
|
int |
getNumColumns()
get the number of columns this contains (last-first +1)
|
double |
getRKNumberAt(int coffset)
returns the rk number for column (coffset = column - field_2_first_col)
|
int |
getRow() |
short |
getSid()
return the non static version of the id for this record.
|
short |
getXFAt(int coffset)
returns the xf index for column (coffset = column - field_2_first_col)
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serialize
clone, cloneViaReserialise, serialize
public static final short sid
public MulRKRecord(RecordInputStream in)
in
- the RecordInputstream to read the record frompublic int getRow()
public short getFirstColumn()
public short getLastColumn()
public int getNumColumns()
public short getXFAt(int coffset)
coffset
- the coffset = column - field_2_first_colpublic double getRKNumberAt(int coffset)
coffset
- the coffset = column - field_2_first_colpublic java.lang.String toString()
Record
public short getSid()
Record
public void serialize(LittleEndianOutput out)
StandardRecord
The number of bytes written must equal the record size reported by
RecordBase.getRecordSize()
} minus four
( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written
by their superclass).
serialize
in class StandardRecord
out
- the output objectprotected int getDataSize()
getDataSize
in class StandardRecord
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.