1d1766043SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4d1766043SAndrew Rist * or more contributor license agreements. See the NOTICE file 5d1766043SAndrew Rist * distributed with this work for additional information 6d1766043SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the 8d1766043SAndrew Rist * "License"); you may not use this file except in compliance 9d1766043SAndrew Rist * with the License. You may obtain a copy of the License at 10d1766043SAndrew Rist * 11d1766043SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12d1766043SAndrew Rist * 13d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing, 14d1766043SAndrew Rist * software distributed under the License is distributed on an 15d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16d1766043SAndrew Rist * KIND, either express or implied. See the License for the 17d1766043SAndrew Rist * specific language governing permissions and limitations 18d1766043SAndrew Rist * under the License. 19d1766043SAndrew Rist * 20d1766043SAndrew Rist *************************************************************/ 21d1766043SAndrew Rist 22d1766043SAndrew Rist 23cdf0e10cSrcweir#ifndef __com_sun_star_rendering_ColorComponentTag_idl__ 24cdf0e10cSrcweir#define __com_sun_star_rendering_ColorComponentTag_idl__ 25cdf0e10cSrcweir 26cdf0e10cSrcweirmodule com { module sun { module star { module rendering { 27cdf0e10cSrcweir 28cdf0e10cSrcweir/** A collection of tags for the individual components of a color.<p> 29cdf0e10cSrcweir 30cdf0e10cSrcweir Color components usually corrspond to physical attributes like the 31cdf0e10cSrcweir amount of red colorant contained in an output color. This constant 32cdf0e10cSrcweir field enumerates the most common ones. 33cdf0e10cSrcweir 34d695a2a0SJürgen Schmidt @since OpenOffice 2.3 35cdf0e10cSrcweir */ 36cdf0e10cSrcweirconstants ColorComponentTag 37cdf0e10cSrcweir{ 38cdf0e10cSrcweir /// Unspecified device color value 39cdf0e10cSrcweir const byte DEVICE=0; 40cdf0e10cSrcweir 41cdf0e10cSrcweir /// Red colorant from RGB color space 42cdf0e10cSrcweir const byte RGB_RED=1; 43cdf0e10cSrcweir 44cdf0e10cSrcweir /// Green colorant from RGB color space 45cdf0e10cSrcweir const byte RGB_GREEN=2; 46cdf0e10cSrcweir 47cdf0e10cSrcweir /// Blue colorant from RGB color space 48cdf0e10cSrcweir const byte RGB_BLUE=3; 49cdf0e10cSrcweir 50cdf0e10cSrcweir /// Cyan colorant from CMYK color space 51cdf0e10cSrcweir const byte CMYK_CYAN=4; 52cdf0e10cSrcweir 53cdf0e10cSrcweir /// Magenta colorant from CMYK color space 54cdf0e10cSrcweir const byte CMYK_MAGENTA=5; 55cdf0e10cSrcweir 56cdf0e10cSrcweir /// Yellow colorant from CMYK color space 57cdf0e10cSrcweir const byte CMYK_YELLOW=6; 58cdf0e10cSrcweir 59cdf0e10cSrcweir /// Black colorant from CMYK color space 60cdf0e10cSrcweir const byte CMYK_BLACK=7; 61cdf0e10cSrcweir 62cdf0e10cSrcweir /// Orange colorant from hexachrome color space 63cdf0e10cSrcweir const byte CMYKOG_ORANGE=8; 64cdf0e10cSrcweir 65cdf0e10cSrcweir /// Green colorant from hexachrome color space 66cdf0e10cSrcweir const byte CMYKOG_GREEN=9; 67cdf0e10cSrcweir 68*f9f5b566Smseidel /// Arbitrary extra spot color, e.g. pantone 69cdf0e10cSrcweir const byte SPOT=10; 70cdf0e10cSrcweir 71cdf0e10cSrcweir /// Index into palette 72cdf0e10cSrcweir const byte INDEX=11; 73cdf0e10cSrcweir 74cdf0e10cSrcweir /// Alpha channel 75cdf0e10cSrcweir const byte ALPHA=12; 76cdf0e10cSrcweir 77cdf0e10cSrcweir /// Grey value. Used for monochrome color spaces 78cdf0e10cSrcweir const byte GREY=13; 79cdf0e10cSrcweir 80cdf0e10cSrcweir /** Premultiplied alpha channel<p> 81cdf0e10cSrcweir 82cdf0e10cSrcweir Note that this alpha format actually influences the other color 83cdf0e10cSrcweir components, in that their values are pre-multiplied with the 84cdf0e10cSrcweir alpha value.<p> 85cdf0e10cSrcweir */ 86cdf0e10cSrcweir const byte PREMULTIPLIED_ALPHA=14; 87cdf0e10cSrcweir 88cdf0e10cSrcweir /// CieXYZ X value 89cdf0e10cSrcweir const byte CIEXYZ_X=15; 90cdf0e10cSrcweir 91cdf0e10cSrcweir /// CieXYZ Y value 92cdf0e10cSrcweir const byte CIEXYZ_Y=16; 93cdf0e10cSrcweir 94cdf0e10cSrcweir /// CieXYZ Z value 95cdf0e10cSrcweir const byte CIEXYZ_Z=17; 96cdf0e10cSrcweir 97cdf0e10cSrcweir /// CieLab L value 98cdf0e10cSrcweir const byte CIELAB_L=18; 99cdf0e10cSrcweir 100cdf0e10cSrcweir /// CieLab a value 101cdf0e10cSrcweir const byte CIELAB_A=19; 102cdf0e10cSrcweir 103cdf0e10cSrcweir /// CieLab b value 104cdf0e10cSrcweir const byte CIELAB_B=20; 105cdf0e10cSrcweir 106cdf0e10cSrcweir /// HSV H value 107cdf0e10cSrcweir const byte HSV_H=21; 108cdf0e10cSrcweir 109cdf0e10cSrcweir /// HSV S value 110cdf0e10cSrcweir const byte HSV_S=22; 111cdf0e10cSrcweir 112cdf0e10cSrcweir /// HSV V value 113cdf0e10cSrcweir const byte HSV_V=23; 114cdf0e10cSrcweir 115cdf0e10cSrcweir /// HSL H value 116cdf0e10cSrcweir const byte HSL_H=24; 117cdf0e10cSrcweir 118cdf0e10cSrcweir /// HSL S value 119cdf0e10cSrcweir const byte HSL_S=25; 120cdf0e10cSrcweir 121cdf0e10cSrcweir /// HSL L value 122cdf0e10cSrcweir const byte HSL_L=26; 123cdf0e10cSrcweir 124cdf0e10cSrcweir /// YCbCr Y value 125cdf0e10cSrcweir const byte YCBCR_Y=27; 126cdf0e10cSrcweir 127cdf0e10cSrcweir /// YCbCr Cb value 128cdf0e10cSrcweir const byte YCBCR_CB=28; 129cdf0e10cSrcweir 130cdf0e10cSrcweir /// YCbCr Cr value 131cdf0e10cSrcweir const byte YCBCR_CR=29; 132cdf0e10cSrcweir}; 133cdf0e10cSrcweir 134cdf0e10cSrcweir}; }; }; }; 135cdf0e10cSrcweir 136cdf0e10cSrcweir#endif 137