diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-11-30 17:44:35 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-11-30 19:54:25 +0100 |
commit | a7505356872f981c951b2ec64383a95538890876 (patch) | |
tree | bd427ab05c3953cb4a5b49a035c35058684dbce6 /include | |
parent | aa56e3b8ef8c2bb16610d45ed21b06fa38ba53a1 (diff) |
tdf#129961 svx: add doc model xml dump for shadow-related pool items
It seems that sdr::table::SdrTableObj is already capable of storing
shadow properties, but this is not easy to inspect, extend the xml
dumper to improve the situation.
Change-Id: Ideef43dfd6b844e0227632ec2cb6ab5d16171d8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106902
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/sdmetitm.hxx | 2 | ||||
-rw-r--r-- | include/svx/sdooitm.hxx | 2 | ||||
-rw-r--r-- | include/svx/sdprcitm.hxx | 2 | ||||
-rw-r--r-- | include/svx/xcolit.hxx | 1 |
4 files changed, 7 insertions, 0 deletions
diff --git a/include/svx/sdmetitm.hxx b/include/svx/sdmetitm.hxx index 0e7e3a7897b4..8819c5e2a2b4 100644 --- a/include/svx/sdmetitm.hxx +++ b/include/svx/sdmetitm.hxx @@ -38,6 +38,8 @@ public: MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; + + virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; diff --git a/include/svx/sdooitm.hxx b/include/svx/sdooitm.hxx index a0e7cfe570e5..2cc2fce42738 100644 --- a/include/svx/sdooitm.hxx +++ b/include/svx/sdooitm.hxx @@ -35,6 +35,8 @@ public: virtual OUString GetValueTextByVal(bool bVal) const override; virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; + + virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; diff --git a/include/svx/sdprcitm.hxx b/include/svx/sdprcitm.hxx index af5cb65d852d..0316c4d0e452 100644 --- a/include/svx/sdprcitm.hxx +++ b/include/svx/sdprcitm.hxx @@ -35,6 +35,8 @@ public: virtual SdrPercentItem* Clone(SfxItemPool* pPool=nullptr) const override; virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; + + virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; diff --git a/include/svx/xcolit.hxx b/include/svx/xcolit.hxx index 12788d6fa901..9f35416b56ae 100644 --- a/include/svx/xcolit.hxx +++ b/include/svx/xcolit.hxx @@ -50,6 +50,7 @@ public: const Color& GetColorValue() const; void SetColorValue(const Color& rNew) { aColor = rNew; Detach(); } + virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; #endif |