Exemple #1
0
 /**
  * Coordinates several formula Evaluators together so that formulas that involve external
  * references can be Evaluated.
  * @param workbookNames the simple file names used to identify the workbooks in formulas
  * with external links (for example "MyData.xls" as used in a formula "[MyData.xls]Sheet1!A1")
  * @param Evaluators all Evaluators for the full Set of workbooks required by the formulas.
  */
 public static void SetupEnvironment(String[] workbookNames, BaseFormulaEvaluator[] Evaluators)
 {
     WorkbookEvaluator[] wbEvals = new WorkbookEvaluator[Evaluators.Length];
     for (int i = 0; i < wbEvals.Length; i++)
     {
         wbEvals[i] = Evaluators[i]._bookEvaluator;
     }
     CollaboratingWorkbooksEnvironment.Setup(workbookNames, wbEvals);
 }