--- /dev/null
+/*\r
+ * ====================================================================\r
+ * Licensed to the Apache Software Foundation (ASF) under one or more\r
+ * contributor license agreements. See the NOTICE file distributed with\r
+ * this work for additional information regarding copyright ownership.\r
+ * The ASF licenses this file to You under the Apache License, Version 2.0\r
+ * (the "License"); you may not use this file except in compliance with\r
+ * the License. You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ * ====================================================================\r
+ */\r
+\r
+package org.apache.poi.ss.usermodel;\r
+\r
+/**\r
+ * High level representation for the Icon / Multi-State Formatting \r
+ * component of Conditional Formatting settings\r
+ */\r
+public interface IconMultiStateFormatting {\r
+ class IconSet {\r
+ public final int id;\r
+ public final String name;\r
+ public String toString() {\r
+ return id + " - " + (name==null?"default":name);\r
+ }\r
+ private IconSet(int id, String name) {\r
+ this.id = id; this.name = name;\r
+ }\r
+ }\r
+ /** Green Up / Yellow Side / Red Down arrows */\r
+ static final IconSet GYR_3_ARROWS = new IconSet(0, "3Arrows");\r
+ /** Grey Up / Side / Down arrows */\r
+ static final IconSet GREY_3_ARROWS = new IconSet(1, "3ArrowsGray");\r
+ /** Green / Yellow / Red flags */\r
+ static final IconSet GYR_3_FLAGS = new IconSet(2, "3Flags");\r
+ /** Green / Yellow / Red traffic lights (no background) */\r
+ static final IconSet GYR_3_TRAFFIC_LIGHTS = new IconSet(3, null);\r
+ /** Green Circle / Yellow Triangle / Red Diamond */ \r
+ static final IconSet GYR_3_SHAPES = new IconSet(4, "3Signs");\r
+ /** Green / Yellow / Red traffic lights on a black square background */\r
+ static final IconSet GYR_3_TRAFFIC_LIGHTS_BOX = new IconSet(5, "3TrafficLights2");\r
+ /** Green Tick / Yellow ! / Red Cross on a circle background */\r
+ static final IconSet GYR_3_SYMBOLS_CIRCLE = new IconSet(6, "3Symbols");\r
+ /** Green Tick / Yellow ! / Red Cross (no background) */\r
+ static final IconSet GYR_3_SYMBOLS = new IconSet(7, "3Symbols2");\r
+ /** Green Up / Yellow NE / Yellow SE / Red Down arrows */\r
+ static final IconSet GYR_4_ARROWS = new IconSet(8, "4Arrows");\r
+ /** Grey Up / NE / SE / Down arrows */\r
+ static final IconSet GREY_4_ARROWS = new IconSet(9, "4ArrowsGray");\r
+ /** Red / Light Red / Grey / Black traffic lights */\r
+ static final IconSet RB_4_TRAFFIC_LIGHTS = new IconSet(0xA, "4RedToBlack");\r
+ static final IconSet RATINGS_4 = new IconSet(0xB, "4Rating");\r
+ /** Green / Yellow / Red / Black traffic lights */\r
+ static final IconSet GYRB_4_TRAFFIC_LIGHTS = new IconSet(0xC, "4TrafficLights");\r
+ static final IconSet GYYYR_5_ARROWS = new IconSet(0xD, "5Arrows");\r
+ static final IconSet GREY_5_ARROWS = new IconSet(0xE, "5ArrowsGray");\r
+ static final IconSet RATINGS_5 = new IconSet(0xF, "5Rating");\r
+ static final IconSet QUARTERS_5 = new IconSet(0x10, "5Quarters");\r
+}\r