Update ooo320-m1
[ooovba.git] / dtrans / source / win32 / dtobj / FmtFilter.hxx
blobbd06f47caf0a27bfdb3405d111423a311bf57782
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: FmtFilter.hxx,v $
10 * $Revision: 1.11 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
32 #ifndef _FMTFILTER_HXX_
33 #define _FMTFILTER_HXX_
35 #include <sal/types.h>
37 #ifndef _COM_SUN_STAR_UNO_SEQUENCE_H_
38 #include <com/sun/star/uno/Sequence.hxx>
39 #endif
41 #if defined _MSC_VER
42 #pragma warning(push,1)
43 #endif
44 #include <windows.h>
45 #if defined _MSC_VER
46 #pragma warning(pop)
47 #endif
49 /*------------------------------------------------------------------------
50 input:
51 aMetaFilePict - a sequence of bytes containing a METAFILEPICT struct
52 ------------------------------------------------------------------------*/
53 com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL WinMFPictToOOMFPict( com::sun::star::uno::Sequence< sal_Int8 >& aMetaFilePict );
54 com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL WinENHMFPictToOOMFPict( HENHMETAFILE hEnhMetaFile );
56 /*------------------------------------------------------------------------
57 input:
58 aByteStream - a sequence of bytes containing a openoffice metafile
59 picture with a leading METAFILEHEADER
60 ------------------------------------------------------------------------*/
61 HMETAFILEPICT SAL_CALL OOMFPictToWinMFPict( com::sun::star::uno::Sequence< sal_Int8 >& aOOMetaFilePict );
62 HENHMETAFILE SAL_CALL OOMFPictToWinENHMFPict( com::sun::star::uno::Sequence< sal_Int8 >& aOOMetaFilePict );
64 /*------------------------------------------------------------------------
65 input:
66 aWinDIB - sequence of bytes containing a windows device independent
67 bitmap
68 ------------------------------------------------------------------------*/
69 com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL WinDIBToOOBMP( const com::sun::star::uno::Sequence< sal_Int8 >& aWinDIB );
71 /*------------------------------------------------------------------------
72 input:
73 aOOBmp - sequence of bytes containing a openoffice bitmap
74 ------------------------------------------------------------------------*/
75 com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL OOBmpToWinDIB( com::sun::star::uno::Sequence< sal_Int8 >& aOOBmp );
77 /*------------------------------------------------------------------------
78 input:
79 aTextHtml - a sequence of text/html which will be converted to the
80 HTML Format; the HTML Format has header before the real html data
81 the Format is described in the MSDN Library under HTML Clipboard
82 Format
83 ------------------------------------------------------------------------*/
84 com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL TextHtmlToHTMLFormat( com::sun::star::uno::Sequence< sal_Int8 >& aTextHtml );
86 /**
87 Return a FileList in which Windows Shell Links (lnk) are resolved.
88 If for what ever reason a resolution is not possible leave the
89 original lnk file.
91 com::sun::star::uno::Sequence< sal_Int8 > CF_HDROPToFileList(HGLOBAL hGlobal);
93 #endif