public final class OldLabelRecord extends OldCellRecord
LabelSSTRecord
(Biff2 - Biff 4 标签记录 (0x0004 / 0x0204) - 只读支持直接存储在单元格中的字符串,来自不使用 LabelSSTRecord 的旧文件格式)
Modifier and Type | Field and Description |
---|---|
static short |
biff2_sid |
static short |
biff345_sid |
Constructor and Description |
---|
OldLabelRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
int |
getRecordSize() |
short |
getStringLength()
get the number of characters this string contains
(获取此字符串包含的字符数)
|
java.lang.String |
getValue()
Get the String of the cell
(获取单元格的字符串)
|
int |
serialize(int offset, byte[] data)
Not supported
(不支持)
|
void |
setCodePage(CodepageRecord codepage) |
getCellAttrs, getColumn, getRow, getSid, getXFIndex, isBiff2, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public static final short biff2_sid
public static final short biff345_sid
public OldLabelRecord(RecordInputStream in)
in
- the RecordInputstream to read the record from
(in - 要从中读取记录的 RecordInputstream)
public void setCodePage(CodepageRecord codepage)
public short getStringLength()
public java.lang.String getValue()
public int serialize(int offset, byte[] data)
offset
- not supported
(偏移量 - 不支持)
data
- not supported
(数据 - 不支持)
public int getRecordSize()
public HSSFRecordTypes getGenericRecordType()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
getGenericProperties
in class
OldCellRecord
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.