AlterOffice
AlterOffice 2026.2 SDK API Reference
Variables
com::sun::star::rendering::ColorComponentTag Constant Group Reference

A collection of tags for the individual components of a color. More...

Variables

const byte DEVICE =0
 Unspecified device color value. More...
 
const byte RGB_RED =1
 Red colorant from RGB color space. More...
 
const byte RGB_GREEN =2
 Green colorant from RGB color space. More...
 
const byte RGB_BLUE =3
 Blue colorant from RGB color space. More...
 
const byte CMYK_CYAN =4
 Cyan colorant from CMYK color space. More...
 
const byte CMYK_MAGENTA =5
 Magenta colorant from CMYK color space. More...
 
const byte CMYK_YELLOW =6
 Yellow colorant from CMYK color space. More...
 
const byte CMYK_BLACK =7
 Black colorant from CMYK color space. More...
 
const byte CMYKOG_ORANGE =8
 Orange colorant from hexachrome color space. More...
 
const byte CMYKOG_GREEN =9
 Green colorant from hexachrome color space. More...
 
const byte SPOT =10
 Arbitrary extra spot color, e.g. Pantone. More...
 
const byte INDEX =11
 Index into palette. More...
 
const byte ALPHA =12
 Alpha channel. More...
 
const byte GREY =13
 Grey value. Used for monochrome color spaces. More...
 
const byte PREMULTIPLIED_ALPHA =14
 Premultiplied alpha channel. More...
 
const byte CIEXYZ_X =15
 CieXYZ X value. More...
 
const byte CIEXYZ_Y =16
 CieXYZ Y value. More...
 
const byte CIEXYZ_Z =17
 CieXYZ Z value. More...
 
const byte CIELAB_L =18
 CieLab L value. More...
 
const byte CIELAB_A =19
 CieLab a value. More...
 
const byte CIELAB_B =20
 CieLab b value. More...
 
const byte HSV_H =21
 HSV H value. More...
 
const byte HSV_S =22
 HSV S value. More...
 
const byte HSV_V =23
 HSV V value. More...
 
const byte HSL_H =24
 HSL H value. More...
 
const byte HSL_S =25
 HSL S value. More...
 
const byte HSL_L =26
 HSL L value. More...
 
const byte YCBCR_Y =27
 YCbCr Y value. More...
 
const byte YCBCR_CB =28
 YCbCr Cb value. More...
 
const byte YCBCR_CR =29
 YCbCr Cr value. More...
 

Detailed Description

A collection of tags for the individual components of a color.

Color components usually correspond to physical attributes like the amount of red colorant contained in an output color. This constant field enumerates the most common ones.

Variable Documentation

◆ ALPHA

const byte ALPHA =12

Alpha channel.

◆ CIELAB_A

const byte CIELAB_A =19

CieLab a value.

◆ CIELAB_B

const byte CIELAB_B =20

CieLab b value.

◆ CIELAB_L

const byte CIELAB_L =18

CieLab L value.

◆ CIEXYZ_X

const byte CIEXYZ_X =15

CieXYZ X value.

◆ CIEXYZ_Y

const byte CIEXYZ_Y =16

CieXYZ Y value.

◆ CIEXYZ_Z

const byte CIEXYZ_Z =17

CieXYZ Z value.

◆ CMYK_BLACK

const byte CMYK_BLACK =7

Black colorant from CMYK color space.

◆ CMYK_CYAN

const byte CMYK_CYAN =4

Cyan colorant from CMYK color space.

◆ CMYK_MAGENTA

const byte CMYK_MAGENTA =5

Magenta colorant from CMYK color space.

◆ CMYK_YELLOW

const byte CMYK_YELLOW =6

Yellow colorant from CMYK color space.

◆ CMYKOG_GREEN

const byte CMYKOG_GREEN =9

Green colorant from hexachrome color space.

◆ CMYKOG_ORANGE

const byte CMYKOG_ORANGE =8

Orange colorant from hexachrome color space.

◆ DEVICE

const byte DEVICE =0

Unspecified device color value.

◆ GREY

const byte GREY =13

Grey value. Used for monochrome color spaces.

◆ HSL_H

const byte HSL_H =24

HSL H value.

◆ HSL_L

const byte HSL_L =26

HSL L value.

◆ HSL_S

const byte HSL_S =25

HSL S value.

◆ HSV_H

const byte HSV_H =21

HSV H value.

◆ HSV_S

const byte HSV_S =22

HSV S value.

◆ HSV_V

const byte HSV_V =23

HSV V value.

◆ INDEX

const byte INDEX =11

Index into palette.

◆ PREMULTIPLIED_ALPHA

const byte PREMULTIPLIED_ALPHA =14

Premultiplied alpha channel.

Note that this alpha format actually influences the other color components, in that their values are pre-multiplied with the alpha value.

◆ RGB_BLUE

const byte RGB_BLUE =3

Blue colorant from RGB color space.

◆ RGB_GREEN

const byte RGB_GREEN =2

Green colorant from RGB color space.

◆ RGB_RED

const byte RGB_RED =1

Red colorant from RGB color space.

◆ SPOT

const byte SPOT =10

Arbitrary extra spot color, e.g. Pantone.

◆ YCBCR_CB

const byte YCBCR_CB =28

YCbCr Cb value.

◆ YCBCR_CR

const byte YCBCR_CR =29

YCbCr Cr value.

◆ YCBCR_Y

const byte YCBCR_Y =27

YCbCr Y value.