Home » JCraft » jxl.read » biff » [javadoc | source]
public class: SharedNumberFormulaRecord [javadoc | source]

All Implemented Interfaces:
    NumberCell, FormulaData, NumberFormulaCell, CellFeaturesAccessor, Cell

A number formula record, manufactured out of the Shared Formula "optimization"
 public SharedNumberFormulaRecord(Record t,
    File excelFile,
    double v,
    FormattingRecords fr,
    ExternalSheet es,
    WorkbookMethods nt,
    SheetImpl si) 
    Constructs this number
    t - the data
    excelFile - the excel biff data
    v - the value
    fr - the formatting records
    es - the external sheet
    nt - the name table
    si - the sheet
Method from jxl.read.biff.SharedNumberFormulaRecord Summary:
getContents,   getFormulaData,   getNumberFormat,   getType,   getValue,   setNumberFormat
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.SharedNumberFormulaRecord Detail:
 public String getContents() 
    Accessor for the contents as a string
 public byte[] getFormulaData() throws FormulaException 
    Gets the raw bytes for the formula. This will include the parsed tokens array. Used when copying spreadsheets
 public NumberFormat getNumberFormat() 
    Gets the NumberFormat used to format this cell. This is the java equivalent of the Excel format
 public CellType getType() 
    Accessor for the cell type
 public double getValue() 
    Accessor for the value
 final  void setNumberFormat(NumberFormat f) 
    Sets the format for the number based on the Excel spreadsheets' format. This is called from SheetImpl when it has been definitely established that this cell is a number and not a date