public static CFRuleRecord create(HSSFSheet sheet, byte comparisonOperation,String formulaText1, String formulaText2) {Ptg[] formula1 = parseFormula(formulaText1, sheet);Ptg[] formula2 = parseFormula(formulaText2, sheet);return new CFRuleRecord(CONDITION_TYPE_CELL_VALUE_IS, comparisonOperation, formula1, formula2);}
public static CFRuleRecord Create(HSSFSheet sheet, byte comparisonOperation,String formulaText1, String formulaText2){Ptg[] formula1 = ParseFormula(formulaText1, sheet);Ptg[] formula2 = ParseFormula(formulaText2, sheet);return new CFRuleRecord(CONDITION_TYPE_CELL_VALUE_IS, (ComparisonOperator)comparisonOperation, formula1, formula2);}