summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2019-11-21 17:47:10 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2019-11-27 20:31:07 +0100
commitdcb31718a238f115f703f1088ba5220e620dec1c (patch)
tree1044a2713ca5cc3a2621f1a6f8c4f1637e17fa6f /include/svl
parente55a1dc163165cb79fc9113101d16ee8d3db7298 (diff)
jsdialogs: dumpAsJSON for SfxItems with FillGradient example
Change-Id: I1b9303af6f52ad071074200bb630c587c8f611c1 Reviewed-on: https://gerrit.libreoffice.org/83875 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/poolitem.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx
index cc1ddabd57a3..dd74806464cd 100644
--- a/include/svl/poolitem.hxx
+++ b/include/svl/poolitem.hxx
@@ -29,6 +29,7 @@
#include <svl/svldllapi.h>
#include <svl/typedwhich.hxx>
#include <tools/mapunit.hxx>
+#include <boost/property_tree/json_parser.hpp>
class IntlWrapper;
@@ -180,6 +181,7 @@ public:
sal_uInt32 GetRefCount() const { return m_nRefCount; }
SfxItemKind GetKind() const { return m_nKind; }
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const;
+ virtual boost::property_tree::ptree dumpAsJSON() const;
/** Only SfxVoidItem shall and must return true for this.