public final class LabelRecord extends Record implements CellValueRecordInterface, java.lang.Cloneable
REFERENCE: PG 325 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)
LabelSSTRecord
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
LabelRecord()
Creates new LabelRecord
|
LabelRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
LabelRecord |
clone() |
short |
getColumn() |
int |
getRecordSize()
gives the current serialized size of the record.
|
int |
getRow() |
short |
getSid()
return the non static version of the id for this record.
|
short |
getStringLength()
get the number of characters this string contains
|
java.lang.String |
getValue()
get the value
|
short |
getXFIndex() |
boolean |
isUnCompressedUnicode()
is this uncompressed unicode (16bit)? Or just 8-bit compressed?
|
int |
serialize(int offset,
byte[] data)
THROWS A RUNTIME EXCEPTION..
|
void |
setColumn(short col)
NO-OP!
|
void |
setRow(int row)
NO-OP!
|
void |
setXFIndex(short xf)
no op!
|
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging)
|
cloneViaReserialise, serialize
public static final short sid
public LabelRecord()
public LabelRecord(RecordInputStream in)
in
- the RecordInputstream to read the record frompublic int getRow()
getRow
in interface CellValueRecordInterface
public short getColumn()
getColumn
in interface CellValueRecordInterface
public short getXFIndex()
getXFIndex
in interface CellValueRecordInterface
public short getStringLength()
public boolean isUnCompressedUnicode()
public java.lang.String getValue()
getStringLength()
public int serialize(int offset, byte[] data)
serialize
in class RecordBase
offset
- to begin writing atdata
- byte array containing instance datapublic int getRecordSize()
RecordBase
getRecordSize
in class RecordBase
public short getSid()
Record
public java.lang.String toString()
Record
public void setColumn(short col)
setColumn
in interface CellValueRecordInterface
col
- the column this cell definespublic void setRow(int row)
setRow
in interface CellValueRecordInterface
row
- the row this cell occurs withinpublic void setXFIndex(short xf)
setXFIndex
in interface CellValueRecordInterface
public LabelRecord clone()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.