Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_RENDERING_XCOLORSPACE_HDL
2 : #define INCLUDED_COM_SUN_STAR_RENDERING_XCOLORSPACE_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/beans/PropertyValue.hdl"
7 : #include "com/sun/star/lang/IllegalArgumentException.hdl"
8 : #include "com/sun/star/rendering/ARGBColor.hdl"
9 : #include "com/sun/star/rendering/RGBColor.hdl"
10 : namespace com { namespace sun { namespace star { namespace rendering { class XColorSpace; } } } }
11 : #include "com/sun/star/uno/RuntimeException.hdl"
12 : #include "com/sun/star/uno/XInterface.hdl"
13 : #include "com/sun/star/uno/Reference.h"
14 : #include "com/sun/star/uno/Sequence.h"
15 : #include "cppu/macros.hxx"
16 : #include "sal/types.h"
17 :
18 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
19 :
20 : namespace com { namespace sun { namespace star { namespace rendering {
21 :
22 292 : class SAL_NO_VTABLE XColorSpace : public css::uno::XInterface
23 : {
24 : public:
25 :
26 : // Methods
27 : virtual ::sal_Int8 SAL_CALL getType() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
28 : virtual ::com::sun::star::uno::Sequence< ::sal_Int8 > SAL_CALL getComponentTags() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
29 : virtual ::sal_Int8 SAL_CALL getRenderingIntent() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual ::com::sun::star::uno::Sequence< css::beans::PropertyValue > SAL_CALL getProperties() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual ::com::sun::star::uno::Sequence< double > SAL_CALL convertColorSpace( const ::com::sun::star::uno::Sequence< double >& deviceColor, const ::com::sun::star::uno::Reference< css::rendering::XColorSpace >& targetColorSpace ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual ::com::sun::star::uno::Sequence< css::rendering::RGBColor > SAL_CALL convertToRGB( const ::com::sun::star::uno::Sequence< double >& deviceColor ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual ::com::sun::star::uno::Sequence< css::rendering::ARGBColor > SAL_CALL convertToARGB( const ::com::sun::star::uno::Sequence< double >& deviceColor ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual ::com::sun::star::uno::Sequence< css::rendering::ARGBColor > SAL_CALL convertToPARGB( const ::com::sun::star::uno::Sequence< double >& deviceColor ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual ::com::sun::star::uno::Sequence< double > SAL_CALL convertFromRGB( const ::com::sun::star::uno::Sequence< css::rendering::RGBColor >& rgbColor ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual ::com::sun::star::uno::Sequence< double > SAL_CALL convertFromARGB( const ::com::sun::star::uno::Sequence< css::rendering::ARGBColor >& rgbColor ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual ::com::sun::star::uno::Sequence< double > SAL_CALL convertFromPARGB( const ::com::sun::star::uno::Sequence< css::rendering::ARGBColor >& rgbColor ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
38 :
39 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
40 :
41 : protected:
42 292 : ~XColorSpace() throw () {} // avoid warnings about virtual members and non-virtual dtor
43 : };
44 :
45 :
46 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::rendering::XColorSpace const *);
47 : } } } }
48 :
49 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::rendering::XColorSpace > *) SAL_THROW(());
50 :
51 : #endif
|