diff options
Diffstat (limited to 'chart2/source/view/axes/VCartesianAxis.hxx')
-rw-r--r-- | chart2/source/view/axes/VCartesianAxis.hxx | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/chart2/source/view/axes/VCartesianAxis.hxx b/chart2/source/view/axes/VCartesianAxis.hxx index 1c020bc4174c..210f36dd4802 100644 --- a/chart2/source/view/axes/VCartesianAxis.hxx +++ b/chart2/source/view/axes/VCartesianAxis.hxx @@ -16,15 +16,13 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CHART2_SOURCE_VIEW_AXES_VCARTESIANAXIS_HXX -#define INCLUDED_CHART2_SOURCE_VIEW_AXES_VCARTESIANAXIS_HXX +#pragma once #include "VAxisBase.hxx" #include <basegfx/vector/b2dvector.hxx> namespace chart { - class VCartesianAxis : public VAxisBase { // public methods @@ -100,6 +98,10 @@ public: ::basegfx::B2DVector aScreenPos; }; + void createDataTableView(std::vector<std::unique_ptr<VSeriesPlotter>>& rSeriesPlotterList, + css::uno::Reference<css::util::XNumberFormatsSupplier> const& xNumberFormatsSupplier, + rtl::Reference<::chart::ChartModel> const& xChartDoc, + css::uno::Reference<css::uno::XComponentContext> const& rComponentContext) override; private: //methods /** * Go through all tick label positions and decide which labels to display @@ -118,7 +120,7 @@ private: //methods * method once again to get the text shapes created. */ bool createTextShapes( - const css::uno::Reference<css::drawing::XShapes >& xTarget, + const rtl::Reference< SvxShapeGroupAnyD >& xTarget, TickIter& rTickIter, AxisLabelProperties& rAxisLabelProperties, TickFactory2D const * pTickFactory, sal_Int32 nScreenDistanceBetweenTicks ); @@ -128,7 +130,7 @@ private: //methods * are to be resolved only by adjusting the label tick interval. */ bool createTextShapesSimple( - const css::uno::Reference<css::drawing::XShapes >& xTarget, + const rtl::Reference< SvxShapeGroupAnyD >& xTarget, TickIter& rTickIter, AxisLabelProperties& rAxisLabelProperties, TickFactory2D const * pTickFactory ); @@ -154,9 +156,10 @@ private: //methods ::basegfx::B2DVector getScreenPosition( double fLogicX, double fLogicY, double fLogicZ ) const; ScreenPosAndLogicPos getScreenPosAndLogicPos( double fLogicX, double fLogicY, double fLogicZ ) const; + + void createDataTableShape(std::unique_ptr<TickFactory2D> const& rTickFactory2D); }; } //namespace chart -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |