summaryrefslogtreecommitdiffstats
path: root/svx/inc/extendedprimitive2dxmldump.hxx
blob: 86824468dcf764195ea37e3efb1b835234c2bf23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
#pragma once

#include <svx/svxdllapi.h>
#include <drawinglayer/tools/primitive2dxmldump.hxx>

namespace svx
{
/**
 * Extends the normal dumper to include svx primitives
 */
class SVXCORE_DLLPUBLIC ExtendedPrimitive2dXmlDump : public drawinglayer::Primitive2dXmlDump
{
public:
    ExtendedPrimitive2dXmlDump();
    virtual ~ExtendedPrimitive2dXmlDump();
    virtual bool
    decomposeAndWrite(const drawinglayer::primitive2d::BasePrimitive2D& rPrimitive2DSequence,
                      ::tools::XmlWriter& rWriter);
};

} // namespace svx

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */