|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.LabelRecord
public final class LabelRecord
Label Record (0x0204) - read only support for strings stored directly in the cell... Don't use this (except to read), use LabelSST instead
REFERENCE: PG 325 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)
LabelSSTRecord| Field Summary | |
|---|---|
static short |
sid
|
| Constructor Summary | |
|---|---|
LabelRecord()
Creates new LabelRecord |
|
LabelRecord(RecordInputStream in)
|
|
| Method Summary | |
|---|---|
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) |
| Methods inherited from class org.apache.poi.hssf.record.Record |
|---|
cloneViaReserialise, serialize |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final short sid
| Constructor Detail |
|---|
public LabelRecord()
public LabelRecord(RecordInputStream in)
in - the RecordInputstream to read the record from| Method Detail |
|---|
public int getRow()
getRow in interface CellValueRecordInterfacepublic short getColumn()
getColumn in interface CellValueRecordInterfacepublic short getXFIndex()
getXFIndex in interface CellValueRecordInterfacepublic short getStringLength()
public boolean isUnCompressedUnicode()
public java.lang.String getValue()
getStringLength()
public int serialize(int offset,
byte[] data)
serialize in class RecordBaseoffset - to begin writing atdata - byte array containing instance data
public int getRecordSize()
RecordBase
getRecordSize in class RecordBasepublic short getSid()
Record
getSid in class Recordpublic java.lang.String toString()
Record
toString in class Recordpublic void setColumn(short col)
setColumn in interface CellValueRecordInterfacecol - the column this cell definespublic void setRow(int row)
setRow in interface CellValueRecordInterfacerow - the row this cell occurs withinpublic void setXFIndex(short xf)
setXFIndex in interface CellValueRecordInterfacepublic LabelRecord clone()
clone in class Record
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||