summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-07-18 12:12:48 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-07-18 17:18:59 +0200
commit83a615c568a7a23a3aae7ca52012bc947d4cb5de (patch)
treeb04562dddf611785a6c7e7008afb448dff8295d3 /include
parente9a13d06f300cc653d2d1b19e5764bcf836a9d4b (diff)
svx xml dump: show the SdrObject's properties / item set
Shows items usually accessed using GetMergedItemSet(), to help debugging. Change-Id: Id3c20e99c33d5e5762c3b58e2f76ab5686031734 Reviewed-on: https://gerrit.libreoffice.org/75852 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r--include/svx/sdr/properties/defaultproperties.hxx2
-rw-r--r--include/svx/sdr/properties/properties.hxx4
2 files changed, 5 insertions, 1 deletions
diff --git a/include/svx/sdr/properties/defaultproperties.hxx b/include/svx/sdr/properties/defaultproperties.hxx
index 82de52f4e6b3..96d4fe5f1d84 100644
--- a/include/svx/sdr/properties/defaultproperties.hxx
+++ b/include/svx/sdr/properties/defaultproperties.hxx
@@ -68,7 +68,7 @@ namespace sdr
// destructor
virtual ~DefaultProperties() override;
- void dumpAsXml(xmlTextWriterPtr pWriter) const;
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
// Clone() operator, normally just calls the local copy constructor
virtual std::unique_ptr<BaseProperties> Clone(SdrObject& rObj) const override;
diff --git a/include/svx/sdr/properties/properties.hxx b/include/svx/sdr/properties/properties.hxx
index 7b026f865b1a..56182af840e2 100644
--- a/include/svx/sdr/properties/properties.hxx
+++ b/include/svx/sdr/properties/properties.hxx
@@ -28,6 +28,8 @@
#include <svx/svxdllapi.h>
#include <svl/typedwhich.hxx>
+struct _xmlTextWriter;
+typedef struct _xmlTextWriter* xmlTextWriterPtr;
class SdrObject;
class SfxItemSet;
class SfxPoolItem;
@@ -196,6 +198,8 @@ namespace sdr
// allow detection of e.g. style sheet or single text attribute changes. The
// default implementation returns 0 (zero)
virtual sal_uInt32 getVersion() const;
+
+ virtual void dumpAsXml(xmlTextWriterPtr pWriter) const;
};
// checks the FillStyle item and removes unneeded Gradient, FillBitmap and Hatch items