LibreOffice Module chart2 (master) 1
Public Member Functions | Private Member Functions | List of all members
chart::LineChartType Class Referencefinal

#include <LineChartType.hxx>

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

Public Member Functions

 LineChartType ()
 
virtual ~LineChartType () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual rtl::Reference< ChartTypecloneChartType () const override
 
- Public Member Functions inherited from chart::ChartType
 ChartType ()
 
virtual ~ChartType () override
 
 ChartType (const ChartType &rOther)
 merge XInterface implementations More...
 
virtual OUString SAL_CALL getChartType () override=0
 
virtual css::uno::Reference< css::chart2::XCoordinateSystem > SAL_CALL createCoordinateSystem (::sal_Int32 DimensionCount) final override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedMandatoryRoles () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedOptionalRoles () override
 
virtual OUString SAL_CALL getRoleOfSequenceForSeriesLabel () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedPropertyRoles () override
 
virtual void SAL_CALL addDataSeries (const css::uno::Reference< css::chart2::XDataSeries > &aDataSeries) override
 
virtual void SAL_CALL removeDataSeries (const css::uno::Reference< css::chart2::XDataSeries > &aDataSeries) override
 
virtual css::uno::Sequence< css::uno::Reference< css::chart2::XDataSeries > > SAL_CALL getDataSeries () override
 
virtual void SAL_CALL setDataSeries (const css::uno::Sequence< css::uno::Reference< css::chart2::XDataSeries > > &aDataSeries) override
 
virtual void SAL_CALL addModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override
 
virtual void SAL_CALL removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override
 
virtual rtl::Reference< ChartTypecloneChartType () const =0
 
void addDataSeries (const rtl::Reference< ::chart::DataSeries > &aDataSeries)
 
void removeDataSeries (const rtl::Reference< ::chart::DataSeries > &aDataSeries)
 
void setDataSeries (const std::vector< rtl::Reference< ::chart::DataSeries > > &aDataSeries)
 
const std::vector< rtl::Reference< ::chart::DataSeries > > & getDataSeries2 () const
 
virtual rtl::Reference< ::chart::BaseCoordinateSystemcreateCoordinateSystem2 (sal_Int32 DimensionCount)
 
- 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
 

Private Member Functions

 LineChartType (const LineChartType &rOther)
 
virtual OUString SAL_CALL getChartType () override
 
virtual void GetDefaultValue (sal_Int32 nHandle, css::uno::Any &rAny) const override
 implement this method to provide default values for all properties supporting defaults. 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 css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () override
 

Additional Inherited Members

- 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
 
- Protected Member Functions inherited from chart::ChartType
virtual void SAL_CALL modified (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
void fireModifyEvent ()
 
virtual void GetDefaultValue (sal_Int32 nHandle, css::uno::Any &rAny) const override
 implement this method to provide default values for all properties supporting defaults. More...
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 The InfoHelper table contains all property names and types of this object. More...
 
virtual void firePropertyChangeEvent () override
 implement this method in derived classes to get called when properties change. More...
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () 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
 
- 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::ChartType
rtl::Reference< ModifyEventForwarderm_xModifyEventForwarder
 merge XTypeProvider implementations More...
 
- 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 26 of file LineChartType.hxx.

Constructor & Destructor Documentation

◆ LineChartType() [1/2]

chart::LineChartType::LineChartType ( )
explicit

Definition at line 105 of file LineChartType.cxx.

Referenced by cloneChartType(), and createClone().

◆ ~LineChartType()

chart::LineChartType::~LineChartType ( )
overridevirtual

Definition at line 114 of file LineChartType.cxx.

◆ LineChartType() [2/2]

chart::LineChartType::LineChartType ( const LineChartType rOther)
explicitprivate

Definition at line 109 of file LineChartType.cxx.

Member Function Documentation

◆ cloneChartType()

rtl::Reference< ChartType > chart::LineChartType::cloneChartType ( ) const
overridevirtual

Implements chart::ChartType.

Definition at line 123 of file LineChartType.cxx.

References LineChartType().

◆ createClone()

uno::Reference< util::XCloneable > SAL_CALL chart::LineChartType::createClone ( )
overrideprivatevirtual

Definition at line 118 of file LineChartType.cxx.

References LineChartType().

◆ getChartType()

OUString SAL_CALL chart::LineChartType::getChartType ( )
overrideprivatevirtual

Implements chart::ChartType.

Definition at line 129 of file LineChartType.cxx.

References CHART2_SERVICE_NAME_CHARTTYPE_LINE.

◆ GetDefaultValue()

void chart::LineChartType::GetDefaultValue ( sal_Int32  nHandle,
css::uno::Any &  rAny 
) const
overrideprivatevirtual

implement this method to provide default values for all properties supporting defaults.

If a property does not have a default value, you may throw an UnknownPropertyException. We pass the any by reference because this code is very hot and doing it this way is cheaper than the two step process of constructing a new any and then assigning to via a return value.

Exceptions
css::beans::UnknownPropertyException
css::uno::RuntimeException

Reimplemented from chart::ChartType.

Definition at line 135 of file LineChartType.cxx.

References nHandle.

◆ getImplementationName()

OUString SAL_CALL chart::LineChartType::getImplementationName ( )
overridevirtual

Definition at line 156 of file LineChartType.cxx.

◆ getInfoHelper()

cppu::IPropertyArrayHelper &SAL_CALL chart::LineChartType::getInfoHelper ( )
overrideprivatevirtual

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

Reimplemented from chart::ChartType.

Definition at line 145 of file LineChartType.cxx.

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL chart::LineChartType::getPropertySetInfo ( )
overrideprivatevirtual

Reimplemented from chart::ChartType.

Definition at line 151 of file LineChartType.cxx.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SAL_CALL chart::LineChartType::getSupportedServiceNames ( )
overridevirtual

Definition at line 166 of file LineChartType.cxx.

References CHART2_SERVICE_NAME_CHARTTYPE_LINE.

◆ supportsService()

sal_Bool SAL_CALL chart::LineChartType::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 161 of file LineChartType.cxx.

References cppu::supportsService().


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