Home » JCraft » jxl » biff » formula » [javadoc | source]
jxl.biff.formula
interface: Parser [javadoc | source]

All Known Implementing Classes:
    TokenFormulaParser, StringFormulaParser

Interface used by the two different types of formula parser
Method from jxl.biff.formula.Parser Summary:
adjustRelativeCellReferences,   columnInserted,   columnRemoved,   getBytes,   getFormula,   handleImportedCellReferences,   parse,   rowInserted,   rowRemoved
Method from jxl.biff.formula.Parser Detail:
 public  void adjustRelativeCellReferences(int colAdjust,
    int rowAdjust)
    Adjusts all the relative cell references in this formula by the amount specified.
 public  void columnInserted(int sheetIndex,
    int col,
    boolean currentSheet)
    Called when a column is inserted on the specified sheet. Tells the formula parser to update all of its cell references beyond this column
 public  void columnRemoved(int sheetIndex,
    int col,
    boolean currentSheet)
    Called when a column is inserted on the specified sheet. Tells the formula parser to update all of its cell references beyond this column
 public byte[] getBytes()
    Gets the bytes for the formula. This takes into account any token mapping necessary because of shared formulas
 public String getFormula()
    Gets the string version of the formula
 public boolean handleImportedCellReferences()
    If this formula was on an imported sheet, check that cell references to another sheet are warned appropriately
 public  void parse() throws FormulaException
    Parses the formula
 public  void rowInserted(int sheetIndex,
    int row,
    boolean currentSheet)
    Called when a column is inserted on the specified sheet. Tells the formula parser to update all of its cell references beyond this column
 public  void rowRemoved(int sheetIndex,
    int row,
    boolean currentSheet)
    Called when a column is inserted on the specified sheet. Tells the formula parser to update all of its cell references beyond this column