diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-15 16:44:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-18 13:30:03 +0000 |
commit | 183c3d58fbaf20a61b589d8f8f29bffc07fbe7dd (patch) | |
tree | 0d1492868c8c0c2029e6905b34ed76fd85487b00 /chart2/source/inc | |
parent | 60901415ef727622c4820cc30bf6324b0cc6b0a3 (diff) |
move getCategories/setCategories inside chart2::Diagram
Change-Id: I7c6b4e92bb131cc3c6b5b4eedb3304128b8bd988
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149082
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/inc')
-rw-r--r-- | chart2/source/inc/Diagram.hxx | 8 | ||||
-rw-r--r-- | chart2/source/inc/DiagramHelper.hxx | 10 |
2 files changed, 8 insertions, 10 deletions
diff --git a/chart2/source/inc/Diagram.hxx b/chart2/source/inc/Diagram.hxx index d28ad7bd0575..1d612902e568 100644 --- a/chart2/source/inc/Diagram.hxx +++ b/chart2/source/inc/Diagram.hxx @@ -226,6 +226,14 @@ public: bool isSupportingDateAxis(); + css::uno::Reference< css::chart2::data::XLabeledDataSequence > + getCategories(); + + void setCategories( + const css::uno::Reference< css::chart2::data::XLabeledDataSequence >& xCategories, + bool bSetAxisType = false, // when this flag is true ... + bool bCategoryAxis = true);// set the AxisType to CATEGORY or back to REALNUMBER + private: // ____ XModifyListener ____ virtual void SAL_CALL modified( diff --git a/chart2/source/inc/DiagramHelper.hxx b/chart2/source/inc/DiagramHelper.hxx index 0e02db670287..4bba95a7b1af 100644 --- a/chart2/source/inc/DiagramHelper.hxx +++ b/chart2/source/inc/DiagramHelper.hxx @@ -181,16 +181,6 @@ public: static bool isCategoryDiagram( const rtl::Reference< ::chart::Diagram >& xDiagram ); - static void setCategoriesToDiagram( - const css::uno::Reference< css::chart2::data::XLabeledDataSequence >& xCategories, - const rtl::Reference< ::chart::Diagram >& xDiagram, - bool bSetAxisType = false, // when this flag is true ... - bool bCategoryAxis = true);// set the AxisType to CATEGORY or back to REALNUMBER - - static css::uno::Reference< css::chart2::data::XLabeledDataSequence > - getCategoriesFromDiagram( - const rtl::Reference< ::chart::Diagram > & xDiagram ); - static css::uno::Sequence< OUString > getExplicitSimpleCategories( ChartModel& rModel ); |