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

All Implemented Interfaces:
    CellFeaturesAccessor, Cell

A formula's last calculated value
Field Summary
public static final  FormulaRecord.IgnoreSharedFormula ignoreSharedFormula     
Constructor:
 public FormulaRecord(Record t,
    File excelFile,
    FormattingRecords fr,
    ExternalSheet es,
    WorkbookMethods nt,
    SheetImpl si,
    WorkbookSettings ws) 
    Constructs this object from the raw data. Creates either a NumberFormulaRecord or a StringFormulaRecord depending on whether this formula represents a numerical calculation or not
    Parameters:
    t - the raw data
    excelFile - the excel file
    fr - the formatting records
    es - the workbook, which contains the external sheet references
    nt - the name table
    si - the sheet
    ws - the workbook settings
 public FormulaRecord(Record t,
    File excelFile,
    FormattingRecords fr,
    ExternalSheet es,
    WorkbookMethods nt,
    FormulaRecord.IgnoreSharedFormula i,
    SheetImpl si,
    WorkbookSettings ws) 
    Constructs this object from the raw data. Creates either a NumberFormulaRecord or a StringFormulaRecord depending on whether this formula represents a numerical calculation or not
    Parameters:
    t - the raw data
    excelFile - the excel file
    fr - the formatting records
    es - the workbook, which contains the external sheet references
    nt - the name table
    i - a dummy override to indicate that we don't want to do any shared formula processing
    si - the sheet impl
    ws - the workbook settings
Method from jxl.read.biff.FormulaRecord Summary:
getContents,   getFormula,   getType,   isShared
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.FormulaRecord Detail:
 public String getContents() 
    Returns the numerical value as a string
 final CellValue getFormula() 
    Gets the "real" formula
 public CellType getType() 
    Returns the cell type
 final boolean isShared() 
    Interrogates this formula to determine if it forms part of a shared formula