|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hssf.record.OldCellRecord org.apache.poi.hssf.record.OldLabelRecord
public final class OldLabelRecord
Biff2 - Biff 4 Label Record (0x0004 / 0x0204) - read only support for
strings stored directly in the cell, from the older file formats that
didn't use LabelSSTRecord
Field Summary | |
---|---|
static short |
biff2_sid
|
static short |
biff345_sid
|
Constructor Summary | |
---|---|
OldLabelRecord(RecordInputStream in)
|
Method Summary | |
---|---|
protected void |
appendValueText(java.lang.StringBuilder sb)
Append specific debug info (used by OldCellRecord.toString() for the value
contained in this record. |
protected java.lang.String |
getRecordName()
Gets the debug info BIFF record type name (used by OldCellRecord.toString() . |
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)
|
Methods inherited from class org.apache.poi.hssf.record.OldCellRecord |
---|
getCellAttrs, getColumn, getRow, getSid, getXFIndex, isBiff2, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short biff2_sid
public static final short biff345_sid
Constructor Detail |
---|
public OldLabelRecord(RecordInputStream in)
in
- the RecordInputstream to read the record fromMethod Detail |
---|
public void setCodePage(CodepageRecord codepage)
public short getStringLength()
public java.lang.String getValue()
public int serialize(int offset, byte[] data)
offset
- not supporteddata
- not supported
public int getRecordSize()
protected void appendValueText(java.lang.StringBuilder sb)
OldCellRecord
OldCellRecord.toString()
for the value
contained in this record. Trailing new-line should not be appended
(superclass does that).
appendValueText
in class OldCellRecord
sb
- the StringBuilder to append toprotected java.lang.String getRecordName()
OldCellRecord
OldCellRecord.toString()
.
getRecordName
in class OldCellRecord
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |