fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / dtrans / source / win32 / dtobj / FmtFilter.hxx
blob8ee93a2935c2e057072a2368140c9333db8d745a
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 .
20 #ifndef INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_FMTFILTER_HXX
21 #define INCLUDED_DTRANS_SOURCE_WIN32_DTOBJ_FMTFILTER_HXX
23 #include <sal/types.h>
25 #include <com/sun/star/uno/Sequence.hxx>
27 #if defined _MSC_VER
28 #pragma warning(push,1)
29 #endif
30 #include <windows.h>
31 #if defined _MSC_VER
32 #pragma warning(pop)
33 #endif
35 /*------------------------------------------------------------------------
36 input:
37 aMetaFilePict - a sequence of bytes containing a METAFILEPICT struct
38 ------------------------------------------------------------------------*/
39 com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL WinMFPictToOOMFPict( com::sun::star::uno::Sequence< sal_Int8 >& aMetaFilePict );
40 com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL WinENHMFPictToOOMFPict( HENHMETAFILE hEnhMetaFile );
42 /*------------------------------------------------------------------------
43 input:
44 aByteStream - a sequence of bytes containing a openoffice metafile
45 picture with a leading METAFILEHEADER
46 ------------------------------------------------------------------------*/
47 HMETAFILEPICT SAL_CALL OOMFPictToWinMFPict( com::sun::star::uno::Sequence< sal_Int8 >& aOOMetaFilePict );
48 HENHMETAFILE SAL_CALL OOMFPictToWinENHMFPict( com::sun::star::uno::Sequence< sal_Int8 >& aOOMetaFilePict );
50 /*------------------------------------------------------------------------
51 input:
52 aWinDIB - sequence of bytes containing a windows device independent
53 bitmap
54 ------------------------------------------------------------------------*/
55 com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL WinDIBToOOBMP( const com::sun::star::uno::Sequence< sal_Int8 >& aWinDIB );
57 /*------------------------------------------------------------------------
58 input:
59 aWinDIB - sequence of bytes containing a windows bitmap handle
60 ------------------------------------------------------------------------*/
61 com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL WinBITMAPToOOBMP( HBITMAP );
63 /*------------------------------------------------------------------------
64 input:
65 aOOBmp - sequence of bytes containing a openoffice bitmap
66 May contain CF_DIBV5 or CF_DIB, but removing the BITMAPFILEHEADER
67 is always the same size
68 ------------------------------------------------------------------------*/
69 com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL OOBmpToWinDIB( com::sun::star::uno::Sequence< sal_Int8 >& aOOBmp );
71 /*------------------------------------------------------------------------
72 input:
73 aTextHtml - a sequence of text/html which will be converted to the
74 HTML Format; the HTML Format has header before the real html data
75 the Format is described in the MSDN Library under HTML Clipboard
76 Format
77 ------------------------------------------------------------------------*/
78 com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL TextHtmlToHTMLFormat( com::sun::star::uno::Sequence< sal_Int8 >& aTextHtml );
80 /**
81 Return a FileList in which Windows Shell Links (lnk) are resolved.
82 If for what ever reason a resolution is not possible leave the
83 original lnk file.
85 com::sun::star::uno::Sequence< sal_Int8 > CF_HDROPToFileList(HGLOBAL hGlobal);
87 #endif
89 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */