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

#include <BubbleChartTypeTemplate.hxx>

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

Public Member Functions

 BubbleChartTypeTemplate (css::uno::Reference< css::uno::XComponentContext > const &xContext, const OUString &rServiceName)
 
virtual ~BubbleChartTypeTemplate () 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 sal_Bool SAL_CALL supportsCategories () override
 denotes if the chart needs categories at the first scale More...
 
virtual rtl::Reference< ::chart::ChartTypegetChartTypeForNewSeries2 (const std::vector< rtl::Reference< ::chart::ChartType > > &aFormerlyUsedChartTypes) override
 
virtual rtl::Reference< ::chart::DataInterpretergetDataInterpreter2 () override
 
virtual void applyStyle2 (const rtl::Reference< ::chart::DataSeries > &xSeries, ::sal_Int32 nChartTypeGroupIndex, ::sal_Int32 nSeriesIndex, ::sal_Int32 nSeriesCount) override
 
virtual rtl::Reference< ::chart::ChartTypegetChartTypeForIndex (sal_Int32 nChartTypeIndex) override
 
virtual sal_Int32 getDimension () const override
 returns 2 by default. Supported are 2 and 3 More...
 
virtual StackMode getStackMode (sal_Int32 nChartTypeIndex) const override
 returns StackMode::NONE by default. More...
 
- 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 28 of file BubbleChartTypeTemplate.hxx.

Constructor & Destructor Documentation

◆ BubbleChartTypeTemplate()

chart::BubbleChartTypeTemplate::BubbleChartTypeTemplate ( css::uno::Reference< css::uno::XComponentContext > const &  xContext,
const OUString &  rServiceName 
)
explicit

Definition at line 58 of file BubbleChartTypeTemplate.cxx.

◆ ~BubbleChartTypeTemplate()

chart::BubbleChartTypeTemplate::~BubbleChartTypeTemplate ( )
overridevirtual

Definition at line 66 of file BubbleChartTypeTemplate.cxx.

Member Function Documentation

◆ applyStyle2()

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

◆ getChartTypeForIndex()

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

Implements chart::ChartTypeTemplate.

Definition at line 119 of file BubbleChartTypeTemplate.cxx.

◆ getChartTypeForNewSeries2()

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

◆ getDataInterpreter2()

rtl::Reference< DataInterpreter > chart::BubbleChartTypeTemplate::getDataInterpreter2 ( )
overrideprotectedvirtual

◆ GetDefaultValue()

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

merge XInterface implementations

merge XTypeProvider implementations

Implements property::OPropertySet.

Definition at line 70 of file BubbleChartTypeTemplate.cxx.

References nHandle.

◆ getDimension()

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

returns 2 by default. Supported are 2 and 3

Reimplemented from chart::ChartTypeTemplate.

Definition at line 93 of file BubbleChartTypeTemplate.cxx.

◆ getInfoHelper()

cppu::IPropertyArrayHelper &SAL_CALL chart::BubbleChartTypeTemplate::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 80 of file BubbleChartTypeTemplate.cxx.

◆ getPropertySetInfo()

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

◆ getStackMode()

StackMode chart::BubbleChartTypeTemplate::getStackMode ( sal_Int32  nChartTypeIndex) const
overrideprotectedvirtual

returns StackMode::NONE by default.

This is a global flag used for all series of a specific chart type. If percent stacking is supported, the percent stacking mode is retrieved from the first chart type (index 0)

Parameters
nChartTypeIndexdenotes the index of the charttype in means defined by the template creation order, i.e., 0 means the first chart type that a template creates.

Reimplemented from chart::ChartTypeTemplate.

Definition at line 98 of file BubbleChartTypeTemplate.cxx.

References chart::NONE.

◆ supportsCategories()

sal_Bool SAL_CALL chart::BubbleChartTypeTemplate::supportsCategories ( )
overrideprotectedvirtual

denotes if the chart needs categories at the first scale

Reimplemented from chart::ChartTypeTemplate.

Definition at line 114 of file BubbleChartTypeTemplate.cxx.


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