LibreOffice Module chart2 (master) 1
|
#include <ChartType.hxx>
Public Member Functions | |
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< ChartType > | cloneChartType () 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::BaseCoordinateSystem > | createCoordinateSystem2 (sal_Int32 DimensionCount) |
![]() | |
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 |
![]() | |
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 |
![]() | |
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 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 |
![]() | |
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... | |
![]() | |
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 |
![]() | |
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 |
Protected Attributes | |
rtl::Reference< ModifyEventForwarder > | m_xModifyEventForwarder |
merge XTypeProvider implementations More... | |
![]() | |
mutable::osl::Mutex | m_aMutex |
![]() | |
::osl::Mutex & | rMutex |
container | aLC |
sal_Bool | bDisposed |
sal_Bool | bInDispose |
![]() | |
OBroadcastHelper & | rBHelper |
OMultiTypeInterfaceContainerHelperInt32 | aBoundLC |
OMultiTypeInterfaceContainerHelperInt32 | aVetoableLC |
Impl *const | m_pReserved |
Private Types | |
typedef std::vector< rtl::Reference< ::chart::DataSeries > > | tDataSeriesContainerType |
Private Member Functions | |
void | impl_addDataSeriesWithoutNotification (const rtl::Reference< ::chart::DataSeries > &aDataSeries) |
Private Attributes | |
tDataSeriesContainerType | m_aDataSeries |
bool | m_bNotifyChanges |
Additional Inherited Members | |
![]() | |
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | createPropertySetInfo (IPropertyArrayHelper &rProperties) |
![]() | |
::osl::Mutex & | rMutex |
container | aLC |
sal_Bool | bDisposed |
sal_Bool | bInDispose |
![]() | |
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | createPropertySetInfo (IPropertyArrayHelper &rProperties) |
Definition at line 61 of file ChartType.hxx.
|
private |
Definition at line 150 of file ChartType.hxx.
|
explicit |
Definition at line 42 of file ChartType.cxx.
|
overridevirtual |
Definition at line 61 of file ChartType.cxx.
References m_aDataSeries, m_xModifyEventForwarder, and chart::ModifyListenerHelper::removeListenerFromAllElements().
|
explicit |
merge XInterface implementations
Definition at line 47 of file ChartType.cxx.
References chart::ModifyListenerHelper::addListenerToAllElements(), chart::CloneHelper::CloneRefVector(), m_aDataSeries, and m_xModifyEventForwarder.
|
overridevirtual |
void chart::ChartType::addDataSeries | ( | const rtl::Reference< ::chart::DataSeries > & | aDataSeries | ) |
|
overridevirtual |
Definition at line 253 of file ChartType.cxx.
References DBG_UNHANDLED_EXCEPTION, and m_xModifyEventForwarder.
|
pure virtual |
|
finaloverridevirtual |
Definition at line 69 of file ChartType.cxx.
References createCoordinateSystem2().
|
virtual |
Reimplemented in chart::BubbleChartType, chart::NetChartType_Base, chart::PieChartType, and chart::ScatterChartType.
Definition at line 75 of file ChartType.cxx.
References chart::AxisHelper::createLinearScaling(), i, and chart::MAIN_AXIS_INDEX.
Referenced by createCoordinateSystem().
|
overrideprotectedvirtual |
Definition at line 284 of file ChartType.cxx.
|
protected |
Definition at line 295 of file ChartType.cxx.
References m_bNotifyChanges, and m_xModifyEventForwarder.
Referenced by firePropertyChangeEvent().
|
overrideprotectedvirtual |
implement this method in derived classes to get called when properties change.
Reimplemented from property::OPropertySet.
Definition at line 290 of file ChartType.cxx.
References fireModifyEvent().
|
overridepure virtual |
|
overridevirtual |
Definition at line 179 of file ChartType.cxx.
References m_aDataSeries.
|
inline |
Definition at line 110 of file ChartType.hxx.
|
overrideprotectedvirtual |
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.
css::beans::UnknownPropertyException | |
css::uno::RuntimeException |
Implements property::OPropertySet.
Reimplemented in chart::BubbleChartType, chart::CandleStickChartType, chart::ColumnChartType, chart::LineChartType, chart::NetChartType_Base, chart::PieChartType, and chart::ScatterChartType.
Definition at line 222 of file ChartType.cxx.
|
overrideprotectedvirtual |
The InfoHelper table contains all property names and types of this object.
Implements property::OPropertySet.
Reimplemented in chart::BubbleChartType, chart::CandleStickChartType, chart::ColumnChartType, chart::LineChartType, chart::NetChartType_Base, chart::PieChartType, and chart::ScatterChartType.
Definition at line 239 of file ChartType.cxx.
|
overrideprotectedvirtual |
Reimplemented in chart::BubbleChartType, chart::CandleStickChartType, chart::ColumnChartType, chart::LineChartType, chart::NetChartType_Base, chart::PieChartType, and chart::ScatterChartType.
Definition at line 245 of file ChartType.cxx.
References cppu::OPropertySetHelper::createPropertySetInfo().
|
overridevirtual |
Reimplemented in chart::BubbleChartType, and chart::CandleStickChartType.
Definition at line 121 of file ChartType.cxx.
|
overridevirtual |
Reimplemented in chart::BubbleChartType, chart::CandleStickChartType, and chart::ScatterChartType.
Definition at line 106 of file ChartType.cxx.
|
overridevirtual |
Reimplemented in chart::CandleStickChartType.
Definition at line 111 of file ChartType.cxx.
|
overridevirtual |
Reimplemented in chart::BarChartType, chart::BubbleChartType, chart::ColumnChartType, and chart::PieChartType.
Definition at line 116 of file ChartType.cxx.
|
private |
Definition at line 126 of file ChartType.cxx.
References chart::ModifyListenerHelper::addListener(), m_aDataSeries, and m_xModifyEventForwarder.
|
overrideprotectedvirtual |
Definition at line 278 of file ChartType.cxx.
References aEvent, and m_xModifyEventForwarder.
|
overridevirtual |
void chart::ChartType::removeDataSeries | ( | const rtl::Reference< ::chart::DataSeries > & | aDataSeries | ) |
|
overridevirtual |
Definition at line 265 of file ChartType.cxx.
References DBG_UNHANDLED_EXCEPTION, and m_xModifyEventForwarder.
|
overridevirtual |
void chart::ChartType::setDataSeries | ( | const std::vector< rtl::Reference< ::chart::DataSeries > > & | aDataSeries | ) |
|
private |
Definition at line 154 of file ChartType.hxx.
Referenced by ChartType(), getDataSeries(), impl_addDataSeriesWithoutNotification(), and ~ChartType().
|
private |
Definition at line 156 of file ChartType.hxx.
Referenced by fireModifyEvent().
|
protected |
merge XTypeProvider implementations
Definition at line 142 of file ChartType.hxx.
Referenced by addModifyListener(), chart::CandleStickChartType::CandleStickChartType(), ChartType(), fireModifyEvent(), impl_addDataSeriesWithoutNotification(), modified(), removeModifyListener(), chart::CandleStickChartType::setFastPropertyValue_NoBroadcast(), chart::CandleStickChartType::~CandleStickChartType(), and ~ChartType().