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 .
20 #ifndef INCLUDED_VCL_INC_SVMCONVERTER_HXX
21 #define INCLUDED_VCL_INC_SVMCONVERTER_HXX
23 #include <vcl/dllapi.h>
24 #include <vcl/gdimtf.hxx>
26 #define GDI_PIXEL_ACTION 1
27 #define GDI_POINT_ACTION 2
28 #define GDI_LINE_ACTION 3
29 #define GDI_RECT_ACTION 4
30 #define GDI_ELLIPSE_ACTION 5
31 #define GDI_ARC_ACTION 6
32 #define GDI_PIE_ACTION 7
33 #define GDI_INVERTRECT_ACTION 8
34 #define GDI_HIGHLIGHTRECT_ACTION 9
35 #define GDI_POLYLINE_ACTION 10
36 #define GDI_POLYGON_ACTION 11
37 #define GDI_POLYPOLYGON_ACTION 12
38 #define GDI_TEXT_ACTION 13
39 #define GDI_TEXTARRAY_ACTION 14
40 #define GDI_STRETCHTEXT_ACTION 15
41 #define GDI_BITMAP_ACTION 17
42 #define GDI_BITMAPSCALE_ACTION 18
43 #define GDI_PEN_ACTION 19
44 #define GDI_FONT_ACTION 20
45 #define GDI_FILLBRUSH_ACTION 22
46 #define GDI_MAPMODE_ACTION 23
47 #define GDI_CLIPREGION_ACTION 24
48 #define GDI_RASTEROP_ACTION 25
49 #define GDI_PUSH_ACTION 26
50 #define GDI_POP_ACTION 27
51 #define GDI_MOVECLIPREGION_ACTION 28
52 #define GDI_ISECTCLIPREGION_ACTION 29
53 #define GDI_BITMAPSCALEPART_ACTION 32
54 #define GDI_GRADIENT_ACTION 33
56 #define GDI_TRANSPARENT_COMMENT 1024
57 #define GDI_HATCH_COMMENT 1025
58 #define GDI_REFPOINT_COMMENT 1026
59 #define GDI_TEXTLINECOLOR_COMMENT 1027
60 #define GDI_TEXTLINE_COMMENT 1028
61 #define GDI_FLOATTRANSPARENT_COMMENT 1029
62 #define GDI_GRADIENTEX_COMMENT 1030
63 #define GDI_COMMENT_COMMENT 1031
64 #define GDI_UNICODE_COMMENT 1032
66 #define GDI_LINEJOIN_ACTION 1033
67 #define GDI_EXTENDEDPOLYGON_ACTION 1034
68 #define GDI_LINEDASHDOT_ACTION 1035
70 #define GDI_LINECAP_ACTION 1036
73 * Converts old SVGDI aka SVM1 format data to current VCLMTF aka SVM2 format metafile data.
78 static void ImplConvertFromSVM1( SvStream
& rIStm
, GDIMetaFile
& rMtf
);
81 SVMConverter( SvStream
& rIStm
, GDIMetaFile
& rMtf
);
84 SVMConverter( const SVMConverter
& ) = delete;
85 SVMConverter
& operator=( const SVMConverter
& ) = delete;
88 #endif // INCLUDED_VCL_INC_SVMCONVERTER_HXX
90 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */