Пример #1
0
 public Map createFormulaSheetMap() {
   Map formulas = new HashMap();
   for (int i = 0, c = sheets.size(); i < c; i++) {
     Sheet sheet = (Sheet) sheets.get(i);
     formulas.put(sheet.getSheetName(), SheetHelper.findFormulas(sheet));
   }
   return formulas;
 }
Пример #2
0
 public List findFormulas() {
   List formulas = new ArrayList();
   for (int i = 0, c = sheets.size(); i < c; i++) {
     Sheet sheet = (Sheet) sheets.get(i);
     formulas.addAll(SheetHelper.findFormulas(sheet));
   }
   return formulas;
 }