LibreOffice Module chart2 (master) 1
Public Member Functions | Protected Member Functions | List of all members
chart::PieChartTypeTemplate Class Reference

#include <PieChartTypeTemplate.hxx>

Inheritance diagram for chart::PieChartTypeTemplate:
[legend]
Collaboration diagram for chart::PieChartTypeTemplate:
[legend]

Public Member Functions

 PieChartTypeTemplate (css::uno::Reference< css::uno::XComponentContext > const &xContext, const OUString &rServiceName, css::chart2::PieChartOffsetMode eMode, bool bRings, sal_Int32 nDim=2)
 
virtual ~PieChartTypeTemplate () override
 
- Public Member Functions inherited from chart::ChartTypeTemplate
 ChartTypeTemplate (css::uno::Reference< css::uno::XComponentContext > const &xContext, OUString aServiceName)
 
virtual ~ChartTypeTemplate () override
 
rtl::Reference< ::chart::DiagramcreateDiagramByDataSource2 (const css::uno::Reference< css::chart2::data::XDataSource > &xDataSource, const css::uno::Sequence< css::beans::PropertyValue > &aArguments)
 
virtual css::uno::Reference< css::chart2::XDiagram > SAL_CALL createDiagramByDataSource (const css::uno::Reference< css::chart2::data::XDataSource > &xDataSource, const css::uno::Sequence< css::beans::PropertyValue > &aArguments) override final
 
virtual sal_Bool SAL_CALL supportsCategories () override
 denotes if the chart needs categories at the first scale More...
 
virtual void SAL_CALL changeDiagram (const css::uno::Reference< css::chart2::XDiagram > &xDiagram) override final
 
virtual void SAL_CALL changeDiagramData (const css::uno::Reference< css::chart2::XDiagram > &xDiagram, const css::uno::Reference< css::chart2::data::XDataSource > &xDataSource, const css::uno::Sequence< css::beans::PropertyValue > &aArguments) override final
 
virtual sal_Bool SAL_CALL matchesTemplate (const css::uno::Reference< css::chart2::XDiagram > &xDiagram, sal_Bool bAdaptProperties) override final
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getDataInterpreter () override final
 
virtual css::uno::Reference< ::css::chart2::XChartType > SAL_CALL getChartTypeForNewSeries (const css::uno::Sequence< css::uno::Reference< css::chart2::XChartType > > &aFormerlyUsedChartTypes) override final
 
virtual void SAL_CALL applyStyle (const css::uno::Reference< css::chart2::XDataSeries > &xSeries, ::sal_Int32 nChartTypeIndex, ::sal_Int32 nSeriesIndex, ::sal_Int32 nSeriesCount) override final
 
virtual void SAL_CALL resetStyles (const css::uno::Reference< css::chart2::XDiagram > &xDiagram) override final
 
void changeDiagram (const rtl::Reference< ::chart::Diagram > &xDiagram)
 
void changeDiagramData (const rtl::Reference< ::chart::Diagram > &xDiagram, const css::uno::Reference< css::chart2::data::XDataSource > &xDataSource, const css::uno::Sequence< css::beans::PropertyValue > &aArguments)
 
virtual bool matchesTemplate2 (const rtl::Reference< ::chart::Diagram > &xDiagram, bool bAdaptProperties)
 
virtual rtl::Reference< ::chart::ChartTypegetChartTypeForNewSeries2 (const std::vector< rtl::Reference< ::chart::ChartType > > &aFormerlyUsedChartTypes)=0
 
virtual rtl::Reference< ::chart::DataInterpretergetDataInterpreter2 ()
 
virtual void applyStyle2 (const rtl::Reference< ::chart::DataSeries > &xSeries, ::sal_Int32 nChartTypeIndex, ::sal_Int32 nSeriesIndex, ::sal_Int32 nSeriesCount)
 
virtual void resetStyles2 (const rtl::Reference< ::chart::Diagram > &xDiagram)
 
void applyStyles (const rtl::Reference< ::chart::Diagram > &xDiagram)
 
virtual OUString SAL_CALL getServiceName () override
 
virtual sal_Int32 getDimension () const
 returns 2 by default. Supported are 2 and 3 More...
 
virtual StackMode getStackMode (sal_Int32 nChartTypeIndex) const
 returns StackMode::NONE by default. More...
 
virtual rtl::Reference< ::chart::ChartTypegetChartTypeForIndex (sal_Int32 nChartTypeIndex)=0
 
virtual bool isSwapXAndY () const
 
virtual void adaptDiagram (const rtl::Reference< ::chart::Diagram > &xDiagram)
 Allows derived classes to manipulate the diagrams whole, like changing the wall color. More...
 
virtual void createCoordinateSystems (const rtl::Reference< ::chart::Diagram > &xDiagram)
 Creates a 2d or 3d cartesian coordinate system with mathematically oriented, linear scales with auto-min/max. More...
 
virtual void adaptScales (const std::vector< rtl::Reference< ::chart::BaseCoordinateSystem > > &aCooSysSeq, const css::uno::Reference< css::chart2::data::XLabeledDataSequence > &xCategories)
 Sets categories at the scales of dimension 0 and the percent stacking at the scales of dimension 1 of all given coordinate systems. More...
 
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)
 create a data series tree, that fits the requirements of the chart type. More...
 
void createAxes (const std::vector< rtl::Reference< ::chart::BaseCoordinateSystem > > &rCoordSys)
 create axes and add them to the given container. More...
 
virtual sal_Int32 getAxisCountByDimension (sal_Int32 nDimension)
 Give the number of requested axis per dimension here. More...
 
virtual void adaptAxes (const std::vector< rtl::Reference< ::chart::BaseCoordinateSystem > > &rCoordSys)
 adapt properties of existing axes and remove superfluous axes More...
 
const css::uno::Reference< css::uno::XComponentContext > & GetComponentContext () const
 
- Public Member Functions inherited from property::OPropertySet
 OPropertySet ()
 
virtual ~OPropertySet ()
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override final
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override final
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override final
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override final
 
virtual void SAL_CALL setAllPropertiesToDefault () override final
 
virtual void SAL_CALL setPropertiesToDefault (const css::uno::Sequence< OUString > &aPropertyNames) override final
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyDefaults (const css::uno::Sequence< OUString > &aPropertyNames) override final
 
virtual css::uno::Reference< css::style::XStyle > SAL_CALL getStyle () override final
 
virtual void SAL_CALL setStyle (const css::uno::Reference< css::style::XStyle > &xStyle) override final
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) override final
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
- Public Member Functions inherited from cppu::OBroadcastHelperVar< class container, class keyType >
 OBroadcastHelperVar (::osl::Mutex &rMutex_)
 
void addListener (const keyType &key, const css::uno::Reference< css::uno::XInterface > &r)
 
void removeListener (const keyType &key, const css::uno::Reference< css::uno::XInterface > &r)
 
OInterfaceContainerHelper *SAL_CALL getContainer (const keyType &key) const
 
- Public Member Functions inherited from cppu::OPropertySetHelper
 OPropertySetHelper (OBroadcastHelper &rBHelper)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
css::uno::Sequence< css::uno::Type > getTypes ()
 
void SAL_CALL disposing ()
 
virtual void SAL_CALL setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 

Protected Member Functions

virtual void GetDefaultValue (sal_Int32 nHandle, css::uno::Any &rAny) const override
 merge XInterface implementations More...
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 The InfoHelper table contains all property names and types of this object. More...
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual bool matchesTemplate2 (const rtl::Reference< ::chart::Diagram > &xDiagram, bool bAdaptProperties) override
 
virtual rtl::Reference< ::chart::ChartTypegetChartTypeForNewSeries2 (const std::vector< rtl::Reference< ::chart::ChartType > > &aFormerlyUsedChartTypes) override
 
virtual void applyStyle2 (const rtl::Reference< ::chart::DataSeries > &xSeries, ::sal_Int32 nChartTypeGroupIndex, ::sal_Int32 nSeriesIndex, ::sal_Int32 nSeriesCount) override
 
virtual void resetStyles2 (const rtl::Reference< ::chart::Diagram > &xDiagram) override
 
virtual sal_Int32 getDimension () const override
 returns 2 by default. Supported are 2 and 3 More...
 
virtual void adaptDiagram (const rtl::Reference< ::chart::Diagram > &xDiagram) override
 Allows derived classes to manipulate the diagrams whole, like changing the wall color. More...
 
virtual sal_Int32 getAxisCountByDimension (sal_Int32 nDimension) override
 Give the number of requested axis per dimension here. More...
 
virtual void adaptAxes (const std::vector< rtl::Reference< ::chart::BaseCoordinateSystem > > &rCoordSys) override
 adapt properties of existing axes and remove superfluous axes More...
 
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 all given coordinate systems. More...
 
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. More...
 
virtual rtl::Reference< ::chart::ChartTypegetChartTypeForIndex (sal_Int32 nChartTypeIndex) override
 
- Protected Member Functions inherited from property::OPropertySet
 OPropertySet (const OPropertySet &rOther)
 
void SetNewValuesExplicitlyEvenIfTheyEqualDefault ()
 
virtual void GetDefaultValue (sal_Int32 nHandle, css::uno::Any &rAny) const =0
 implement this method to provide default values for all properties supporting defaults. More...
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override=0
 The InfoHelper table contains all property names and types of this object. More...
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override final
 Try to convert the value rValue to the type required by the property associated with nHandle. More...
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 The same as setFastPropertyValue; nHandle is always valid. More...
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 The same as getFastPropertyValue, but return the value through rValue and nHandle is always valid. More...
 
virtual void firePropertyChangeEvent ()
 implement this method in derived classes to get called when properties change. More...
 
- Protected Member Functions inherited from cppu::OBroadcastHelperVar< class container, class keyType >
 OBroadcastHelperVar (::osl::Mutex &rMutex_)
 
void addListener (const keyType &key, const css::uno::Reference< css::uno::XInterface > &r)
 
void removeListener (const keyType &key, const css::uno::Reference< css::uno::XInterface > &r)
 
OInterfaceContainerHelper *SAL_CALL getContainer (const keyType &key) const
 
- Protected Member Functions inherited from cppu::OPropertySetHelper
void SAL_CALL fire (sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable)
 
void SAL_CALL setFastPropertyValues (sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount)
 
virtual IPropertyArrayHelper &SAL_CALL getInfoHelper ()=0
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const=0
 
void setDependentFastPropertyValue (sal_Int32 i_handle, const css::uno::Any &i_value)
 
 ~OPropertySetHelper ()
 
 OPropertySetHelper (OBroadcastHelper &rBHelper)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
css::uno::Sequence< css::uno::Type > getTypes ()
 
void SAL_CALL disposing ()
 
virtual void SAL_CALL setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 

Additional Inherited Members

- Static Public Member Functions inherited from chart::ChartTypeTemplate
static void copyPropertiesFromOldToNewCoordinateSystem (const std::vector< rtl::Reference< ChartType > > &rOldChartTypesSeq, const rtl::Reference< ChartType > &xNewChartType)
 
- Static Public Member Functions inherited from cppu::OPropertySetHelper
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo (IPropertyArrayHelper &rProperties)
 
- Public Attributes inherited from cppu::OBroadcastHelperVar< class container, class keyType >
::osl::Mutex & rMutex
 
container aLC
 
sal_Bool bDisposed
 
sal_Bool bInDispose
 
- Static Protected Member Functions inherited from cppu::OPropertySetHelper
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo (IPropertyArrayHelper &rProperties)
 
- Protected Attributes inherited from chart::ChartTypeTemplate
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
rtl::Reference< ::chart::DataInterpreterm_xDataInterpreter
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Protected Attributes inherited from cppu::OBroadcastHelperVar< class container, class keyType >
::osl::Mutex & rMutex
 
container aLC
 
sal_Bool bDisposed
 
sal_Bool bInDispose
 
- Protected Attributes inherited from cppu::OPropertySetHelper
OBroadcastHelperrBHelper
 
OMultiTypeInterfaceContainerHelperInt32 aBoundLC
 
OMultiTypeInterfaceContainerHelperInt32 aVetoableLC
 
Impl *const m_pReserved
 

Detailed Description

Definition at line 30 of file PieChartTypeTemplate.hxx.

Constructor & Destructor Documentation

◆ PieChartTypeTemplate()

chart::PieChartTypeTemplate::PieChartTypeTemplate ( css::uno::Reference< css::uno::XComponentContext > const &  xContext,
const OUString &  rServiceName,
css::chart2::PieChartOffsetMode  eMode,
bool  bRings,
sal_Int32  nDim = 2 
)

◆ ~PieChartTypeTemplate()

chart::PieChartTypeTemplate::~PieChartTypeTemplate ( )
overridevirtual

Definition at line 137 of file PieChartTypeTemplate.cxx.

Member Function Documentation

◆ adaptAxes()

void chart::PieChartTypeTemplate::adaptAxes ( const std::vector< rtl::Reference< ::chart::BaseCoordinateSystem > > &  rCoordSys)
overrideprotectedvirtual

adapt properties of existing axes and remove superfluous axes

Reimplemented from chart::ChartTypeTemplate.

Definition at line 185 of file PieChartTypeTemplate.cxx.

◆ adaptDiagram()

void chart::PieChartTypeTemplate::adaptDiagram ( const rtl::Reference< ::chart::Diagram > &  xDiagram)
overrideprotectedvirtual

Allows derived classes to manipulate the diagrams whole, like changing the wall color.

The default implementation is empty. It is called by FillDiagram which is called by createDiagramByDataSource and changeDiagram

Reimplemented from chart::ChartTypeTemplate.

Definition at line 554 of file PieChartTypeTemplate.cxx.

◆ adaptScales()

void chart::PieChartTypeTemplate::adaptScales ( const std::vector< rtl::Reference< ::chart::BaseCoordinateSystem > > &  aCooSysSeq,
const css::uno::Reference< css::chart2::data::XLabeledDataSequence > &  xCategories 
)
overrideprotectedvirtual

