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, serialize
cloneViaReserialise, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public 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 StandardRecord
out
- the output objectprotected int getDataSize()
getDataSize
in class StandardRecord
public short getSid()
Record
public DimensionsRecord copy()
copy
in interface Duplicatable
copy
in class StandardRecord
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in class Record
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.