sync master with lastest vba changes
[ooovba.git] / binfilter / inc / bf_svx / xoutbmp.hxx
blob7232cd2bdb4fddef450a75b1179ac8f505fecb98
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: xoutbmp.hxx,v $
10 * $Revision: 1.7 $
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 ************************************************************************/
31 #ifndef _XOUTBMP_HXX
32 #define _XOUTBMP_HXX
34 #ifndef _SV_GRAPH_HXX
35 #include <vcl/graph.hxx>
36 #endif
37 #ifndef _COM_SUN_STAR_UNO_SEQUENCE_H_
38 #include <com/sun/star/uno/Sequence.h>
39 #endif
40 #ifndef _COM_SUN_STAR_BEANS_PROPERTYVALUE_HPP_
41 #include <com/sun/star/beans/PropertyValue.hpp>
42 #endif
43 class VirtualDevice;
44 class INetURLObject;
45 class Polygon;
46 namespace binfilter {
47 class GraphicFilter;
49 // -----------
50 // - Defines -
51 // -----------
53 #define XOUTBMP_MIRROR_HORZ 0x00000001L
54 #define XOUTBMP_MIRROR_VERT 0x00000010L
56 #define XOUTBMP_CONTOUR_HORZ 0x00000001L
57 #define XOUTBMP_CONTOUR_VERT 0x00000002L
58 #define XOUTBMP_CONTOUR_EDGEDETECT 0x00000004L
60 #define XOUTBMP_DONT_EXPAND_FILENAME 0x10000000L
61 #define XOUTBMP_USE_GIF_IF_POSSIBLE 0x20000000L
62 #define XOUTBMP_USE_GIF_IF_SENSIBLE 0x40000000L
63 #define XOUTBMP_USE_NATIVE_IF_POSSIBLE 0x80000000L
65 // --------------
66 // - XOutBitmap -
67 // --------------
70 class XOutBitmap
72 public:
74 static GraphicFilter* pGrfFilter;
77 // ----------------
78 // - DitherBitmap -
79 // ----------------
81 BOOL DitherBitmap( Bitmap& rBitmap );
83 }//end of namespace binfilter
84 #endif // _XOUTBMP_HXX