1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: FmtFilter.hxx,v $
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>
42 #pragma warning(push,1)
49 /*------------------------------------------------------------------------
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 /*------------------------------------------------------------------------
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 /*------------------------------------------------------------------------
66 aWinDIB - sequence of bytes containing a windows device independent
68 ------------------------------------------------------------------------*/
69 com::sun::star::uno::Sequence
< sal_Int8
> SAL_CALL
WinDIBToOOBMP( const com::sun::star::uno::Sequence
< sal_Int8
>& aWinDIB
);
71 /*------------------------------------------------------------------------
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 /*------------------------------------------------------------------------
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
83 ------------------------------------------------------------------------*/
84 com::sun::star::uno::Sequence
< sal_Int8
> SAL_CALL
TextHtmlToHTMLFormat( com::sun::star::uno::Sequence
< sal_Int8
>& aTextHtml
);
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
91 com::sun::star::uno::Sequence
< sal_Int8
> CF_HDROPToFileList(HGLOBAL hGlobal
);