25#include <com/sun/star/chart2/PieChartOffsetMode.hpp>
36 css::uno::Reference< css::uno::XComponentContext >
const & xContext,
37 const OUString & rServiceName,
38 css::chart2::PieChartOffsetMode
eMode,
51 virtual ::cppu::IPropertyArrayHelper & SAL_CALL
getInfoHelper()
override;
54 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
60 bool bAdaptProperties )
override;
66 ::sal_Int32 nChartTypeGroupIndex,
67 ::sal_Int32 nSeriesIndex,
68 ::sal_Int32 nSeriesCount )
override;
85 const css::uno::Reference< css::chart2::data::XLabeledDataSequence > & xCategories )
override;
For creating diagrams and modifying existing diagrams.
virtual void adaptDiagram(const rtl::Reference< ::chart::Diagram > &xDiagram) override
Allows derived classes to manipulate the diagrams whole, like changing the wall color.
virtual sal_Int32 getAxisCountByDimension(sal_Int32 nDimension) override
Give the number of requested axis per dimension here.
virtual void createChartTypes(const std::vector< std::vector< rtl::Reference< ::chart::DataSeries > > > &aSeriesSeq, const std::vector< rtl::Reference< ::chart::BaseCoordinateSystem > > &rCoordSys, const std::vector< rtl::Reference< ChartType > > &aOldChartTypesSeq) override
create a data series tree, that fits the requirements of the chart type.
PieChartTypeTemplate(css::uno::Reference< css::uno::XComponentContext > const &xContext, const OUString &rServiceName, css::chart2::PieChartOffsetMode eMode, bool bRings, sal_Int32 nDim=2)
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual rtl::Reference< ::chart::ChartType > getChartTypeForIndex(sal_Int32 nChartTypeIndex) override
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
The InfoHelper table contains all property names and types of this object.
virtual void resetStyles2(const rtl::Reference< ::chart::Diagram > &xDiagram) override
virtual rtl::Reference< ::chart::ChartType > getChartTypeForNewSeries2(const std::vector< rtl::Reference< ::chart::ChartType > > &aFormerlyUsedChartTypes) override
virtual void adaptAxes(const std::vector< rtl::Reference< ::chart::BaseCoordinateSystem > > &rCoordSys) override
adapt properties of existing axes and remove superfluous axes
virtual sal_Int32 getDimension() const override
returns 2 by default. Supported are 2 and 3
virtual ~PieChartTypeTemplate() override
virtual void adaptScales(const std::vector< rtl::Reference< ::chart::BaseCoordinateSystem > > &aCooSysSeq, const css::uno::Reference< css::chart2::data::XLabeledDataSequence > &xCategories) override
Sets categories at the scales of dimension 0 and the percent stacking at the scales of dimension 1 of...
virtual void applyStyle2(const rtl::Reference< ::chart::DataSeries > &xSeries, ::sal_Int32 nChartTypeGroupIndex, ::sal_Int32 nSeriesIndex, ::sal_Int32 nSeriesCount) override
virtual void GetDefaultValue(sal_Int32 nHandle, css::uno::Any &rAny) const override
merge XInterface implementations
virtual bool matchesTemplate2(const rtl::Reference< ::chart::Diagram > &xDiagram, bool bAdaptProperties) override
#define DECLARE_XTYPEPROVIDER()
#define DECLARE_XINTERFACE()