public final class BlankRecord extends StandardRecord implements CellValueRecordInterface
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
BlankRecord()
Creates a new instance of BlankRecord
|
BlankRecord(BlankRecord other) |
BlankRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
BlankRecord |
copy() |
short |
getColumn()
get the column this cell defines within the row
|
protected int |
getDataSize() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
int |
getRow()
get the row this cell occurs on
|
short |
getSid()
return the non static version of the id for this record.
|
short |
getXFIndex()
get the index of the extended format record to style this cell with
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
void |
setColumn(short col)
set the column this cell defines within the row
|
void |
setRow(int row)
set the row this cell occurs on
|
void |
setXFIndex(short xf)
set the index of the extended format record to style this cell with
|
getRecordSize, serialize
cloneViaReserialise, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public static final short sid
public BlankRecord()
public BlankRecord(BlankRecord other)
public BlankRecord(RecordInputStream in)
public void setRow(int row)
setRow
in interface CellValueRecordInterface
row
- the row this cell occurs withinpublic int getRow()
getRow
in interface CellValueRecordInterface
public short getColumn()
getColumn
in interface CellValueRecordInterface
public void setXFIndex(short xf)
setXFIndex
in interface CellValueRecordInterface
xf
- - the 0-based index of the extended formatExtendedFormatRecord
public short getXFIndex()
getXFIndex
in interface CellValueRecordInterface
public void setColumn(short col)
setColumn
in interface CellValueRecordInterface
col
- the column this cell definespublic short getSid()
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 BlankRecord 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()
getGenericProperties
in interface GenericRecord
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.