LibreOffice Module chart2 (master) 1
|
#include <Axis.hxx>
Public Member Functions | |
Axis () | |
virtual | ~Axis () override |
virtual OUString SAL_CALL | getImplementationName () override |
XServiceInfo declarations. More... | |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setScaleData (const css::chart2::ScaleData &rScaleData) override |
virtual css::chart2::ScaleData SAL_CALL | getScaleData () override |
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL | getGridProperties () override |
virtual css::uno::Sequence< css::uno::Reference< css::beans::XPropertySet > > SAL_CALL | getSubGridProperties () override |
virtual css::uno::Sequence< css::uno::Reference< css::beans::XPropertySet > > SAL_CALL | getSubTickProperties () override |
virtual css::uno::Reference< css::chart2::XTitle > SAL_CALL | getTitleObject () override |
virtual void SAL_CALL | setTitleObject (const css::uno::Reference< css::chart2::XTitle > &Title) override |
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL | createClone () 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 |
rtl::Reference< ::chart::Title > | getTitleObject2 () const |
void | setTitleObject (const rtl::Reference< ::chart::Title > &xNewTitle) |
rtl::Reference< ::chart::GridProperties > | getGridProperties2 () |
std::vector< rtl::Reference< ::chart::GridProperties > > | getSubGridProperties2 () |
![]() | |
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 |
Private Member Functions | |
Axis (const Axis &rOther) | |
merge XInterface implementations More... | |
void | Init () |
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 SAL_CALL | modified (const css::lang::EventObject &aEvent) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual void | firePropertyChangeEvent () override |
implement this method in derived classes to get called when properties change. More... | |
void | fireModifyEvent () |
void | AllocateSubGrids () |
Private Attributes | |
rtl::Reference< ModifyEventForwarder > | m_xModifyEventForwarder |
css::chart2::ScaleData | m_aScaleData |
rtl::Reference< ::chart::GridProperties > | m_xGrid |
std::vector< rtl::Reference< ::chart::GridProperties > > | m_aSubGridProperties |
rtl::Reference< ::chart::Title > | m_xTitle |
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 |
![]() | |
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 |
![]() | |
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | createPropertySetInfo (IPropertyArrayHelper &rProperties) |
![]() | |
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 |
|
explicit |
Definition at line 284 of file Axis.cxx.
References chart::ModifyListenerHelper::addListener(), AllocateSubGrids(), m_aScaleData, m_refCount, m_xGrid, m_xModifyEventForwarder, chart::LinePropertiesHelper::PROP_LINE_COLOR, and property::OPropertySet::setFastPropertyValue_NoBroadcast().
Referenced by createClone().
|
overridevirtual |
Definition at line 333 of file Axis.cxx.
References DBG_UNHANDLED_EXCEPTION, m_aScaleData, m_aSubGridProperties, m_xGrid, m_xModifyEventForwarder, m_xTitle, chart::ModifyListenerHelper::removeListener(), and chart::ModifyListenerHelper::removeListenerFromAllElements().
|
explicitprivate |
merge XInterface implementations
merge XTypeProvider implementations
Definition at line 302 of file Axis.cxx.
References chart::ModifyListenerHelper::addListener(), chart::ModifyListenerHelper::addListenerToAllElements(), m_aScaleData, m_aSubGridProperties, m_xGrid, m_xModifyEventForwarder, and m_xTitle.
|
overridevirtual |
Definition at line 511 of file Axis.cxx.
References m_xModifyEventForwarder.
|
private |
Definition at line 356 of file Axis.cxx.
References chart::ModifyListenerHelper::addListener(), i, cppu::BaseMutex::m_aMutex, m_aScaleData, m_aSubGridProperties, m_xModifyEventForwarder, chart::ModifyListenerHelper::removeListener(), chart::LinePropertiesHelper::SetLineColor(), and chart::LinePropertiesHelper::SetLineInvisible().
Referenced by Axis(), and setScaleData().
|
overridevirtual |
|
overrideprivatevirtual |
Definition at line 528 of file Axis.cxx.
References m_aScaleData, and Source.
|
private |
Definition at line 540 of file Axis.cxx.
References m_xModifyEventForwarder.
Referenced by firePropertyChangeEvent(), and setScaleData().
|
overrideprivatevirtual |
implement this method in derived classes to get called when properties change.
Reimplemented from property::OPropertySet.
Definition at line 535 of file Axis.cxx.
References fireModifyEvent().
|
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.
css::beans::UnknownPropertyException | |
css::uno::RuntimeException |
Implements property::OPropertySet.
Definition at line 546 of file Axis.cxx.
References nHandle, and chart::StaticAxisDefaults().
|
overridevirtual |
Definition at line 434 of file Axis.cxx.
References cppu::BaseMutex::m_aMutex, and m_xGrid.
rtl::Reference<::chart::GridProperties > chart::Axis::getGridProperties2 | ( | ) |
Definition at line 439 of file Axis.cxx.
References cppu::BaseMutex::m_aMutex, and m_xGrid.
|
overridevirtual |
|
overrideprivatevirtual |
The InfoHelper table contains all property names and types of this object.
Implements property::OPropertySet.
|
overridevirtual |
Definition at line 562 of file Axis.cxx.
References cppu::OPropertySetHelper::createPropertySetInfo().
|
overridevirtual |
Definition at line 428 of file Axis.cxx.
References cppu::BaseMutex::m_aMutex, and m_aScaleData.
|
overridevirtual |
Definition at line 444 of file Axis.cxx.
References cppu::BaseMutex::m_aMutex, and m_aSubGridProperties.
std::vector< rtl::Reference< GridProperties > > chart::Axis::getSubGridProperties2 | ( | ) |
Definition at line 450 of file Axis.cxx.
References cppu::BaseMutex::m_aMutex, and m_aSubGridProperties.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 463 of file Axis.cxx.
References cppu::BaseMutex::m_aMutex, and m_xTitle.
rtl::Reference< Title > chart::Axis::getTitleObject2 | ( | ) | const |
Definition at line 469 of file Axis.cxx.
References cppu::BaseMutex::m_aMutex, and m_xTitle.
|
private |
Definition at line 327 of file Axis.cxx.
References chart::EventListenerHelper::addListener(), and m_aScaleData.
|
overrideprivatevirtual |
Definition at line 522 of file Axis.cxx.
References aEvent, and m_xModifyEventForwarder.
|
overridevirtual |
Definition at line 516 of file Axis.cxx.
References m_xModifyEventForwarder.
|
overridevirtual |
Definition at line 399 of file Axis.cxx.
References chart::EventListenerHelper::addListener(), chart::ModifyListenerHelper::addListener(), AllocateSubGrids(), fireModifyEvent(), cppu::BaseMutex::m_aMutex, m_aScaleData, m_xModifyEventForwarder, chart::EventListenerHelper::removeListener(), and chart::ModifyListenerHelper::removeListener().
|
overridevirtual |
void chart::Axis::setTitleObject | ( | const rtl::Reference< ::chart::Title > & | xNewTitle | ) |
|
overridevirtual |
Definition at line 580 of file Axis.cxx.
References cppu::supportsService().
|
private |
Definition at line 132 of file Axis.hxx.
Referenced by AllocateSubGrids(), Axis(), disposing(), getScaleData(), Init(), setScaleData(), and ~Axis().
|
private |
Definition at line 136 of file Axis.hxx.
Referenced by AllocateSubGrids(), Axis(), getSubGridProperties(), getSubGridProperties2(), and ~Axis().
|
private |
Definition at line 134 of file Axis.hxx.
Referenced by Axis(), getGridProperties(), getGridProperties2(), and ~Axis().
|
private |
Definition at line 130 of file Axis.hxx.
Referenced by addModifyListener(), AllocateSubGrids(), Axis(), fireModifyEvent(), modified(), removeModifyListener(), setScaleData(), and ~Axis().
|
private |
Definition at line 138 of file Axis.hxx.
Referenced by Axis(), getTitleObject(), getTitleObject2(), and ~Axis().