瀏覽代碼

Fix for issue #608 (#609)

echarlus 5 年之前
父節點
當前提交
a2e1da8d9d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      styles.go

+ 1 - 1
styles.go

@@ -2732,7 +2732,7 @@ func drawCondFmtCellIs(p int, ct string, format *formatConditional) *xlsxCfRule
 		c.Formula = append(c.Formula, format.Minimum)
 		c.Formula = append(c.Formula, format.Maximum)
 	}
-	_, ok = map[string]bool{"equal": true, "notEqual": true, "greaterThan": true, "lessThan": true}[ct]
+	_, ok = map[string]bool{"equal": true, "notEqual": true, "greaterThan": true, "lessThan": true, "greaterThanOrEqual": true, "lessThanOrEqual": true, "containsText": true, "notContains": true, "beginsWith": true, "endsWith": true}[ct]
 	if ok {
 		c.Formula = append(c.Formula, format.Value)
 	}