Sets categories at the scales of dimension 0 and the percent stacking at the scales of dimension 1 of all given coordinate systems.

Called by FillDiagram.

Reimplemented from chart::ChartTypeTemplate.

Definition at line 192 of file PieChartTypeTemplate.cxx.

References chart::ChartTypeTemplate::adaptScales(), DBG_UNHANDLED_EXCEPTION, chart::AxisHelper::getAxis(), and chart::AxisHelper::removeExplicitScaling().

◆ applyStyle2()

void chart::PieChartTypeTemplate::applyStyle2 ( const rtl::Reference< ::chart::DataSeries > &  xSeries,
::sal_Int32  nChartTypeGroupIndex,
::sal_Int32  nSeriesIndex,
::sal_Int32  nSeriesCount 
)
overrideprotectedvirtual

◆ createChartTypes()

void chart::PieChartTypeTemplate::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 
)
overrideprotectedvirtual

create a data series tree, that fits the requirements of the chart type.

As default, this creates a tree with the following structure:

  root
   |
   +-- chart type (determined by getChartTypeForNewSeries())
           |
           +-- category (DiscreteStackableScaleGroup using scale 0)
                  |
                  +-- values (ContinuousStackableScaleGroup using scale 1)
                        |
                        +-- series 0
                        |
                        +-- series 1
                        |
                        ...
                        |
                        +.. series n-1

If there are less than two scales available the returned tree is empty.

Reimplemented from chart::ChartTypeTemplate.

Definition at line 245 of file PieChartTypeTemplate.cxx.

References DBG_UNHANDLED_EXCEPTION, chart::FlattenSequence(), property::OPropertySet::getFastPropertyValue(), chart::ChartTypeTemplate::getStackMode(), chart::PROP_PIECHARTTYPE_USE_RINGS, and chart::DataSeriesHelper::setStackModeAtSeries().

◆ getAxisCountByDimension()

sal_Int32 chart::PieChartTypeTemplate::getAxisCountByDimension ( sal_Int32  nDimension)
overrideprotectedvirtual

Give the number of requested axis per dimension here.

Default is one axis for each dimension

Reimplemented from chart::ChartTypeTemplate.

Definition at line 180 of file PieChartTypeTemplate.cxx.

◆ getChartTypeForIndex()

rtl::Reference< ChartType > chart::PieChartTypeTemplate::getChartTypeForIndex ( sal_Int32  nChartTypeIndex)
overrideprotectedvirtual

◆ getChartTypeForNewSeries2()

rtl::Reference< ChartType > chart::PieChartTypeTemplate::getChartTypeForNewSeries2 ( const std::vector< rtl::Reference< ::chart::ChartType > > &  aFormerlyUsedChartTypes)
overrideprotectedvirtual

◆ GetDefaultValue()

void chart::PieChartTypeTemplate::GetDefaultValue ( sal_Int32  nHandle,
css::uno::Any &  rAny 
) const
overrideprotectedvirtual

merge XInterface implementations

merge XTypeProvider implementations

Implements property::OPropertySet.

Definition at line 141 of file PieChartTypeTemplate.cxx.

References nHandle.

◆ getDimension()

sal_Int32 chart::PieChartTypeTemplate::getDimension ( ) const
overrideprotectedvirtual

returns 2 by default. Supported are 2 and 3

Reimplemented from chart::ChartTypeTemplate.

Definition at line 163 of file PieChartTypeTemplate.cxx.

References DBG_UNHANDLED_EXCEPTION, and property::OPropertySet::getFastPropertyValue().

◆ getInfoHelper()

cppu::IPropertyArrayHelper &SAL_CALL chart::PieChartTypeTemplate::getInfoHelper ( )
overrideprotectedvirtual

The InfoHelper table contains all property names and types of this object.

Returns
the object that provides information for the PropertySetInfo
See also
cppu::OPropertySetHelper

Implements property::OPropertySet.

Definition at line 151 of file PieChartTypeTemplate.cxx.

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL chart::PieChartTypeTemplate::getPropertySetInfo ( )
overrideprotectedvirtual

Definition at line 157 of file PieChartTypeTemplate.cxx.

◆ matchesTemplate2()

bool chart::PieChartTypeTemplate::matchesTemplate2 ( const rtl::Reference< ::chart::Diagram > &  xDiagram,
bool  bAdaptProperties 
)
overrideprotectedvirtual

◆ resetStyles2()

void chart::PieChartTypeTemplate::resetStyles2 ( const rtl::Reference< ::chart::Diagram > &  xDiagram)
overrideprotectedvirtual

The documentation for this class was generated from the following files: