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 |
copy() |
protected int |
getDataSize() |
short |
getFirstCol()
get the first column number for the sheet
|
int |
getFirstRow()
get the first row number for the sheet
|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
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
|
getRecordSize, serializecloneViaReserialise, serialize, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericChildrenpublic 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 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()
Recordpublic DimensionsRecord copy()
copy in interface Duplicatablecopy in class StandardRecordpublic HSSFRecordTypes getGenericRecordType()
getGenericRecordType in interface GenericRecordgetGenericRecordType in class Recordpublic java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.