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

All Implemented Interfaces:
    ErrorCell, ErrorFormulaCell, FormulaData, CellFeaturesAccessor, Cell

An error resulting from the calculation of a formula
Constructor:
 public ErrorFormulaRecord(Record t,
    FormattingRecords fr,
    ExternalSheet es,
    WorkbookMethods nt,
    SheetImpl si) 
    Constructs this object from the raw data
    Parameters:
    t - the raw data
    fr - the formatting records
    es - the external sheet
    nt - the name table
    si - the sheet
Method from jxl.read.biff.ErrorFormulaRecord Summary:
getContents,   getErrorCode,   getFormula,   getFormulaData,   getType
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.ErrorFormulaRecord Detail:
 public String getContents() 
    Returns the numerical value as a string
 public int getErrorCode() 
    Interface method which gets the error code for this cell. If this cell does not represent an error, then it returns 0. Always use the method isError() to determine this prior to calling this method
 public String getFormula() throws FormulaException 
    Gets the formula as an excel string
 public byte[] getFormulaData() throws FormulaException 
    Gets the raw bytes for the formula. This will include the parsed tokens array
 public CellType getType() 
    Returns the cell type