LibreOffice: com/sun/star/rendering/XColorSpace.idl Source File

LibreOffice LibreOffice 5.4 SDK API Reference

XColorSpace.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19 #ifndef __com_sun_star_rendering_XColorSpace_idl__
20 #define __com_sun_star_rendering_XColorSpace_idl__
21
22 #include <com/sun/star/uno/XInterface.idl>
23 #include <com/sun/star/lang/IllegalArgumentException.idl>
24 #include <com/sun/star/beans/PropertyValue.idl>
25 #include <com/sun/star/rendering/ColorProfile.idl>
26 #include <com/sun/star/rendering/ColorComponent.idl>
27 #include <com/sun/star/rendering/RGBColor.idl>
28 #include <com/sun/star/rendering/ARGBColor.idl>
29
30 module com { module sun { module star { module rendering {
31
47 interface XColorSpace
48 {
54 byte getType();
55
73 sequence<byte> getComponentTags();
74
80 byte getRenderingIntent();
81
90 sequence< ::com::sun::star::beans::PropertyValue > getProperties();
91
92
93
112 sequence<ColorComponent> convertColorSpace( [in] sequence<ColorComponent> deviceColor, [in] XColorSpace targetColorSpace )
113 raises (com::sun::star::lang::IllegalArgumentException);
114
135 sequence<RGBColor> convertToRGB( [in] sequence<ColorComponent> deviceColor )
136 raises (com::sun::star::lang::IllegalArgumentException);
137
155 sequence<ARGBColor> convertToARGB( [in] sequence<ColorComponent> deviceColor )
156 raises (com::sun::star::lang::IllegalArgumentException);
157
179 sequence<ARGBColor> convertToPARGB( [in] sequence<ColorComponent> deviceColor )
180 raises (com::sun::star::lang::IllegalArgumentException);
181
197 sequence<ColorComponent> convertFromRGB( [in] sequence<RGBColor> rgbColor )
198 raises (com::sun::star::lang::IllegalArgumentException);
199
215 sequence<ColorComponent> convertFromARGB( [in] sequence<ARGBColor> rgbColor )
216 raises (com::sun::star::lang::IllegalArgumentException);
217
236 sequence<ColorComponent> convertFromPARGB( [in] sequence<ARGBColor> rgbColor )
237 raises (com::sun::star::lang::IllegalArgumentException);
238 };
239
240 }; }; }; };
241
242 #endif
243
244 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
IllegalArgumentException.idl
com
Definition: Ambiguous.idl:22
PropertyValue.idl
ColorComponent.idl
RGBColor.idl
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:29
XInterface.idl
ColorProfile.idl
ARGBColor.idl
com::sun::star::rendering::XColorSpace
Information how to interpret certain color data.
Definition: XColorSpace.idl:47