Class StandardFormulaProcessor

java.lang.Object
org.jxls.formula.AbstractFormulaProcessor
org.jxls.formula.StandardFormulaProcessor
All Implemented Interfaces:
FormulaProcessor

public class StandardFormulaProcessor extends AbstractFormulaProcessor
This is a standard formula processor implementation which takes into account all the performed cell transformations to properly evaluate all the formulas even for complex templates.

However for simple templates you may consider using the FastFormulaProcessor instead because it is much faster although may not provide the correct results for more complex cases.

  • Constructor Details

    • StandardFormulaProcessor

      public StandardFormulaProcessor()
  • Method Details

    • processAreaFormulas

      public void processAreaFormulas(Transformer transformer, Area area)
      The method transforms all the formula cells according to the command transformations happened during the area processing
      Parameters:
      transformer - transformer to use for formula processing
      area - - xls area for which the formula processing is invoked
    • processTargetFormulaCell

      protected void processTargetFormulaCell(int i, CellData formulaCellData, org.jxls.formula.AbstractFormulaProcessor.FormulaProcessorContext fpc)
      Specified by:
      processTargetFormulaCell in class AbstractFormulaProcessor