From 1646914d22b67feb7d1d6f5f67168c7d26cb2b9f Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Sun, 12 Jul 2015 21:34:18 +0000 Subject: [PATCH] Template IDs from which CFs can be based git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690534 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/poi/hssf/record/CFRuleBase.java | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/java/org/apache/poi/hssf/record/CFRuleBase.java b/src/java/org/apache/poi/hssf/record/CFRuleBase.java index 7b31ee6baf..c06885b653 100644 --- a/src/java/org/apache/poi/hssf/record/CFRuleBase.java +++ b/src/java/org/apache/poi/hssf/record/CFRuleBase.java @@ -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; -- 2.39.5