LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/rendering - XIntegerBitmapColorSpace.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 2 0.0 %
Date: 2012-12-27 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

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

Generated by: LCOV version 1.10