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: MulRKRecord [javadoc | source]
java.lang.Object
   org.apache.cocoon.poi.hssf.record.Record
      org.apache.cocoon.poi.hssf.record.MulRKRecord
Used to store multiple RK numbers on a row. 1 MulRk = Multiple Cell values. HSSF just converts this into multiple NUMBER records. READ-ONLY SUPPORT!

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

REFERENCE: PG 330 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 MulRKRecord() 
 public MulRKRecord(short id,
    short size,
    byte[] data) 
 public MulRKRecord(short id,
    short size,
    byte[] data,
    int offset) 
Method from org.apache.cocoon.poi.hssf.record.MulRKRecord Summary:
fillFields,   getFirstColumn,   getLastColumn,   getNumColumns,   getRKNumberAt,   getRow,   getSid,   getXFAt,   serialize,   toString,   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.MulRKRecord 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 getFirstColumn() 
    starting column (first cell this holds in the row)
 public short getLastColumn() 
    ending column (last cell this holds in the row)
 public int getNumColumns() 
    get the number of columns this contains (last-first +1)
 public double getRKNumberAt(int coffset) 
    returns the rk number for column (coffset = column - field_2_first_col)
 public short getRow() 
 public short getSid() 
 public short getXFAt(int coffset) 
    returns the xf index for column (coffset = column - field_2_first_col)
 public byte[] serialize() 
 public String toString() 
 protected  void validateSid(short id) 
    called by constructor, should throw runtime exception in the event of a record passed with a differing ID.