LibreOffice Module framework (master) 1
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
framework::UIElementWrapperBase Class Referenceabstract

#include <uielementwrapperbase.hxx>

Inheritance diagram for framework::UIElementWrapperBase:
[legend]
Collaboration diagram for framework::UIElementWrapperBase:
[legend]

Public Member Functions

 UIElementWrapperBase (sal_Int16 nType)
 
virtual ~UIElementWrapperBase () 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 update () 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
 
- 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
 
- 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

comphelper::OMultiTypeInterfaceContainerHelper2 m_aListenerContainer
 
OUString m_aResourceURL
 container for ALL Listener More...
 
css::uno::WeakReference< css::frame::XFrame > m_xWeakFrame
 
sal_Int16 m_nType
 
bool m_bInitialized: 1
 
bool m_bDisposed
 
- Protected Attributes inherited from cppu::OPropertySetHelper
OBroadcastHelperrBHelper
 
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
 

Detailed Description

Definition at line 44 of file uielementwrapperbase.hxx.

Constructor & Destructor Documentation

◆ UIElementWrapperBase()

framework::UIElementWrapperBase::UIElementWrapperBase ( sal_Int16  nType)

Definition at line 42 of file uielementwrapperbase.cxx.

References nType.

◆ ~UIElementWrapperBase()

framework::UIElementWrapperBase::~UIElementWrapperBase ( )
overridevirtual

Definition at line 52 of file uielementwrapperbase.cxx.

Member Function Documentation

◆ acquire()

virtual void SAL_CALL framework::UIElementWrapperBase::acquire ( )
inlineoverridevirtualnoexcept

Definition at line 57 of file uielementwrapperbase.hxx.

◆ addEventListener()

void SAL_CALL framework::UIElementWrapperBase::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

◆ convertFastPropertyValue()

sal_Bool SAL_CALL framework::UIElementWrapperBase::convertFastPropertyValue ( css::uno::Any &  aConvertedValue,
css::uno::Any &  aOldValue,
sal_Int32  nHandle,
const css::uno::Any &  aValue 
)
overrideprotectedvirtual

Implements cppu::OPropertySetHelper.

Definition at line 132 of file uielementwrapperbase.cxx.

◆ dispose()

virtual void SAL_CALL framework::UIElementWrapperBase::dispose ( )
overridepure virtual

◆ getFastPropertyValue()

void SAL_CALL framework::UIElementWrapperBase::getFastPropertyValue ( css::uno::Any &  aValue,
sal_Int32  nHandle 
) const
overrideprotectedvirtual

◆ getFrame()

css::uno::Reference< css::frame::XFrame > SAL_CALL framework::UIElementWrapperBase::getFrame ( )
overridevirtual

Definition at line 109 of file uielementwrapperbase.cxx.

References m_xWeakFrame, and xFrame.

◆ getInfoHelper()

cppu::IPropertyArrayHelper &SAL_CALL framework::UIElementWrapperBase::getInfoHelper ( )
overrideprotectedvirtual

Implements cppu::OPropertySetHelper.

Definition at line 165 of file uielementwrapperbase.cxx.

References impl_getStaticPropertyDescriptor().

Referenced by getPropertySetInfo().

◆ getPropertySetInfo()

css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL framework::UIElementWrapperBase::getPropertySetInfo ( )
overrideprotectedvirtual

◆ getRealInterface()

virtual css::uno::Reference< css::uno::XInterface > SAL_CALL framework::UIElementWrapperBase::getRealInterface ( )
overridepure virtual

◆ getResourceURL()

OUString SAL_CALL framework::UIElementWrapperBase::getResourceURL ( )
overridevirtual

Definition at line 115 of file uielementwrapperbase.cxx.

References m_aResourceURL.

◆ getType()

sal_Int16 SAL_CALL framework::UIElementWrapperBase::getType ( )
override

Definition at line 120 of file uielementwrapperbase.cxx.

References m_nType.

◆ getTypes()

Sequence< Type > SAL_CALL framework::UIElementWrapperBase::getTypes ( )
overridevirtual

◆ impl_getStaticPropertyDescriptor()

css::uno::Sequence< css::beans::Property > framework::UIElementWrapperBase::impl_getStaticPropertyDescriptor ( )
staticprotected

◆ initialize()

void SAL_CALL framework::UIElementWrapperBase::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual

◆ queryInterface()

Any SAL_CALL framework::UIElementWrapperBase::queryInterface ( const css::uno::Type &  type)
overridevirtual

Reimplemented from cppu::OPropertySetHelper.

Definition at line 56 of file uielementwrapperbase.cxx.

References Any.

◆ release()

virtual void SAL_CALL framework::UIElementWrapperBase::release ( )
inlineoverridevirtualnoexcept

Definition at line 59 of file uielementwrapperbase.hxx.

◆ removeEventListener()

void SAL_CALL framework::UIElementWrapperBase::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

◆ setFastPropertyValue_NoBroadcast()

void SAL_CALL framework::UIElementWrapperBase::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const css::uno::Any &  aValue 
)
overrideprotectedvirtual

Implements cppu::OPropertySetHelper.

Definition at line 142 of file uielementwrapperbase.cxx.

◆ update()

void SAL_CALL framework::UIElementWrapperBase::update ( )
overridevirtual

Reimplemented in framework::ProgressBarWrapper.

Definition at line 126 of file uielementwrapperbase.cxx.

Member Data Documentation

◆ m_aListenerContainer

comphelper::OMultiTypeInterfaceContainerHelper2 framework::UIElementWrapperBase::m_aListenerContainer
protected

◆ m_aResourceURL

OUString framework::UIElementWrapperBase::m_aResourceURL
protected

container for ALL Listener

Definition at line 103 of file uielementwrapperbase.hxx.

Referenced by getFastPropertyValue(), getResourceURL(), initialize(), and framework::AddonsToolBarWrapper::initialize().

◆ m_bDisposed

bool framework::UIElementWrapperBase::m_bDisposed
protected

◆ m_bInitialized

bool framework::UIElementWrapperBase::m_bInitialized
protected

◆ m_nType

sal_Int16 framework::UIElementWrapperBase::m_nType
protected

Definition at line 105 of file uielementwrapperbase.hxx.

Referenced by getFastPropertyValue(), and getType().

◆ m_xWeakFrame

css::uno::WeakReference< css::frame::XFrame > framework::UIElementWrapperBase::m_xWeakFrame
protected

The documentation for this class was generated from the following files: