summaryrefslogtreecommitdiff
path: root/chart2/source/controller/sidebar/ChartTypePanel.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/sidebar/ChartTypePanel.hxx')
-rw-r--r--chart2/source/controller/sidebar/ChartTypePanel.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/chart2/source/controller/sidebar/ChartTypePanel.hxx b/chart2/source/controller/sidebar/ChartTypePanel.hxx
index 007c6fd40f0d..02e9738cbd0f 100644
--- a/chart2/source/controller/sidebar/ChartTypePanel.hxx
+++ b/chart2/source/controller/sidebar/ChartTypePanel.hxx
@@ -25,6 +25,7 @@
//#include <vcl/layout.hxx>
#include "ChartSidebarModifyListener.hxx"
#include <ChartTypeDialogController.hxx>
+#include <ChartTypeTemplateProvider.hxx>
#include <TimerTriggeredControllerLock.hxx>
#include <TitleHelper.hxx>
@@ -61,7 +62,8 @@ class ChartTypePanel : public ResourceChangeListener,
public PanelLayout,
public ::sfx2::sidebar::IContextChangeReceiver,
public sfx2::sidebar::SidebarModelUpdate,
- public ChartSidebarModifyListenerParent
+ public ChartSidebarModifyListenerParent,
+ public ChartTypeTemplateProvider
{
public:
static VclPtr<vcl::Window> Create(vcl::Window* pParent,
@@ -94,6 +96,10 @@ private:
virtual void stateChanged(ChangingResource* pResource) override;
void commitToModel(const ChartTypeParameter& rParameter);
+ void selectMainType();
+
+ virtual css::uno::Reference<css::chart2::XChartTypeTemplate>
+ getCurrentTemplate() const override;
DECL_LINK(SelectMainTypeHdl, ListBox&, void);
DECL_LINK(SelectSubTypeHdl, ValueSet*, void);