summaryrefslogtreecommitdiffstats
path: root/svx/inc/extendedprimitive2dxmldump.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/inc/extendedprimitive2dxmldump.hxx')
-rw-r--r--svx/inc/extendedprimitive2dxmldump.hxx31
1 files changed, 31 insertions, 0 deletions
diff --git a/svx/inc/extendedprimitive2dxmldump.hxx b/svx/inc/extendedprimitive2dxmldump.hxx
new file mode 100644
index 000000000000..86824468dcf7
--- /dev/null
+++ b/svx/inc/extendedprimitive2dxmldump.hxx
@@ -0,0 +1,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: */