diff options
author | Henry Castro <hcastro@collabora.com> | 2020-03-27 19:24:14 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2020-05-21 00:40:50 +0200 |
commit | c2bb20652142f0cadbba3cf82f73a62f6c569981 (patch) | |
tree | 0d600fc87c4729904e5c4710fc7252716eae889c /chart2 | |
parent | 6d2b3e68c0b2929177ad61fb4b6c377bd44d0829 (diff) |
lok: introduce QueryControlState function
The sidebar usually executes UNO commands to the core framework,
however the controls already have formatted the text that is useful
in Online client side. For example the units conversion.
The QueryControlState method will retrieve the current formatted text
of the sidebar control to be used in Client Side.
Change-Id: I0b3e3a1462d4391ac911352f35808a5e5d9f9ffb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91237
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91577
Tested-by: Jenkins
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94516
Tested-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/sidebar/ChartAxisPanel.hxx | 4 | ||||
-rw-r--r-- | chart2/source/controller/sidebar/ChartErrorBarPanel.hxx | 4 | ||||
-rw-r--r-- | chart2/source/controller/sidebar/ChartSeriesPanel.hxx | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/chart2/source/controller/sidebar/ChartAxisPanel.hxx b/chart2/source/controller/sidebar/ChartAxisPanel.hxx index 0c9bd74ab182..1c28148f12c3 100644 --- a/chart2/source/controller/sidebar/ChartAxisPanel.hxx +++ b/chart2/source/controller/sidebar/ChartAxisPanel.hxx @@ -57,6 +57,10 @@ public: const SfxItemState eState, const SfxPoolItem* pState) override; + virtual void GetControlState( + const sal_uInt16 /*nSId*/, + boost::property_tree::ptree& /*rState*/) override {}; + // constructor/destructor ChartAxisPanel( vcl::Window* pParent, diff --git a/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx b/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx index c6e20976f9ae..3f0b9202bf5e 100644 --- a/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx +++ b/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx @@ -53,6 +53,10 @@ public: const SfxItemState eState, const SfxPoolItem* pState) override; + virtual void GetControlState( + const sal_uInt16 /*nSId*/, + boost::property_tree::ptree& /*rState*/) override {}; + // constructor/destructor ChartErrorBarPanel( vcl::Window* pParent, diff --git a/chart2/source/controller/sidebar/ChartSeriesPanel.hxx b/chart2/source/controller/sidebar/ChartSeriesPanel.hxx index 83dcbffd70ae..d1fc2691fc16 100644 --- a/chart2/source/controller/sidebar/ChartSeriesPanel.hxx +++ b/chart2/source/controller/sidebar/ChartSeriesPanel.hxx @@ -63,6 +63,10 @@ public: const SfxItemState eState, const SfxPoolItem* pState) override; + virtual void GetControlState( + const sal_uInt16 /*nSId*/, + boost::property_tree::ptree& /*rState*/) override {}; + // constructor/destructor ChartSeriesPanel( vcl::Window* pParent, |