jxl.read.biff
Class SharedStringFormulaRecord
java.lang.Object
jxl.biff.RecordData
jxl.read.biff.CellValue
jxl.read.biff.BaseSharedFormulaRecord
jxl.read.biff.SharedStringFormulaRecord
- All Implemented Interfaces:
- Cell, jxl.read.biff.CellFeaturesAccessor, FormulaCell, FormulaData, LabelCell, StringFormulaCell
- public class SharedStringFormulaRecord
- extends BaseSharedFormulaRecord
- implements LabelCell, FormulaData, StringFormulaCell
A string formula record, manufactured out of the Shared Formula
"optimization"
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharedStringFormulaRecord
public SharedStringFormulaRecord(Record t,
File excelFile,
FormattingRecords fr,
ExternalSheet es,
WorkbookMethods nt,
SheetImpl si,
WorkbookSettings ws)
- Constructs this string formula
- Parameters:
t - the recordexcelFile - the excel filefr - the formatting recordes - the external sheetnt - the workbooksi - the sheetws - the workbook settings
getString
public java.lang.String getString()
- Accessor for the value
- Specified by:
getString in interface LabelCell
- Returns:
- the value
getContents
public java.lang.String getContents()
- Accessor for the contents as a string
- Specified by:
getContents in interface Cell
- Returns:
- the value as a string
getType
public CellType getType()
- Accessor for the cell type
- Specified by:
getType in interface Cell
- Returns:
- the cell type
getFormulaData
public byte[] getFormulaData()
throws FormulaException
- Gets the raw bytes for the formula. This will include the
parsed tokens array. Used when copying spreadsheets
- Specified by:
getFormulaData in interface FormulaData
- Returns:
- the raw record data
- Throws:
FormulaException