public boolean isSubTotal(int rowIndex, int columnIndex){boolean subtotal = false;EvaluationCell cell = getSheet().getCell(rowIndex, columnIndex);if(cell != null && cell.getCellType() == CellType.FORMULA){EvaluationWorkbook wb = _bookEvaluator.getWorkbook();for(Ptg ptg : wb.getFormulaTokens(cell)){if(ptg instanceof FuncVarPtg){FuncVarPtg f = (FuncVarPtg)ptg;if("SUBTOTAL".equals(f.getName())) {subtotal = true;break;}}}}return subtotal;}
public bool IsSubTotal(int rowIndex, int columnIndex){bool subtotal = false;IEvaluationCell cell = Sheet.GetCell(rowIndex, columnIndex);if (cell != null && cell.CellType == CellType.Formula){IEvaluationWorkbook wb = _bookEvaluator.Workbook;foreach (Ptg ptg in wb.GetFormulaTokens(cell)){if (ptg is FuncVarPtg){FuncVarPtg f = (FuncVarPtg)ptg;if ("SUBTOTAL".Equals(f.Name)){subtotal = true;break;}}}}return subtotal;}