update credits
[LibreOffice.git] / dtrans / source / win32 / dtobj / FmtFilter.hxx
bloba77d0a5fd5dcb7573aa54a718c27aaf35be68269
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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>
28 #if defined _MSC_VER
29 #pragma warning(push,1)
30 #endif
31 #include <windows.h>
32 #if defined _MSC_VER
33 #pragma warning(pop)
34 #endif
36 /*------------------------------------------------------------------------
37 input:
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 /*------------------------------------------------------------------------
44 input:
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 /*------------------------------------------------------------------------
52 input:
53 aWinDIB - sequence of bytes containing a windows device independent
54 bitmap
55 ------------------------------------------------------------------------*/
56 com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL WinDIBToOOBMP( const com::sun::star::uno::Sequence< sal_Int8 >& aWinDIB );
58 /*------------------------------------------------------------------------
59 input:
60 aWinDIB - sequence of bytes containing a windows bitmap handle
61 ------------------------------------------------------------------------*/
62 com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL WinBITMAPToOOBMP( HBITMAP );
64 /*------------------------------------------------------------------------
65 input:
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 /*------------------------------------------------------------------------
71 input:
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
75 Format
76 ------------------------------------------------------------------------*/
77 com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL TextHtmlToHTMLFormat( com::sun::star::uno::Sequence< sal_Int8 >& aTextHtml );
79 /**
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
82 original lnk file.
84 com::sun::star::uno::Sequence< sal_Int8 > CF_HDROPToFileList(HGLOBAL hGlobal);
86 #endif
88 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */