1 #ifndef INCLUDED_PICTTOBMPFLT_HXX
2 #define INCLUDED_PICTTOBMPFLT_HXX
3 
4 #include <com/sun/star/uno/Sequence.hxx>
5 
6 #include <premac.h>
7 #include <Cocoa/Cocoa.h>
8 #include <postmac.h>
9 
10 /* Transform PICT into the a Window BMP.
11 
12    Returns true if the conversion was successful false
13    otherwise.
14  */
15 bool PICTtoBMP(com::sun::star::uno::Sequence<sal_Int8>& aPict,
16 			   com::sun::star::uno::Sequence<sal_Int8>& aBmp);
17 
18 /* Transform a Windows BMP to a PICT.
19 
20    Returns true if the conversion was successful false
21    otherwise.
22  */
23 bool BMPtoPICT(com::sun::star::uno::Sequence<sal_Int8>& aBmp,
24 			   com::sun::star::uno::Sequence<sal_Int8>& aPict);
25 
26 #define PICTImageFileType ((NSBitmapImageFileType)~0)
27 
28 bool ImageToBMP( com::sun::star::uno::Sequence<sal_Int8>& aPict,
29 			     com::sun::star::uno::Sequence<sal_Int8>& aBmp,
30 			     NSBitmapImageFileType eInFormat);
31 
32 bool BMPToImage( com::sun::star::uno::Sequence<sal_Int8>& aBmp,
33 			     com::sun::star::uno::Sequence<sal_Int8>& aPict,
34 			     NSBitmapImageFileType eOutFormat
35 			    );
36 
37 #endif
38