jxl.read.biff
abstract public class: BaseSharedFormulaRecord [javadoc |
source]
java.lang.Object
jxl.biff.RecordData
jxl.read.biff.CellValue
jxl.read.biff.BaseSharedFormulaRecord
All Implemented Interfaces:
FormulaData, CellFeaturesAccessor, Cell
Direct Known Subclasses:
SharedBooleanFormulaRecord, SharedDateFormulaRecord, SharedErrorFormulaRecord, SharedNumberFormulaRecord, SharedStringFormulaRecord
A base class for shared formula records
| Method from jxl.read.biff.BaseSharedFormulaRecord Detail: |
protected final ExternalSheet getExternalSheet() {
return externalSheet;
}
Access for the external sheet |
final int getFilePos() {
return filePos;
}
Accessor for the position of the next record |
public String getFormula() throws FormulaException {
if (formulaString == null)
{
FormulaParser fp = new FormulaParser
(tokens, this, externalSheet, nameTable,
getSheet().getWorkbook().getSettings());
fp.parse();
formulaString = fp.getFormula();
}
return formulaString;
}
Gets the formula as an excel string |
protected final WorkbookMethods getNameTable() {
return nameTable;
}
Access for the name table |
public Record getRecord() {
return super.getRecord();
}
In case the shared formula is not added for any reason, we need
to expose the raw record data , in order to try again |
protected final byte[] getTokens() {
return tokens;
}
Accessor for the tokens which make up this formula |
void setTokens(byte[] t) {
tokens = t;
}
Called by the shared formula record to set the tokens for
this formula |