summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2020-03-27 19:24:14 -0400
committerHenry Castro <hcastro@collabora.com>2020-04-06 03:06:07 +0200
commit219cb84f901676a738892e87ba6f726805d5e72c (patch)
treec66c57fbc5dcf54244b50adfe21f336e3e062c89 /chart2
parent7c5d207c6adaafa8c4f6fe90e3389c7fdaadc800 (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
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/sidebar/ChartAxisPanel.hxx4
-rw-r--r--chart2/source/controller/sidebar/ChartErrorBarPanel.hxx4
-rw-r--r--chart2/source/controller/sidebar/ChartSeriesPanel.hxx4
3 files changed, 12 insertions, 0 deletions
diff --git a/chart2/source/controller/sidebar/ChartAxisPanel.hxx b/chart2/source/controller/sidebar/ChartAxisPanel.hxx
index dec036e1a5d6..b8515f6ffbeb 100644
--- a/chart2/source/controller/sidebar/ChartAxisPanel.hxx
+++ b/chart2/source/controller/sidebar/ChartAxisPanel.hxx
@@ -56,6 +56,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 01125ba0c532..4bcd297792e7 100644
--- a/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx
+++ b/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx
@@ -49,6 +49,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 37a321af2b83..decd8e0d401c 100644
--- a/chart2/source/controller/sidebar/ChartSeriesPanel.hxx
+++ b/chart2/source/controller/sidebar/ChartSeriesPanel.hxx
@@ -60,6 +60,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,