1    
2    /* ====================================================================
3     * The Apache Software License, Version 1.1
4     *
5     * Copyright (c) 2002 The Apache Software Foundation.  All rights
6     * reserved.
7     *
8     * Redistribution and use in source and binary forms, with or without
9     * modification, are permitted provided that the following conditions
10    * are met:
11    *
12    * 1. Redistributions of source code must retain the above copyright
13    *    notice, this list of conditions and the following disclaimer.
14    *
15    * 2. Redistributions in binary form must reproduce the above copyright
16    *    notice, this list of conditions and the following disclaimer in
17    *    the documentation and/or other materials provided with the
18    *    distribution.
19    *
20    * 3. The end-user documentation included with the redistribution,
21    *    if any, must include the following acknowledgment:
22    *       "This product includes software developed by the
23    *        Apache Software Foundation (http://www.apache.org/)."
24    *    Alternately, this acknowledgment may appear in the software itself,
25    *    if and wherever such third-party acknowledgments normally appear.
26    *
27    * 4. The names "Apache" and "Apache Software Foundation" and
28    *    "Apache POI" must not be used to endorse or promote products
29    *    derived from this software without prior written permission. For
30    *    written permission, please contact apache@apache.org.
31    *
32    * 5. Products derived from this software may not be called "Apache",
33    *    "Apache POI", nor may "Apache" appear in their name, without
34    *    prior written permission of the Apache Software Foundation.
35    *
36    * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
37    * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
38    * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
39    * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
40    * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
41    * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
42    * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
43    * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
44    * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
45    * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
46    * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
47    * SUCH DAMAGE.
48    * ====================================================================
49    *
50    * This software consists of voluntary contributions made by many
51    * individuals on behalf of the Apache Software Foundation.  For more
52    * information on the Apache Software Foundation, please see
53    * <http://www.apache.org/>.
54    */
55   
56   /*
57    * HSSFColorConstants.java
58    *
59    * Created on December 16, 2001, 8:05 AM
60    */
61   package org.apache.poi.hssf.usermodel;
62   
63   /**
64    * contains constants representing colors in the file.
65    *
66    * NOTE WILL MOST LIKELY BE DEPRECATED BY THE END OF THE 2.0 CYCLE IN FAVOR
67    * OF nsph.util.HSSFColor...
68    * @author  Andrew C. Oliver (acoliver at apache dot org)
69    * @deprecated use org.apache.poi.hssf.util.HSSFColor instead
70    * @see org.apache.poi.hssf.util.HSSFColor
71    */
72   
73   public interface HSSFColorConstants
74   {
75   //    public final static short AUTOMATIC       = 0x7fff;
76       public final static short AUTOMATIC       = 0x40;
77   //    public final static short BLACK           = 0x0;    // 0 0 0
78       public final static short BLACK           = 0x8;    // 0 0 0
79       public final static short BROWN           = 0x3c;   // 153, 51,  0
80       public final static short OLIVE_GREEN     = 0x3b;   // 51, 51,  0
81       public final static short DARK_GREEN      = 0x3a;   // 0, 51,  0
82       public final static short DARK_TEAL       = 0x38;   // 0, 51,102
83       public final static short DARK_BLUE       = 0x12;   // 0,  0,128
84       public final static short INDIGO          = 0x3e;   // 51, 51,153
85       public final static short GREY_80_PERCENT = 0x3f;   // 51, 51, 51
86       public final static short DARK_RED        = 0x10;   // 128,  0,  0
87       public final static short ORANGE          = 0x35;   // 255,102,  0
88       public final static short DARK_YELLOW     = 0x13;   // 128,128,  0
89       public final static short GREEN           = 0x11;   // 0,128,  0
90       public final static short TEAL            = 0x15;   // 0.128,128
91       public final static short BLUE            = 0xc;    // 0,  0,255
92       public final static short BLUE_GREY       = 0x36;   // 102,102,153
93       public final static short GREY_50_PERCENT = 0x17;   // 128,128,128
94       public final static short RED             = 0xa;    // 255,  0,  0
95       public final static short LIGHT_ORANGE    = 0x34;   // 255,153,  0
96       public final static short LIME            = 0x32;   // 153,204,  0
97       public final static short SEA_GREEN       = 0x39;   // 51,153,102
98       public final static short AQUA            = 0x31;   // 51,204,204
99       public final static short LIGHT_BLUE      = 0x30;   // 51,102,255
100      public final static short VIOLET          = 0x14;   // 128,  0,128
101      public final static short GREY_40_PERCENT = 0x37;   // 150,150,150
102      public final static short PINK            = 0xe;    // 255,  0,255
103      public final static short GOLD            = 0x33;   // 255,204,  0
104      public final static short YELLOW          = 0xd;    // 255,255,  0
105      public final static short BRIGHT_GREEN    = 0xb;    // 0,255,  0
106      public final static short TURQUOISE       = 0xf;    // 0,255,255
107      public final static short SKY_BLUE        = 0x28;   // 0,204,255
108      public final static short PLUM            = 0x3d;   // 153, 51,102
109      public final static short GREY_25_PERCENT = 0x16;   // 192,192,192
110      public final static short ROSE            = 0x2d;   // 255,153,204
111      public final static short TAN             = 0x2f;   // 255,204,153
112      public final static short LIGHT_YELLOW    = 0x2b;   // 255,255,153
113      public final static short LIGHT_GREEN     = 0x2a;   // 204,255,204
114      public final static short LIGHT_TURQUOISE = 0x29;   // 204,255,255
115      public final static short PALE_BLUE       = 0x2c;   // 153,204,255
116      public final static short LAVENDER        = 0x2e;   // 204,153,255
117      public final static short WHITE           = 0x9;    // 255,255,255
118  }
119