public final class DimensionsRecord extends StandardRecord
| Modifier and Type | Field and Description |
|---|---|
static short |
sid |
| Constructor and Description |
|---|
DimensionsRecord() |
DimensionsRecord(DimensionsRecord other) |
DimensionsRecord(RecordInputStream in) |
| Modifier and Type | Method and Description |
|---|---|
DimensionsRecord |
clone()
Deprecated.
|
DimensionsRecord |
copy() |
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
|
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serializecloneViaReserialise, serializepublic static final short sid
public DimensionsRecord()
public DimensionsRecord(DimensionsRecord other)
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 java.lang.String toString()
Recordpublic 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 StandardRecordout - the output objectprotected int getDataSize()
getDataSize in class StandardRecordpublic short getSid()
Record@Deprecated @Removal(version="5.0.0") public DimensionsRecord clone()
clone in class java.lang.Objectpublic DimensionsRecord copy()
copy in interface Duplicatablecopy in class StandardRecordCopyright 2020 The Apache Software Foundation or its licensors, as applicable.