LibreOffice Module vcl (master)
1
include
vcl
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
19
{
20
class
XmlWriter;
21
}
22
class
GDIMetaFile
;
23
class
SvStream
;
24
25
enum class
MetaActionType
;
26
44
class
VCL_DLLPUBLIC
MetafileXmlDump
final
45
{
46
o3tl::enumarray<MetaActionType, bool>
maFilter
;
47
48
void
writeXml(
const
GDIMetaFile
& rMetaFile,
tools::XmlWriter
& rWriter);
49
50
public
:
51
MetafileXmlDump
();
52
53
void
filterActionType(
const
MetaActionType
nActionType,
bool
bShouldFilter);
54
void
filterAllActionTypes();
55
58
void
dump
(
const
GDIMetaFile
& rMetaFile,
SvStream
& rStream);
59
};
60
61
#endif
62
63
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
GDIMetaFile
Definition:
gdimtf.hxx:56
MetafileXmlDump
Class that is used for testing of the decomposition into shapes.
Definition:
mtfxmldump.hxx:45
MetafileXmlDump::maFilter
o3tl::enumarray< MetaActionType, bool > maFilter
Definition:
mtfxmldump.hxx:46
SvStream
o3tl::enumarray< MetaActionType, bool >
tools::XmlWriter
config.h
dllapi.h
VCL_DLLPUBLIC
#define VCL_DLLPUBLIC
Definition:
dllapi.h:29
enumarray.hxx
metaactiontypes.hxx
MetaActionType
MetaActionType
Definition:
metaactiontypes.hxx:24
SkiaHelper::dump
VCL_DLLPUBLIC void dump(const SkBitmap &bitmap, const char *file)
tools
Generated on Sun Jul 30 2023 04:34:51 for LibreOffice Module vcl (master) by
1.9.3