1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_rendering_ColorSpaceType_idl__
24#define __com_sun_star_rendering_ColorSpaceType_idl__
25
26module com { module sun { module star { module rendering {
27
28/// Categories for color spaces
29constants ColorSpaceType
30{
31    /** Unspecified device color space - use conversion functions to
32        convert to standard color spaces
33     */
34    const byte DEVICE_COLOR=0;
35
36    /** Grey-value color space.<p>
37
38        Use this for monochrome images.
39     */
40    const byte GREY=1;
41
42    /** RGB color space
43     */
44    const byte RGB=2;
45
46    /** CMYK color space.<p>
47
48        See <a
49        href="http://en.wikipedia.org/wiki/CMYK">wikipedia</a>
50        for a thorough explanation.
51     */
52    const byte CMYK=3;
53
54    /** CMYKOG color space.<p>
55
56        See <a
57        href="http://en.wikipedia.org/wiki/Hexachrome">wikipedia</a>
58        for a thorough explanation.
59     */
60    const byte CMYKOG=4;
61
62    /** Standard CieXYZ color space.<p>
63
64        See <a
65        href="http://en.wikipedia.org/wiki/CIE_1931_color_space">wikipedia</a>
66        for a thorough explanation.
67     */
68    const byte CIEXYZ=5;
69
70    /** Standard CieLab color space.<p>
71
72        See <a
73        href="http://en.wikipedia.org/wiki/Lab_color_space">wikipedia</a>
74        for a thorough explanation. Preferrable over CIEXYZ if
75        perceptual uniformity is an issue.
76     */
77    const byte CIELAB=6;
78
79    /** Standard sRGB color space.<p>
80
81        See <a
82        href="http://en.wikipedia.org/wiki/Srgb">wikipedia</a>
83        for a thorough explanation.
84     */
85    const byte SRGB=7;
86
87    /** HSV color space.<p>
88
89        Hue saturation value. See <a
90        href="http://en.wikipedia.org/wiki/HSV_color_space">wikipedia</a>
91        for a thorough explanation.
92     */
93    const byte HSV=8;
94
95    /** HSL color space.<p>
96
97        Hue saturation lightness. See <a
98        href="http://en.wikipedia.org/wiki/HSL_color_space">wikipedia</a>
99        for a thorough explanation
100     */
101    const byte HSL=9;
102
103    /** YCbCr color space.<p>
104
105        See <a href="http://en.wikipedia.org/wiki/YCbCr">wikipedia</a>
106        for a thorough explanation. This color space is common for
107        digital video.
108     */
109    const byte YCBCR=10;
110
111    /** Indexed color space.<p>
112
113        The color components of this color space are in fact indices
114        into a color map.
115     */
116    const byte INDEXED=11;
117
118};
119
120}; }; }; };
121
122#endif
123