public final class DimensionsRecord extends StandardRecord
Description: provides the minumum and maximum bounds of a sheet.
REFERENCE: PG 303 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
DimensionsRecord() |
DimensionsRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
protected int |
getDataSize() |
short |
getFirstCol()
get the first column number for the sheet
|
int |
getFirstRow()
get the first row number for the sheet
|
short |
getLastCol()
get the last col number for the sheet
|
int |
getLastRow()
get the last row number for the sheet
|
short |
getSid()
return the non static version of the id for this record.
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
void |
setFirstCol(short col)
set the first column number for the sheet
|
void |
setFirstRow(int row)
set the first row number for the sheet
|
void |
setLastCol(short col)
set the last col number for the sheet
|
void |
setLastRow(int row)
set the last row number for the sheet
|
String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serialize
cloneViaReserialise, serialize
public static final short sid
public DimensionsRecord()
public DimensionsRecord(RecordInputStream in)
public void setFirstRow(int row)
row
- - first row on the sheetpublic void setLastRow(int row)
row
- - last row on the sheetpublic void setFirstCol(short col)
col
- first column on the sheetpublic void setLastCol(short col)
col
- last column on the sheetpublic int getFirstRow()
public int getLastRow()
public short getFirstCol()
public short getLastCol()
public String toString()
Record
public void serialize(LittleEndianOutput out)
StandardRecord
RecordBase.getRecordSize()
} minus four
( record header consiting of a 'ushort sid' and 'ushort reclength' has already been written
by thye superclass).serialize
in class StandardRecord
protected int getDataSize()
getDataSize
in class StandardRecord
public short getSid()
Record
Copyright © 2020. All rights reserved.