Package org.zkoss.poi.ss.formula

Examples of org.zkoss.poi.ss.formula.FormulaParsingWorkbook


      return getHSSFPtgs((HSSFCell)cell);
    } else if (cell instanceof XSSFCell) {
      final String formula = cell.getCellFormula();
      final XSSFSheet sheet = (XSSFSheet) cell.getSheet();
      final XSSFWorkbook wb = (XSSFWorkbook) sheet.getWorkbook();
      final FormulaParsingWorkbook fpb = XSSFEvaluationWorkbook.create(wb);
      return FormulaParser.parse(formula, fpb, FormulaType.CELL, wb.getSheetIndex(sheet));
    }
    throw new UiException("Unknown cell class:"+cell);
  }
View Full Code Here

TOP

Related Classes of org.zkoss.poi.ss.formula.FormulaParsingWorkbook

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.