LibreOffice Module framework (master) 1
|
#include <uiconfigelementwrapperbase.hxx>
Public Member Functions | |
UIConfigElementWrapperBase (sal_Int16 nType) | |
virtual | ~UIConfigElementWrapperBase () override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &type) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual void SAL_CALL | dispose () override=0 |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override |
virtual void SAL_CALL | updateSettings () override=0 |
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL | getSettings (sal_Bool bWriteable) override |
virtual void SAL_CALL | setSettings (const css::uno::Reference< css::container::XIndexAccess > &UISettings) override |
virtual css::uno::Reference< css::frame::XFrame > SAL_CALL | getFrame () override |
virtual OUString SAL_CALL | getResourceURL () override |
virtual ::sal_Int16 SAL_CALL | getType () override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | getRealInterface () override=0 |
virtual void SAL_CALL | update () override |
virtual void SAL_CALL | elementInserted (const css::ui::ConfigurationEvent &Event) override |
virtual void SAL_CALL | elementRemoved (const css::ui::ConfigurationEvent &Event) override |
virtual void SAL_CALL | elementReplaced (const css::ui::ConfigurationEvent &Event) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &aEvent) override |
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 |
Protected Member Functions | |
virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &aConvertedValue, css::uno::Any &aOldValue, sal_Int32 nHandle, const css::uno::Any &aValue) override |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &aValue) override |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &aValue, sal_Int32 nHandle) const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void | impl_fillNewData () |
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 () | |
Static Protected Member Functions | |
static css::uno::Sequence< css::beans::Property > | impl_getStaticPropertyDescriptor () |
Protected Attributes | |
sal_Int16 | m_nType |
bool | m_bPersistent: 1 |
bool | m_bInitialized: 1 |
bool | m_bConfigListener: 1 |
bool | m_bConfigListening: 1 |
bool | m_bDisposed: 1 |
bool | m_bNoClose: 1 |
OUString | m_aResourceURL |
css::uno::Reference< css::ui::XUIConfigurationManager > | m_xConfigSource |
css::uno::Reference< css::container::XIndexAccess > | m_xConfigData |
css::uno::WeakReference< css::frame::XFrame > | m_xWeakFrame |
css::uno::Reference< css::awt::XMenuBar > | m_xMenuBar |
comphelper::OMultiTypeInterfaceContainerHelper2 | m_aListenerContainer |
Protected Attributes inherited from cppu::OPropertySetHelper | |
OBroadcastHelper & | rBHelper |
OMultiTypeInterfaceContainerHelperInt32 | aBoundLC |
OMultiTypeInterfaceContainerHelperInt32 | aVetoableLC |
Impl *const | m_pReserved |
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 |
Private Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Definition at line 50 of file uiconfigelementwrapperbase.hxx.
framework::UIConfigElementWrapperBase::UIConfigElementWrapperBase | ( | sal_Int16 | nType | ) |
Definition at line 58 of file uiconfigelementwrapperbase.cxx.
References nType.
|
overridevirtual |
Definition at line 72 of file uiconfigelementwrapperbase.cxx.
|
inlineoverridevirtualnoexcept |
Definition at line 63 of file uiconfigelementwrapperbase.hxx.
|
overridevirtual |
Definition at line 93 of file uiconfigelementwrapperbase.cxx.
References comphelper::OMultiTypeInterfaceContainerHelper2::addInterface(), and m_aListenerContainer.
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
Definition at line 164 of file uiconfigelementwrapperbase.cxx.
References m_aResourceURL, m_bConfigListener, m_bNoClose, m_bPersistent, m_nType, m_xConfigSource, m_xMenuBar, m_xWeakFrame, nHandle, UIELEMENT_PROPHANDLE_CONFIGLISTENER, UIELEMENT_PROPHANDLE_CONFIGSOURCE, UIELEMENT_PROPHANDLE_FRAME, UIELEMENT_PROPHANDLE_NOCLOSE, UIELEMENT_PROPHANDLE_PERSISTENT, UIELEMENT_PROPHANDLE_RESOURCEURL, UIELEMENT_PROPHANDLE_TYPE, UIELEMENT_PROPHANDLE_XMENUBAR, framework::PropHelper::willPropertyBeChanged(), and xFrame.
|
overridepure virtual |
Implemented in framework::StatusBarWrapper.
|
overridevirtual |
Definition at line 104 of file uiconfigelementwrapperbase.cxx.
References m_xConfigSource.
|
overridevirtual |
Definition at line 148 of file uiconfigelementwrapperbase.cxx.
|
overridevirtual |
Definition at line 153 of file uiconfigelementwrapperbase.cxx.
|
overridevirtual |
Definition at line 158 of file uiconfigelementwrapperbase.cxx.
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
Definition at line 336 of file uiconfigelementwrapperbase.cxx.
References m_aResourceURL, m_bConfigListener, m_bNoClose, m_bPersistent, m_nType, m_xConfigSource, m_xMenuBar, m_xWeakFrame, nHandle, UIELEMENT_PROPHANDLE_CONFIGLISTENER, UIELEMENT_PROPHANDLE_CONFIGSOURCE, UIELEMENT_PROPHANDLE_FRAME, UIELEMENT_PROPHANDLE_NOCLOSE, UIELEMENT_PROPHANDLE_PERSISTENT, UIELEMENT_PROPHANDLE_RESOURCEURL, UIELEMENT_PROPHANDLE_TYPE, UIELEMENT_PROPHANDLE_XMENUBAR, and xFrame.
|
overridevirtual |
Definition at line 460 of file uiconfigelementwrapperbase.cxx.
References m_xWeakFrame, and xFrame.
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
Definition at line 371 of file uiconfigelementwrapperbase.cxx.
References impl_getStaticPropertyDescriptor().
Referenced by getPropertySetInfo().
|
overrideprotectedvirtual |
Definition at line 381 of file uiconfigelementwrapperbase.cxx.
References cppu::OPropertySetHelper::createPropertySetInfo(), and getInfoHelper().
|
overridepure virtual |
Implemented in framework::StatusBarWrapper.
|
overridevirtual |
Definition at line 467 of file uiconfigelementwrapperbase.cxx.
References m_aResourceURL.
|
overridevirtual |
Definition at line 450 of file uiconfigelementwrapperbase.cxx.
References m_xConfigData.
|
override |
Definition at line 473 of file uiconfigelementwrapperbase.cxx.
References m_nType.
Definition at line 84 of file uiconfigelementwrapperbase.cxx.
References comphelper::concatSequences(), and cppu::OPropertySetHelper::getTypes().
|
protectedvirtual |
Definition at line 447 of file uiconfigelementwrapperbase.cxx.
Referenced by setSettings().
|
staticprotected |
Definition at line 390 of file uiconfigelementwrapperbase.cxx.
References UIELEMENT_PROPHANDLE_CONFIGLISTENER, UIELEMENT_PROPHANDLE_CONFIGSOURCE, UIELEMENT_PROPHANDLE_FRAME, UIELEMENT_PROPHANDLE_NOCLOSE, UIELEMENT_PROPHANDLE_PERSISTENT, UIELEMENT_PROPHANDLE_RESOURCEURL, UIELEMENT_PROPHANDLE_TYPE, UIELEMENT_PROPHANDLE_XMENUBAR, UIELEMENT_PROPNAME_CONFIGLISTENER, UIELEMENT_PROPNAME_CONFIGSOURCE, UIELEMENT_PROPNAME_FRAME, UIELEMENT_PROPNAME_NOCLOSE, UIELEMENT_PROPNAME_PERSISTENT, UIELEMENT_PROPNAME_RESOURCEURL, UIELEMENT_PROPNAME_TYPE, and UIELEMENT_PROPNAME_XMENUBAR.
Referenced by getInfoHelper().
|
overridevirtual |
Reimplemented in framework::StatusBarWrapper.
Definition at line 110 of file uiconfigelementwrapperbase.cxx.
References aArguments, Any, m_bInitialized, setFastPropertyValue_NoBroadcast(), UIELEMENT_PROPHANDLE_CONFIGLISTENER, UIELEMENT_PROPHANDLE_CONFIGSOURCE, UIELEMENT_PROPHANDLE_FRAME, UIELEMENT_PROPHANDLE_NOCLOSE, UIELEMENT_PROPHANDLE_PERSISTENT, UIELEMENT_PROPHANDLE_RESOURCEURL, UIELEMENT_PROPHANDLE_TYPE, UIELEMENT_PROPNAME_CONFIGLISTENER, UIELEMENT_PROPNAME_CONFIGSOURCE, UIELEMENT_PROPNAME_FRAME, UIELEMENT_PROPNAME_NOCLOSE, UIELEMENT_PROPNAME_PERSISTENT, UIELEMENT_PROPNAME_RESOURCEURL, and UIELEMENT_PROPNAME_TYPE.
Referenced by framework::MenuBarWrapper::initialize(), framework::StatusBarWrapper::initialize(), and framework::ToolBarWrapper::initialize().
|
overridevirtual |
Reimplemented from cppu::OPropertySetHelper.
Definition at line 76 of file uiconfigelementwrapperbase.cxx.
References Any.
|
inlineoverridevirtualnoexcept |
Definition at line 65 of file uiconfigelementwrapperbase.hxx.
|
overridevirtual |
Definition at line 98 of file uiconfigelementwrapperbase.cxx.
References m_aListenerContainer, and comphelper::OMultiTypeInterfaceContainerHelper2::removeInterface().
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
Definition at line 247 of file uiconfigelementwrapperbase.cxx.
References Exception, m_aResourceURL, m_bConfigListener, m_bConfigListening, m_bNoClose, m_bPersistent, m_nType, m_xConfigSource, m_xMenuBar, m_xWeakFrame, nHandle, UIELEMENT_PROPHANDLE_CONFIGLISTENER, UIELEMENT_PROPHANDLE_CONFIGSOURCE, UIELEMENT_PROPHANDLE_FRAME, UIELEMENT_PROPHANDLE_NOCLOSE, UIELEMENT_PROPHANDLE_PERSISTENT, UIELEMENT_PROPHANDLE_RESOURCEURL, UIELEMENT_PROPHANDLE_TYPE, UIELEMENT_PROPHANDLE_XMENUBAR, and xFrame.
Referenced by initialize(), and framework::ToolBarWrapper::setFastPropertyValue_NoBroadcast().
|
overridevirtual |
Definition at line 412 of file uiconfigelementwrapperbase.cxx.
References impl_fillNewData(), m_aResourceURL, m_bPersistent, m_xConfigData, and m_xConfigSource.
|
overridevirtual |
Definition at line 143 of file uiconfigelementwrapperbase.cxx.
|
overridepure virtual |
Implemented in framework::StatusBarWrapper.
|
protected |
Definition at line 136 of file uiconfigelementwrapperbase.hxx.
Referenced by addEventListener(), framework::StatusBarWrapper::dispose(), and removeEventListener().
|
protected |
Definition at line 131 of file uiconfigelementwrapperbase.hxx.
Referenced by convertFastPropertyValue(), getFastPropertyValue(), getResourceURL(), framework::StatusBarWrapper::initialize(), setFastPropertyValue_NoBroadcast(), setSettings(), and framework::StatusBarWrapper::updateSettings().
|
protected |
Definition at line 127 of file uiconfigelementwrapperbase.hxx.
Referenced by convertFastPropertyValue(), getFastPropertyValue(), and setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 128 of file uiconfigelementwrapperbase.hxx.
Referenced by setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 129 of file uiconfigelementwrapperbase.hxx.
Referenced by framework::StatusBarWrapper::dispose(), framework::StatusBarWrapper::initialize(), and framework::StatusBarWrapper::updateSettings().
|
protected |
Definition at line 126 of file uiconfigelementwrapperbase.hxx.
Referenced by initialize(), and framework::StatusBarWrapper::initialize().
|
protected |
Definition at line 130 of file uiconfigelementwrapperbase.hxx.
Referenced by convertFastPropertyValue(), getFastPropertyValue(), and setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 125 of file uiconfigelementwrapperbase.hxx.
Referenced by convertFastPropertyValue(), getFastPropertyValue(), setFastPropertyValue_NoBroadcast(), setSettings(), and framework::StatusBarWrapper::updateSettings().
|
protected |
Definition at line 124 of file uiconfigelementwrapperbase.hxx.
Referenced by convertFastPropertyValue(), getFastPropertyValue(), getType(), and setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 133 of file uiconfigelementwrapperbase.hxx.
Referenced by framework::StatusBarWrapper::dispose(), getSettings(), framework::StatusBarWrapper::initialize(), setSettings(), and framework::StatusBarWrapper::updateSettings().
|
protected |
Definition at line 132 of file uiconfigelementwrapperbase.hxx.
Referenced by convertFastPropertyValue(), framework::StatusBarWrapper::dispose(), disposing(), getFastPropertyValue(), framework::StatusBarWrapper::initialize(), setFastPropertyValue_NoBroadcast(), setSettings(), and framework::StatusBarWrapper::updateSettings().
|
protected |
Definition at line 135 of file uiconfigelementwrapperbase.hxx.
Referenced by convertFastPropertyValue(), getFastPropertyValue(), and setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 134 of file uiconfigelementwrapperbase.hxx.
Referenced by convertFastPropertyValue(), getFastPropertyValue(), getFrame(), framework::StatusBarWrapper::initialize(), and setFastPropertyValue_NoBroadcast().