| |
|
| java.lang.Object org.apache.poi.hssf.record.Record org.apache.poi.hssf.record.LabelRecord
LabelRecord | public class LabelRecord extends Record implements CellValueRecordInterface(Code) | | Label Record - 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)
author: Andrew C. Oliver (acoliver at apache dot org) author: Jason Height (jheight at chariot dot net dot au) version: 2.0-pre See Also: org.apache.poi.hssf.record.LabelSSTRecord |
Field Summary | |
final public static short | sid |
sid | final public static short sid(Code) | | |
LabelRecord | public LabelRecord()(Code) | | Creates new LabelRecord
|
LabelRecord | public LabelRecord(RecordInputStream in)(Code) | | Constructs an Label record and sets its fields appropriately.
Parameters: in - the RecordInputstream to read the record from |
fillFields | protected void fillFields(RecordInputStream in)(Code) | | Parameters: in - the RecordInputstream to read the record from |
getColumn | public short getColumn()(Code) | | |
getRow | public int getRow()(Code) | | |
getSid | public short getSid()(Code) | | |
getStringLength | public short getStringLength()(Code) | | get the number of characters this string contains
number of characters |
getXFIndex | public short getXFIndex()(Code) | | |
isInValueSection | public boolean isInValueSection()(Code) | | |
isUnCompressedUnicode | public boolean isUnCompressedUnicode()(Code) | | is this uncompressed unicode (16bit)? Or just 8-bit compressed?
isUnicode - True for 16bit- false for 8bit |
isValue | public boolean isValue()(Code) | | |
serialize | public int serialize(int offset, byte[] data)(Code) | | THROWS A RUNTIME EXCEPTION.. USE LABELSSTRecords. YOU HAVE NO REASON to use LABELRecord!!
|
setColumn | public void setColumn(short col)(Code) | | NO-OP!
|
setRow | public void setRow(int row)(Code) | | NO-OP!
|
setXFIndex | public void setXFIndex(short xf)(Code) | | no op!
|
validateSid | protected void validateSid(short id)(Code) | | called by constructor, should throw runtime exception in the event of a
record passed with a differing ID.
Parameters: id - alleged id for this record |
|
|
|