Package org.zkoss.zss.formula

Examples of org.zkoss.zss.formula.FunctionResolver


    super(is);
    for(XSSFSheet sheet : this) {
      ((SheetCtrl)sheet).initMerged();
    }
    _bookname = bookname;
    FunctionResolver resolver = (FunctionResolver) BookHelper.getLibraryInstance(FunctionResolver.CLASS);
    if (resolver == null) resolver = new DefaultFunctionResolver();
    _evaluator = XSSFFormulaEvaluator.create(this, NoCacheClassifier.instance, resolver.getUDFFinder());
    _bookEvaluator = _evaluator.getWorkbookEvaluator();
    _bookEvaluator.setDependencyTracker(resolver.getDependencyTracker(this));
    _functionMapper = new JoinFunctionMapper(resolver.getFunctionMapper());
    _variableResolver = new JoinVariableResolver();
  }
View Full Code Here


  public HSSFBookImpl(String bookname, InputStream is) throws IOException {
    super(is);
    _bookname = bookname;
   
    FunctionResolver resolver = (FunctionResolver) BookHelper.getLibraryInstance(FunctionResolver.CLASS);
    if (resolver == null) resolver = new DefaultFunctionResolver();
    _evaluator = HSSFFormulaEvaluator.create(this, NoCacheClassifier.instance, resolver.getUDFFinder());
    _bookEvaluator = _evaluator.getWorkbookEvaluator();
    _bookEvaluator.setDependencyTracker(resolver.getDependencyTracker(this));
    _functionMapper = new JoinFunctionMapper(resolver.getFunctionMapper());
    _variableResolver = new JoinVariableResolver();
    _helper = new HSSFWorkbookHelper(this);
  }
View Full Code Here

TOP

Related Classes of org.zkoss.zss.formula.FunctionResolver

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.