Save This Page
Home » cocoon-2.1.11-src » org.apache.cocoon.poi » hssf » record » [javadoc | source]
org.apache.cocoon.poi.hssf.record
public class: LabelRecord [javadoc | source]
java.lang.Object
   org.apache.cocoon.poi.hssf.record.Record
      org.apache.cocoon.poi.hssf.record.LabelRecord

All Implemented Interfaces:
    CellValueRecordInterface

Label Record - read only support for strings stored directly in the cell.. Don't use this (except to read), use LabelSST instead

Copyright: Copyright (c) 2001 SuperLink Software, Inc.

REFERENCE: PG 325 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)

Field Summary
public static final  short sid     
Fields inherited from org.apache.cocoon.poi.hssf.record.Record:
sid
Constructor:
 public LabelRecord() 
 public LabelRecord(short id,
    short size,
    byte[] data) 
 public LabelRecord(short id,
    short size,
    byte[] data,
    int offset) 
Method from org.apache.cocoon.poi.hssf.record.LabelRecord Summary:
fillFields,   getColumn,   getRow,   getSid,   getStringLength,   getValue,   getXFIndex,   isAfter,   isBefore,   isEqual,   isInValueSection,   isUnCompressedUnicode,   isValue,   serialize,   setColumn,   setRow,   setXFIndex,   validateSid
Methods from org.apache.cocoon.poi.hssf.record.Record:
fillFields,   fillFields,   getRecordSize,   getSid,   isInValueSection,   isValue,   processContinueRecord,   serialize,   toString,   validateSid
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.poi.hssf.record.LabelRecord Detail:
 protected  void fillFields(byte[] data,
    short size,
    int offset) 
    called by the constructor, should set class level fields. Should throw runtime exception for bad/icomplete data.
 public short getColumn() 
 public short getRow() 
 public short getSid() 
 public short getStringLength() 
    get the number of characters this string contains
 public String getValue() 
    get the value
 public short getXFIndex() 
 public boolean isAfter(CellValueRecordInterface i) 
 public boolean isBefore(CellValueRecordInterface i) 
 public boolean isEqual(CellValueRecordInterface i) 
 public boolean isInValueSection() 
 public boolean isUnCompressedUnicode() 
    is this uncompressed unicode (16bit)? Or just 8-bit compressed?
 public boolean isValue() 
 public byte[] serialize() 
    THROWS A RUNTIME EXCEPTION.. USE LABELSSTRecords. YOU HAVE NO REASON to use LABELRecord!!
 public  void setColumn(short col) 
    NO-OP!
 public  void setRow(short row) 
    NO-OP!
 public  void setXFIndex(short xf) 
    no op!
 protected  void validateSid(short id) 
    called by constructor, should throw runtime exception in the event of a record passed with a differing ID.