LibreOffice Module chart2 (master) 1
|
#include <WrappedPropertySet.hxx>
Public Member Functions | |
WrappedPropertySet () | |
virtual | ~WrappedPropertySet () override |
void | clearWrappedPropertySet () |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override |
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | firePropertiesChangeEvent (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual css::beans::PropertyState SAL_CALL | getPropertyState (const OUString &PropertyName) override |
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL | getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override |
virtual void SAL_CALL | setPropertyToDefault (const OUString &PropertyName) override |
virtual css::uno::Any SAL_CALL | getPropertyDefault (const OUString &aPropertyName) override |
virtual void SAL_CALL | setAllPropertiesToDefault () override |
virtual void SAL_CALL | setPropertiesToDefault (const css::uno::Sequence< OUString > &aPropertyNames) override |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyDefaults (const css::uno::Sequence< OUString > &aPropertyNames) override |
Protected Member Functions | |
virtual const css::uno::Sequence< css::beans::Property > & | getPropertySequence ()=0 |
give all the properties that should be visible to the outer side More... | |
virtual std::vector< std::unique_ptr< WrappedProperty > > | createWrappedProperties ()=0 |
give a list of all properties that need a special treatment; properties that are not in this list will be wrapped identical. More... | |
virtual css::uno::Reference< css::beans::XPropertySet > | getInnerPropertySet ()=0 |
SAL_DLLPRIVATE css::uno::Reference< css::beans::XPropertyState > | getInnerPropertyState () |
::cppu::IPropertyArrayHelper & | getInfoHelper () |
SAL_DLLPRIVATE tWrappedPropertyMap & | getWrappedPropertyMap () |
const WrappedProperty * | getWrappedProperty (const OUString &rOuterName) |
const WrappedProperty * | getWrappedProperty (sal_Int32 nHandle) |
Protected Attributes | |
std::mutex | m_aMutex |
Private Attributes | |
css::uno::Reference< css::beans::XPropertySetInfo > | m_xInfo |
std::unique_ptr<::cppu::OPropertyArrayHelper > | m_pPropertyArrayHelper |
std::unique_ptr< tWrappedPropertyMap > | m_pWrappedPropertyMap |
Definition at line 39 of file WrappedPropertySet.hxx.
chart::WrappedPropertySet::WrappedPropertySet | ( | ) |
Definition at line 34 of file WrappedPropertySet.cxx.
|
overridevirtual |
Definition at line 37 of file WrappedPropertySet.cxx.
References clearWrappedPropertySet().
|
overridevirtual |
Definition at line 260 of file WrappedPropertySet.cxx.
|
overridevirtual |
Definition at line 162 of file WrappedPropertySet.cxx.
References chart::WrappedProperty::getInnerName(), getInnerPropertySet(), and getWrappedProperty().
Referenced by chart::wrapper::TitleWrapper::addPropertyChangeListener().
|
overridevirtual |
Definition at line 186 of file WrappedPropertySet.cxx.
References chart::WrappedProperty::getInnerName(), getInnerPropertySet(), and getWrappedProperty().
void chart::WrappedPropertySet::clearWrappedPropertySet | ( | ) |
Definition at line 47 of file WrappedPropertySet.cxx.
References m_pPropertyArrayHelper, m_pWrappedPropertyMap, and m_xInfo.
Referenced by ~WrappedPropertySet().
|
protectedpure virtual |
give a list of all properties that need a special treatment; properties that are not in this list will be wrapped identical.
The base class 'WrappedPropertySet' will take ownership on the contained pointer. It is not allowed to have duplicate entries in this list.
Referenced by getWrappedPropertyMap().
|
overridevirtual |
Definition at line 270 of file WrappedPropertySet.cxx.
|
protected |
Definition at line 382 of file WrappedPropertySet.cxx.
References getPropertySequence(), m_pPropertyArrayHelper, and p.
Referenced by getPropertySetInfo(), getPropertyValue(), getWrappedProperty(), getWrappedPropertyMap(), and setPropertyValue().
|
protectedpure virtual |
|
protected |
Definition at line 42 of file WrappedPropertySet.cxx.
References getInnerPropertySet().
Referenced by getPropertyDefault(), getPropertyState(), and setPropertyToDefault().
|
overridevirtual |
Definition at line 335 of file WrappedPropertySet.cxx.
References Any, getInnerPropertyState(), chart::WrappedProperty::getPropertyDefault(), and getWrappedProperty().
Referenced by chart::wrapper::DataSeriesPointWrapper::getPropertyDefault(), chart::wrapper::TitleWrapper::getPropertyDefault(), and getPropertyDefaults().
|
overridevirtual |
Definition at line 366 of file WrappedPropertySet.cxx.
References getPropertyDefault().
|
protectedpure virtual |
give all the properties that should be visible to the outer side
Referenced by getInfoHelper(), and setAllPropertiesToDefault().
|
overridevirtual |
Definition at line 58 of file WrappedPropertySet.cxx.
References cppu::OPropertySetHelper::createPropertySetInfo(), getInfoHelper(), and m_xInfo.
|
overridevirtual |
Definition at line 277 of file WrappedPropertySet.cxx.
References getInnerPropertyState(), chart::WrappedProperty::getPropertyState(), and getWrappedProperty().
Referenced by chart::wrapper::DataSeriesPointWrapper::getPropertyState(), chart::wrapper::TitleWrapper::getPropertyState(), and getPropertyStates().
|
overridevirtual |
Definition at line 307 of file WrappedPropertySet.cxx.
References getPropertyState().
|
overridevirtual |
Definition at line 122 of file WrappedPropertySet.cxx.
References Any, ex, cppu::getCaughtException(), cppu::IPropertyArrayHelper::getHandleByName(), getInfoHelper(), getInnerPropertySet(), chart::WrappedProperty::getPropertyValue(), getWrappedProperty(), nHandle, SAL_WARN, and TOOLS_WARN_EXCEPTION.
Referenced by chart::wrapper::DataSeriesPointWrapper::getPropertyState(), chart::wrapper::DataSeriesPointWrapper::getPropertyValue(), chart::wrapper::TitleWrapper::getPropertyValue(), and getPropertyValues().
|
overridevirtual |
Definition at line 234 of file WrappedPropertySet.cxx.
References DBG_UNHANDLED_EXCEPTION, and getPropertyValue().
|
protected |
Definition at line 293 of file WrappedPropertySet.cxx.
References cppu::IPropertyArrayHelper::getHandleByName(), getInfoHelper(), getWrappedProperty(), and nHandle.
Referenced by addPropertyChangeListener(), addVetoableChangeListener(), getPropertyDefault(), getPropertyState(), getPropertyValue(), getWrappedProperty(), removePropertyChangeListener(), removeVetoableChangeListener(), setPropertyToDefault(), and setPropertyValue().
|
protected |
Definition at line 299 of file WrappedPropertySet.cxx.
References end, find(), getWrappedPropertyMap(), and nHandle.
|
protected |
Definition at line 403 of file WrappedPropertySet.cxx.
References createWrappedProperties(), cppu::IPropertyArrayHelper::getHandleByName(), getInfoHelper(), m_pWrappedPropertyMap, nHandle, and p.
Referenced by getWrappedProperty().
|
overridevirtual |
Definition at line 265 of file WrappedPropertySet.cxx.
|
overridevirtual |
Definition at line 174 of file WrappedPropertySet.cxx.
References chart::WrappedProperty::getInnerName(), getInnerPropertySet(), and getWrappedProperty().
Referenced by chart::wrapper::TitleWrapper::removePropertyChangeListener().
|
overridevirtual |
Definition at line 198 of file WrappedPropertySet.cxx.
References chart::WrappedProperty::getInnerName(), getInnerPropertySet(), and getWrappedProperty().
|
overridevirtual |
Definition at line 351 of file WrappedPropertySet.cxx.
References getPropertySequence(), and setPropertyToDefault().
|
overridevirtual |
Definition at line 359 of file WrappedPropertySet.cxx.
References setPropertyToDefault().
|
overridevirtual |
Definition at line 323 of file WrappedPropertySet.cxx.
References getInnerPropertyState(), getWrappedProperty(), and chart::WrappedProperty::setPropertyToDefault().
Referenced by setAllPropertiesToDefault(), setPropertiesToDefault(), chart::wrapper::DataSeriesPointWrapper::setPropertyToDefault(), and chart::wrapper::TitleWrapper::setPropertyToDefault().
|
overridevirtual |
Definition at line 79 of file WrappedPropertySet.cxx.
References ex, cppu::getCaughtException(), cppu::IPropertyArrayHelper::getHandleByName(), getInfoHelper(), getInnerPropertySet(), getWrappedProperty(), nHandle, SAL_WARN, chart::WrappedProperty::setPropertyValue(), and TOOLS_WARN_EXCEPTION.
Referenced by chart::wrapper::DataSeriesPointWrapper::setPropertyValue(), chart::wrapper::TitleWrapper::setPropertyValue(), and setPropertyValues().
|
overridevirtual |
Definition at line 212 of file WrappedPropertySet.cxx.
References DBG_UNHANDLED_EXCEPTION, and setPropertyValue().
|
protected |
Definition at line 105 of file WrappedPropertySet.hxx.
|
private |
Definition at line 110 of file WrappedPropertySet.hxx.
Referenced by clearWrappedPropertySet(), and getInfoHelper().
|
private |
Definition at line 112 of file WrappedPropertySet.hxx.
Referenced by clearWrappedPropertySet(), and getWrappedPropertyMap().
|
private |
Definition at line 108 of file WrappedPropertySet.hxx.
Referenced by clearWrappedPropertySet(), and getPropertySetInfo().