Home » JCraft » jxl.read » biff » [javadoc | source]
jxl.read.biff
public class: SharedErrorFormulaRecord [javadoc | source]
java.lang.Object
   jxl.biff.RecordData
      jxl.read.biff.CellValue
         jxl.read.biff.BaseSharedFormulaRecord
            jxl.read.biff.SharedErrorFormulaRecord

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

A number formula record, manufactured out of the Shared Formula "optimization"
Constructor:
 public SharedErrorFormulaRecord(Record t,
    File excelFile,
    int ec,
    FormattingRecords fr,
    ExternalSheet es,
    WorkbookMethods nt,
    SheetImpl si) 
    Constructs this number
    Parameters:
    t - the data
    excelFile - the excel biff data
    v - the errorCode
    fr - the formatting records
    es - the external sheet
    nt - the name table
    si - the sheet
Method from jxl.read.biff.SharedErrorFormulaRecord Summary:
getContents,   getErrorCode,   getFormulaData,   getType
Methods from jxl.read.biff.BaseSharedFormulaRecord:
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:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from jxl.read.biff.SharedErrorFormulaRecord 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 byte[] getFormulaData() throws FormulaException 
    Gets the raw bytes for the formula. This will include the parsed tokens array. Used when copying spreadsheets
 public CellType getType() 
    Accessor for the cell type