Package com.extentech.formats.XLS.formulas

Examples of com.extentech.formats.XLS.formulas.CalculationException


            if (val==null)  {// means cache was cleared (in all cases???) MUST recalc
                if(this.form.getWorkBook().getCalcMode() != WorkBookHandle.CALCULATE_EXPLICIT) {
                  this.calculate();
                  val= this.getVal();
                } else {
                  val = new CalculationException(CalculationException.VALUE );
                }
             } else if (val instanceof String && ((String) val).startsWith("#"))
               val= new CalculationException(CalculationException.getErrorCode((String)val));
           } catch (Exception e) {
             val = new CalculationException(CalculationException.VALUE );
           }
           if (val==null) {
             Logger.logErr("FormulaHandle.getOOXML:  unexpected null encountered when calculating formula: " + this.getCellAddress());
           }
           // Handle attributes for special cached values
View Full Code Here

TOP

Related Classes of com.extentech.formats.XLS.formulas.CalculationException

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.