From 9af6a0719109705c7aede368bc4938c1a6e6ff20 Mon Sep 17 00:00:00 2001 From: Ingrid Halama Date: Thu, 28 Jan 2010 10:52:28 +0100 Subject: chartmultiline: #i82971# complex categories (part6 - allow editing of complex categories within chart data table ) --- chart2/source/controller/dialogs/DataBrowserModel.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chart2/source/controller/dialogs/DataBrowserModel.hxx') diff --git a/chart2/source/controller/dialogs/DataBrowserModel.hxx b/chart2/source/controller/dialogs/DataBrowserModel.hxx index 95a3e4b2f0fa..2ae2a63ae6cf 100644 --- a/chart2/source/controller/dialogs/DataBrowserModel.hxx +++ b/chart2/source/controller/dialogs/DataBrowserModel.hxx @@ -61,12 +61,12 @@ public: /** Inserts a new data series after the data series to which the data column with index nAfterColumnIndex belongs. */ - void insertDataSeries( sal_Int32 nAfterColumnIndex ); + void insertDataSeriesOrComplexCategoryLevel( sal_Int32 nAfterColumnIndex ); /** Removes a data series to which the data column with index nAtColumnIndex belongs. */ - void removeDataSeries( sal_Int32 nAtColumnIndex ); + void removeDataSeriesOrComplexCategoryLevel( sal_Int32 nAtColumnIndex ); /** Swaps the series to which the data column with index nFirstIndex belongs with the next series (which starts at an index >= nFirstIndex + 1) @@ -100,6 +100,7 @@ public: // returns the UI string of the corresponding role ::rtl::OUString getRoleOfColumn( sal_Int32 nColumnIndex ) const; + bool isCategoriesColumn( sal_Int32 nColumnIndex ) const; struct tDataHeader { -- cgit From 4851b01ed114150bbfa4d462b49596ed5f71b741 Mon Sep 17 00:00:00 2001 From: Ingrid Halama Date: Thu, 28 Jan 2010 14:24:55 +0100 Subject: chartmultiline: #i82971# complex categories (part7 - add toolbox item for insertion of a complex category column within the chart data table ) --- chart2/source/controller/dialogs/DataBrowserModel.hxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'chart2/source/controller/dialogs/DataBrowserModel.hxx') diff --git a/chart2/source/controller/dialogs/DataBrowserModel.hxx b/chart2/source/controller/dialogs/DataBrowserModel.hxx index 2ae2a63ae6cf..eed123482178 100644 --- a/chart2/source/controller/dialogs/DataBrowserModel.hxx +++ b/chart2/source/controller/dialogs/DataBrowserModel.hxx @@ -61,7 +61,11 @@ public: /** Inserts a new data series after the data series to which the data column with index nAfterColumnIndex belongs. */ - void insertDataSeriesOrComplexCategoryLevel( sal_Int32 nAfterColumnIndex ); + void insertDataSeries( sal_Int32 nAfterColumnIndex ); + + /** Inserts a new text column for complex categories. + */ + void insertComplexCategoryLevel( sal_Int32 nAfterColumnIndex ); /** Removes a data series to which the data column with index nAtColumnIndex belongs. @@ -157,9 +161,7 @@ private: sal_Int32 & rInOutSequenceIndex, sal_Int32 & rInOutHeaderEnd ); - ::com::sun::star::uno::Reference< - ::com::sun::star::chart2::data::XLabeledDataSequence > - getCategories() const throw(); + sal_Int32 getCategoryColumnCount(); ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartDocument > m_xChartDocument; -- cgit