| 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 | #pragma once |
| 10 | |
| 11 | #include <svx/svxdllapi.h> |
| 12 | #include <drawinglayer/tools/primitive2dxmldump.hxx> |
| 13 | |
| 14 | namespace svx |
| 15 | { |
| 16 | /** |
| 17 | * Extends the normal dumper to include svx primitives |
| 18 | */ |
| 19 | class SVXCORE_DLLPUBLIC ExtendedPrimitive2dXmlDump : public drawinglayer::Primitive2dXmlDump |
| 20 | { |
| 21 | public: |
| 22 | ExtendedPrimitive2dXmlDump(); |
| 23 | virtual ~ExtendedPrimitive2dXmlDump(); |
| 24 | virtual bool |
| 25 | decomposeAndWrite(const drawinglayer::primitive2d::BasePrimitive2D& rPrimitive2DSequence, |
| 26 | ::tools::XmlWriter& rWriter); |
| 27 | }; |
| 28 | |
| 29 | } // namespace svx |
| 30 | |
| 31 | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |