1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 #ifndef _FMTFILTER_HXX_
22 #define _FMTFILTER_HXX_
24 #include <sal/types.h>
26 #include <com/sun/star/uno/Sequence.hxx>
29 #pragma warning(push,1)
36 /*------------------------------------------------------------------------
38 aMetaFilePict - a sequence of bytes containing a METAFILEPICT struct
39 ------------------------------------------------------------------------*/
40 com::sun::star::uno::Sequence
< sal_Int8
> SAL_CALL
WinMFPictToOOMFPict( com::sun::star::uno::Sequence
< sal_Int8
>& aMetaFilePict
);
41 com::sun::star::uno::Sequence
< sal_Int8
> SAL_CALL
WinENHMFPictToOOMFPict( HENHMETAFILE hEnhMetaFile
);
43 /*------------------------------------------------------------------------
45 aByteStream - a sequence of bytes containing a openoffice metafile
46 picture with a leading METAFILEHEADER
47 ------------------------------------------------------------------------*/
48 HMETAFILEPICT SAL_CALL
OOMFPictToWinMFPict( com::sun::star::uno::Sequence
< sal_Int8
>& aOOMetaFilePict
);
49 HENHMETAFILE SAL_CALL
OOMFPictToWinENHMFPict( com::sun::star::uno::Sequence
< sal_Int8
>& aOOMetaFilePict
);
51 /*------------------------------------------------------------------------
53 aWinDIB - sequence of bytes containing a windows device independent
55 ------------------------------------------------------------------------*/
56 com::sun::star::uno::Sequence
< sal_Int8
> SAL_CALL
WinDIBToOOBMP( const com::sun::star::uno::Sequence
< sal_Int8
>& aWinDIB
);
58 /*------------------------------------------------------------------------
60 aWinDIB - sequence of bytes containing a windows bitmap handle
61 ------------------------------------------------------------------------*/
62 com::sun::star::uno::Sequence
< sal_Int8
> SAL_CALL
WinBITMAPToOOBMP( HBITMAP
);
64 /*------------------------------------------------------------------------
66 aOOBmp - sequence of bytes containing a openoffice bitmap
67 ------------------------------------------------------------------------*/
68 com::sun::star::uno::Sequence
< sal_Int8
> SAL_CALL
OOBmpToWinDIB( com::sun::star::uno::Sequence
< sal_Int8
>& aOOBmp
);
70 /*------------------------------------------------------------------------
72 aTextHtml - a sequence of text/html which will be converted to the
73 HTML Format; the HTML Format has header before the real html data
74 the Format is described in the MSDN Library under HTML Clipboard
76 ------------------------------------------------------------------------*/
77 com::sun::star::uno::Sequence
< sal_Int8
> SAL_CALL
TextHtmlToHTMLFormat( com::sun::star::uno::Sequence
< sal_Int8
>& aTextHtml
);
80 Return a FileList in which Windows Shell Links (lnk) are resolved.
81 If for what ever reason a resolution is not possible leave the
84 com::sun::star::uno::Sequence
< sal_Int8
> CF_HDROPToFileList(HGLOBAL hGlobal
);
88 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */