Package org.apache.poi.ss.formula.eval

Examples of org.apache.poi.ss.formula.eval.NotImplementedException


    try {
      String sheetName = _workbook.getSheetName(sheetIndex);
      CellReference cr = new CellReference(sheetName, rowIndex, columnIndex, false, false);
      String msg =  "Error evaluating cell " + cr.formatAsString();
      return new NotImplementedException(msg, inner);
    } catch (Exception e) {
      // avoid bombing out during exception handling
      e.printStackTrace();
      return inner; // preserve original exception
    }
View Full Code Here


    try {
      String sheetName = _workbook.getSheetName(sheetIndex);
      CellReference cr = new CellReference(sheetName, rowIndex, columnIndex, false, false);
      String msg =  "Error evaluating cell " + cr.formatAsString();
      return new NotImplementedException(msg, inner);
    } catch (Exception e) {
      // avoid bombing out during exception handling
      e.printStackTrace();
      return inner; // preserve original exception
    }
View Full Code Here

        return null;
    }
    // else - must be plain function
    Function result = functions[functionIndex];
    if (result == null) {
      throw new NotImplementedException("FuncIx=" + functionIndex);
    }
    return result;
  }
View Full Code Here

   
    try {
      String sheetName = _workbook.getSheetName(sheetIndex);
      CellReference cr = new CellReference(sheetName, rowIndex, columnIndex, false, false);
      String msg =  "Error evaluating cell " + cr.formatAsString();
      return new NotImplementedException(msg, inner);
    } catch (Exception e) {
      // avoid bombing out during exception handling
      e.printStackTrace();
      return inner; // preserve original exception
    }
View Full Code Here

  }

  public Eval evaluate(Eval[] operands, int srcRow, short srcCol) {
    Function f = getFunction();
    if (f == null) {
      throw new NotImplementedException("FuncIx=" + getFunctionIndex());
    }
    return f.evaluate(operands, srcRow, srcCol);
  }
View Full Code Here

      _functionName = functionName;
    }

    public ValueEval evaluate(Eval[] args, EvaluationWorkbook workbook, int srcCellSheet,
        int srcCellRow, int srcCellCol) {
      throw new NotImplementedException(_functionName);
    }
View Full Code Here

    // not sure how much this logic would need to change to support other or multiple add-ins.
    FreeRefFunction result = AnalysisToolPak.findFunction(functionName);
    if (result != null) {
      return result;
    }
    throw new NotImplementedException(functionName);
  }
View Full Code Here

    if(false) {
      System.out.println("received call to internal user defined function  (" + functionName + ")");
    }
    // TODO find the implementation for the user defined function
   
    throw new NotImplementedException(functionName);
  }
View Full Code Here

*/
public final class Indirect implements FreeRefFunction {

  public ValueEval evaluate(Eval[] args, EvaluationWorkbook workbook, int srcCellSheet, int srcCellRow, int srcCellCol) {
    // TODO - implement INDIRECT()
    throw new NotImplementedException("INDIRECT");
  }
View Full Code Here

  public NotImplementedFunction(String name) {
    _functionName = name;
  }

  public Eval evaluate(Eval[] operands, int srcRow, short srcCol) {
    throw new NotImplementedException(_functionName);
  }
View Full Code Here

TOP

Related Classes of org.apache.poi.ss.formula.eval.NotImplementedException

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.