LibreOffice Module vcl (master)  1
mtfxmldump.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  */
9 
10 #ifndef INCLUDED_VCL_MTFXMLDUMP_HXX
11 #define INCLUDED_VCL_MTFXMLDUMP_HXX
12 
13 #include <sal/config.h>
14 #include <vcl/dllapi.h>
15 #include <vcl/metaactiontypes.hxx>
16 #include <o3tl/enumarray.hxx>
17 
18 namespace tools { class XmlWriter; }
19 class GDIMetaFile;
20 class SvStream;
21 
22 enum class MetaActionType;
23 
25 {
27 
28  void writeXml(const GDIMetaFile& rMetaFile, tools::XmlWriter& rWriter);
29 
30 public:
32  ~MetafileXmlDump();
33 
34  void filterActionType(const MetaActionType nActionType, bool bShouldFilter);
35  void filterAllActionTypes();
36 
39  void dump(const GDIMetaFile& rMetaFile, SvStream& rStream);
40 };
41 
42 #endif
43 
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#define VCL_DLLPUBLIC
Definition: dllapi.h:29
MetaActionType
o3tl::enumarray< MetaActionType, bool > maFilter
Definition: mtfxmldump.hxx:26