]> source.dussan.org Git - poi.git/commitdiff
Template IDs from which CFs can be based
authorNick Burch <nick@apache.org>
Sun, 12 Jul 2015 21:34:18 +0000 (21:34 +0000)
committerNick Burch <nick@apache.org>
Sun, 12 Jul 2015 21:34:18 +0000 (21:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690534 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/hssf/record/CFRuleBase.java

index 7b31ee6baf6c8721b64f41d062055e2945b85811..c06885b653e3147d42735ecc88dea2453d4fe381 100644 (file)
@@ -57,6 +57,34 @@ public abstract class CFRuleBase extends StandardRecord {
 
     private byte comparison_operator;
 
+    public static final int TEMPLATE_CELL_VALUE = 0x0000;
+    public static final int TEMPLATE_FORMULA = 0x0001;
+    public static final int TEMPLATE_COLOR_SCALE_FORMATTING = 0x0002;
+    public static final int TEMPLATE_DATA_BAR_FORMATTING = 0x0003;
+    public static final int TEMPLATE_ICON_SET_FORMATTING = 0x0004;
+    public static final int TEMPLATE_FILTER = 0x0005;
+    public static final int TEMPLATE_UNIQUE_VALUES = 0x0007;
+    public static final int TEMPLATE_CONTAINS_TEXT = 0x0008;
+    public static final int TEMPLATE_CONTAINS_BLANKS = 0x0009;
+    public static final int TEMPLATE_CONTAINS_NO_BLANKS = 0x000A;
+    public static final int TEMPLATE_CONTAINS_ERRORS = 0x000B;
+    public static final int TEMPLATE_CONTAINS_NO_ERRORS = 0x000C;
+    public static final int TEMPLATE_TODAY = 0x000F;
+    public static final int TEMPLATE_TOMORROW = 0x0010;
+    public static final int TEMPLATE_YESTERDAY = 0x0011;
+    public static final int TEMPLATE_LAST_7_DAYS = 0x0012;
+    public static final int TEMPLATE_LAST_MONTH = 0x0013;
+    public static final int TEMPLATE_NEXT_MONTH = 0x0014;
+    public static final int TEMPLATE_THIS_WEEK = 0x0015;
+    public static final int TEMPLATE_NEXT_WEEK = 0x0016;
+    public static final int TEMPLATE_LAST_WEEK = 0x0017;
+    public static final int TEMPLATE_THIS_MONTH = 0x0018;
+    public static final int TEMPLATE_ABOVE_AVERAGE = 0x0019;
+    public static final int TEMPLATE_BELOW_AVERAGE = 0x001A;
+    public static final int TEMPLATE_DUPLICATE_VALUES = 0x001B;
+    public static final int TEMPLATE_ABOVE_OR_EQUAL_TO_AVERAGE = 0x001D;
+    public static final int TEMPLATE_BELOW_OR_EQUAL_TO_AVERAGE = 0x001E;
+    
     private Formula formula1;
     private Formula formula2;