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.
(返回此记录的 id 的非静态版本。)
|
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.
(写入此 BIFF 记录的数据内容。)
|
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
(接口 CellValueRecordInterface 中的 setRow)
row
- the row this cell occurs within
(row - 此单元格所在的行)
public int getRow()
getRow
in interface
CellValueRecordInterface
(接口 CellValueRecordInterface 中的 getRow)
public short getColumn()
getColumn
in interface
CellValueRecordInterface
(接口 CellValueRecordInterface 中的 getColumn)
public void setXFIndex(short xf)
setXFIndex
in interface
CellValueRecordInterface
(接口 CellValueRecordInterface 中的 setXFIndex)
xf
- - the 0-based index of the extended format
(xf - - 扩展格式的从 0 开始的索引)
ExtendedFormatRecord
public short getXFIndex()
getXFIndex
in interface
CellValueRecordInterface
(接口 CellValueRecordInterface 中的 getXFIndex)
public void setColumn(short col)
setColumn
in interface
CellValueRecordInterface
(接口 CellValueRecordInterface 中的 setColumn)
col
- the column this cell defines
(col - 此单元格定义的列)
public 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
(在 StandardRecord 类中序列化)
out
- the output object
(out - 输出对象)
protected int getDataSize()
getDataSize
in class
StandardRecord
(类 StandardRecord 中的 getDataSize)
public BlankRecord copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
StandardRecord
(在 StandardRecord 类中复制)
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericRecordType)
getGenericRecordType
in class
Record
(类 Record 中的 getGenericRecordType)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.