Save This Page
Home » jexcelapi_2_6_8 » jxl.read.biff » [javadoc | source]
jxl.read.biff
abstract public class: BaseSharedFormulaRecord [javadoc | source]
java.lang.Object
   jxl.biff.RecordData
      jxl.read.biff.CellValue
         jxl.read.biff.BaseSharedFormulaRecord

All Implemented Interfaces:
    FormulaData, CellFeaturesAccessor, Cell

Direct Known Subclasses:
    SharedBooleanFormulaRecord, SharedDateFormulaRecord, SharedErrorFormulaRecord, SharedNumberFormulaRecord, SharedStringFormulaRecord

A base class for shared formula records
Constructor:
 public BaseSharedFormulaRecord(Record t,
    FormattingRecords fr,
    ExternalSheet es,
    WorkbookMethods nt,
    SheetImpl si,
    int pos) 
    Constructs this number
    Parameters:
    t - the record
    fr - the formatting records
    es - the external sheet
    nt - the name table
    si - the sheet
    pos - the position of the next record in the file
Method from jxl.read.biff.BaseSharedFormulaRecord Summary:
getExternalSheet,   getFilePos,   getFormula,   getNameTable,   getRecord,   getTokens,   setTokens
Methods from jxl.read.biff.CellValue:
getCellFeatures,   getCellFormat,   getColumn,   getRow,   getSheet,   getXFIndex,   isHidden,   setCellFeatures
Methods from jxl.biff.RecordData:
getCode,   getRecord
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from jxl.read.biff.BaseSharedFormulaRecord Detail:
 protected final ExternalSheet getExternalSheet() 
    Access for the external sheet
 final int getFilePos() 
    Accessor for the position of the next record
 public String getFormula() throws FormulaException 
    Gets the formula as an excel string
 protected final WorkbookMethods getNameTable() 
    Access for the name table
 public Record getRecord() 
    In case the shared formula is not added for any reason, we need to expose the raw record data , in order to try again
 protected final byte[] getTokens() 
    Accessor for the tokens which make up this formula
  void setTokens(byte[] t) 
    Called by the shared formula record to set the tokens for this formula