diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2019-11-21 17:47:10 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2019-11-27 20:31:07 +0100 |
commit | dcb31718a238f115f703f1088ba5220e620dec1c (patch) | |
tree | 1044a2713ca5cc3a2621f1a6f8c4f1637e17fa6f /include/svl/poolitem.hxx | |
parent | e55a1dc163165cb79fc9113101d16ee8d3db7298 (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/poolitem.hxx')
-rw-r--r-- | include/svl/poolitem.hxx | 2 |
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. |