LibreOffice Module chart2 (master) 1
|
#include <FormattedString.hxx>
Public Member Functions | |
FormattedString () | |
virtual | ~FormattedString () override |
virtual OUString SAL_CALL | getImplementationName () override |
declare XServiceInfo methods More... | |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | setPropertyValue (const OUString &p1, const css::uno::Any &p2) override |
merge XInterface implementations More... | |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &p1) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &p1, const css::uno::Reference< css::beans::XPropertyChangeListener > &p2) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &p1, const css::uno::Reference< css::beans::XPropertyChangeListener > &p2) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &p1, const css::uno::Reference< css::beans::XVetoableChangeListener > &p2) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &p1, const css::uno::Reference< css::beans::XVetoableChangeListener > &p2) override |
FormattedString (const FormattedString &rOther) | |
virtual OUString SAL_CALL | getString () override |
virtual void SAL_CALL | setString (const OUString &String) override |
virtual css::chart2::DataPointCustomLabelFieldType SAL_CALL | getFieldType () override |
virtual void SAL_CALL | setFieldType (const css::chart2::DataPointCustomLabelFieldType FieldType) override |
virtual OUString SAL_CALL | getGuid () override |
void SAL_CALL | setGuid (const OUString &guid) override |
virtual sal_Bool SAL_CALL | getDataLabelsRange () override |
virtual void SAL_CALL | setDataLabelsRange (sal_Bool dataLabelsRange) override |
virtual OUString SAL_CALL | getCellRange () override |
virtual void SAL_CALL | setCellRange (const OUString &cellRange) 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 |
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 void SAL_CALL | modified (const css::lang::EventObject &aEvent) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
![]() | |
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 | |
virtual void | firePropertyChangeEvent () override |
implement this method in derived classes to get called when properties change. More... | |
void | fireModifyEvent () |
Private Attributes | |
OUString | m_aString |
css::chart2::DataPointCustomLabelFieldType | m_aType |
OUString | m_aGuid |
OUString | m_aCellRange |
bool | m_bDataLabelsRange |
rtl::Reference< ModifyEventForwarder > | m_xModifyEventForwarder |
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 |
Definition at line 44 of file FormattedString.hxx.
|
explicit |
|
overridevirtual |
Definition at line 88 of file FormattedString.cxx.
|
explicit |
Definition at line 78 of file FormattedString.cxx.
References m_aType.
|
overridevirtual |
Definition at line 183 of file FormattedString.cxx.
References m_xModifyEventForwarder.
|
inlineoverridevirtual |
Definition at line 66 of file FormattedString.hxx.
References cppu::OPropertySetHelper::addPropertyChangeListener().
|
inlineoverridevirtual |
Definition at line 70 of file FormattedString.hxx.
References cppu::OPropertySetHelper::addVetoableChangeListener().
|
overridevirtual |
Definition at line 92 of file FormattedString.cxx.
References FormattedString().
|
overridevirtual |
Definition at line 200 of file FormattedString.cxx.
|
private |
Definition at line 211 of file FormattedString.cxx.
References m_xModifyEventForwarder.
Referenced by firePropertyChangeEvent(), setCellRange(), setDataLabelsRange(), setFieldType(), setGuid(), and setString().
|
overrideprivatevirtual |
implement this method in derived classes to get called when properties change.
Reimplemented from property::OPropertySet.
Definition at line 206 of file FormattedString.cxx.
References fireModifyEvent().
|
overridevirtual |
Definition at line 166 of file FormattedString.cxx.
References m_aCellRange, and cppu::BaseMutex::m_aMutex.
|
overridevirtual |
Definition at line 150 of file FormattedString.cxx.
References cppu::BaseMutex::m_aMutex, and m_bDataLabelsRange.
|
overridevirtual |
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 217 of file FormattedString.cxx.
References nHandle, and chart::StaticFormattedStringDefaults().
|
overridevirtual |
Definition at line 116 of file FormattedString.cxx.
References cppu::BaseMutex::m_aMutex, and m_aType.
|
overridevirtual |
Definition at line 133 of file FormattedString.cxx.
References m_aGuid, and cppu::BaseMutex::m_aMutex.
|
overridevirtual |
declare XServiceInfo methods
Definition at line 249 of file FormattedString.cxx.
|
overridevirtual |
The InfoHelper table contains all property names and types of this object.
Implements property::OPropertySet.
Definition at line 228 of file FormattedString.cxx.
|
overridevirtual |
Definition at line 234 of file FormattedString.cxx.
References cppu::OPropertySetHelper::createPropertySetInfo().
|
inlineoverridevirtual |
Definition at line 64 of file FormattedString.hxx.
|
overridevirtual |
Definition at line 98 of file FormattedString.cxx.
References cppu::BaseMutex::m_aMutex, and m_aString.
|
overridevirtual |
Definition at line 259 of file FormattedString.cxx.
|
overridevirtual |
Definition at line 194 of file FormattedString.cxx.
References aEvent, and m_xModifyEventForwarder.
|
overridevirtual |
Definition at line 188 of file FormattedString.cxx.
References m_xModifyEventForwarder.
|
inlineoverridevirtual |
Definition at line 68 of file FormattedString.hxx.
References cppu::OPropertySetHelper::removePropertyChangeListener().
|
inlineoverridevirtual |
Definition at line 72 of file FormattedString.hxx.
References cppu::OPropertySetHelper::removeVetoableChangeListener().
|
overridevirtual |
Definition at line 172 of file FormattedString.cxx.
References fireModifyEvent(), m_aCellRange, and cppu::BaseMutex::m_aMutex.
|
overridevirtual |
Definition at line 156 of file FormattedString.cxx.
References fireModifyEvent(), cppu::BaseMutex::m_aMutex, and m_bDataLabelsRange.
|
overridevirtual |
Definition at line 123 of file FormattedString.cxx.
References fireModifyEvent(), cppu::BaseMutex::m_aMutex, and m_aType.
|
override |
Definition at line 139 of file FormattedString.cxx.
References fireModifyEvent(), m_aGuid, and cppu::BaseMutex::m_aMutex.
|
inlineoverridevirtual |
merge XInterface implementations
merge XTypeProvider implementations
Definition at line 62 of file FormattedString.hxx.
References cppu::OPropertySetHelper::setPropertyValue().
|
overridevirtual |
Definition at line 104 of file FormattedString.cxx.
References fireModifyEvent(), cppu::BaseMutex::m_aMutex, m_aString, and String.
|
overridevirtual |
Definition at line 254 of file FormattedString.cxx.
References cppu::supportsService().
|
private |
Definition at line 132 of file FormattedString.hxx.
Referenced by getCellRange(), and setCellRange().
|
private |
Definition at line 131 of file FormattedString.hxx.
|
private |
Definition at line 127 of file FormattedString.hxx.
Referenced by getString(), and setString().
|
private |
Definition at line 130 of file FormattedString.hxx.
Referenced by getFieldType(), and setFieldType().
|
private |
Definition at line 133 of file FormattedString.hxx.
Referenced by getDataLabelsRange(), and setDataLabelsRange().
|
private |
Definition at line 135 of file FormattedString.hxx.
Referenced by addModifyListener(), fireModifyEvent(), modified(), and removeModifyListener().