summaryrefslogtreecommitdiff
path: root/chart2/source/inc/AxisHelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-28 15:00:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-29 08:44:44 +0000
commit5e482317a0b140b11220554753e30ccfd53385ee (patch)
tree3e6992c055cbd8d211990f5d88e4b887d4e96f06 /chart2/source/inc/AxisHelper.hxx
parentcfe339efd5f306452bc78ae4121867dc9b07b95a (diff)
use more concrete types in chart2
Change-Id: Ifd3bce5fc22371559203da673ca98913bc742c21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149674 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/inc/AxisHelper.hxx')
-rw-r--r--chart2/source/inc/AxisHelper.hxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/chart2/source/inc/AxisHelper.hxx b/chart2/source/inc/AxisHelper.hxx
index 65afc65faaa4..442ab586af1a 100644
--- a/chart2/source/inc/AxisHelper.hxx
+++ b/chart2/source/inc/AxisHelper.hxx
@@ -42,6 +42,7 @@ class Axis;
class BaseCoordinateSystem;
class ChartType;
class Diagram;
+class GridProperties;
class OOO_DLLPUBLIC_CHARTTOOLS AxisHelper
{
@@ -97,17 +98,17 @@ public:
, const rtl::Reference< ::chart::Diagram >& xDiagram );
static void makeAxisVisible( const rtl::Reference< ::chart::Axis >& xAxis );
- static void makeGridVisible( const css::uno::Reference< css::beans::XPropertySet >& xGridProperties );
+ static void makeGridVisible( const rtl::Reference< ::chart::GridProperties >& xGridProperties );
static void makeAxisInvisible( const rtl::Reference< ::chart::Axis >& xAxis );
- static void makeGridInvisible( const css::uno::Reference< css::beans::XPropertySet >& xGridProperties );
+ static void makeGridInvisible( const rtl::Reference< ::chart::GridProperties >& xGridProperties );
static void hideAxisIfNoDataIsAttached( const rtl::Reference< ::chart::Axis >& xAxis
, const rtl::Reference< ::chart::Diagram >& xDiagram);
SAL_DLLPRIVATE static bool areAxisLabelsVisible( const rtl::Reference< ::chart::Axis >& xAxisProperties );
static bool isAxisVisible( const rtl::Reference< ::chart::Axis >& xAxis );
- static bool isGridVisible( const css::uno::Reference< css::beans::XPropertySet >& xGridProperties );
+ static bool isGridVisible( const rtl::Reference< ::chart::GridProperties >& xGridProperties );
static rtl::Reference< ::chart::BaseCoordinateSystem >
getCoordinateSystemByIndex(
@@ -141,7 +142,7 @@ public:
getParallelAxis( const css::uno::Reference< css::chart2::XAxis >& xAxis
, const rtl::Reference< ::chart::Diagram >& xDiagram );
- static css::uno::Reference< css::beans::XPropertySet >
+ static rtl::Reference< ::chart::GridProperties >
getGridProperties( const rtl::Reference< ::chart::BaseCoordinateSystem >& xCooSys
, sal_Int32 nDimensionIndex
, sal_Int32 nAxisIndex //0: Primary axis, 1: secondary axis
@@ -184,7 +185,7 @@ public:
getAllAxesOfCoordinateSystem( const rtl::Reference< ::chart::BaseCoordinateSystem >& xCooSys
, bool bOnlyVisible = false );
- static css::uno::Sequence< css::uno::Reference< css::beans::XPropertySet > >
+ static std::vector< rtl::Reference< ::chart::GridProperties > >
getAllGrids( const rtl::Reference< ::chart::Diagram >& xDiagram );
static void getAxisOrGridPossibilities( css::uno::Sequence< sal_Bool >& rPossibilityList