public String getFormula() throws FormulaException {
// Note that the standard information was lopped off by the NumberFormula
// record when creating this formula
if (formulaString == null)
{
byte[] tokens = new byte[data.length - 16];
System.arraycopy(data, 16, tokens, 0, tokens.length);
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 |