Version 4.3.0.0.beta1, tag libreoffice-4.3.0.0.beta1
[LibreOffice.git] / include / test / mtfxmldump.hxx
blobe630a4c84c9dd5214447e2704175784bf2ebeea5
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/.
8 */
10 #ifndef MFTXMLDUMP_HXX
11 #define MFTXMLDUMP_HXX
13 #include <sal/config.h>
14 #include <test/testdllapi.hxx>
16 #include <vcl/gdimtf.hxx>
17 #include <vector>
19 class OOO_DLLPUBLIC_TEST MetafileXmlDump
21 std::vector<bool> maFilter;
22 SvStream& mrStream;
24 public:
25 MetafileXmlDump(SvStream& rStream);
26 virtual ~MetafileXmlDump();
28 void filterActionType(const sal_uInt16 nActionType, bool bShouldFilter);
29 void filterAllActionTypes();
30 void filterNoneActionTypes();
32 void dump(GDIMetaFile& rMetaFile);
35 #endif
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */