22#include <com/sun/star/beans/PropertyAttribute.hpp>
23#include <com/sun/star/beans/PropertyValue.hpp>
43 : ::
cppu::OBroadcastHelperVar< ::
cppu::OMultiTypeInterfaceContainerHelper, ::
cppu::OMultiTypeInterfaceContainerHelper::keyType >(
m_aMutex )
47 , m_bInitialized ( false )
58 Any aRet = UIElementWrapperBase_BASE::queryInterface( _rType );
59 if ( !aRet.hasValue() )
60 aRet = OPropertySetHelper::queryInterface( _rType );
67 UIElementWrapperBase_BASE::getTypes(),
91 PropertyValue aPropValue;
92 if ( rArg >>= aPropValue )
94 if ( aPropValue.Name ==
"ResourceURL" )
96 else if ( aPropValue.Name ==
"Frame" )
98 Reference< XFrame >
xFrame;
99 aPropValue.Value >>=
xFrame;
143 const css::uno::Any& )
148 sal_Int32 nHandle )
const
172 return ourInfoHelper;
sal_Int32 removeInterface(const css::uno::Type &rKey, const css::uno::Reference< css::uno::XInterface > &rxIFace)
sal_Int32 addInterface(const css::uno::Type &rKey, const css::uno::Reference< css::uno::XInterface > &r)
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo(IPropertyArrayHelper &rProperties)
css::uno::Sequence< css::uno::Type > getTypes()
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual void SAL_CALL getFastPropertyValue(css::uno::Any &aValue, sal_Int32 nHandle) const override
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &aArguments) override
static css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor()
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
virtual sal_Bool SAL_CALL convertFastPropertyValue(css::uno::Any &aConvertedValue, css::uno::Any &aOldValue, sal_Int32 nHandle, const css::uno::Any &aValue) override
virtual ~UIElementWrapperBase() override
virtual void SAL_CALL update() override
UIElementWrapperBase(sal_Int16 nType)
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &type) override
virtual OUString SAL_CALL getResourceURL() override
comphelper::OMultiTypeInterfaceContainerHelper2 m_aListenerContainer
virtual css::uno::Reference< css::frame::XFrame > SAL_CALL getFrame() override
css::uno::WeakReference< css::frame::XFrame > m_xWeakFrame
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any &aValue) override
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
OUString m_aResourceURL
container for ALL Listener
virtual ::sal_Int16 SAL_CALL getType() override
Sequence< PropertyValue > aArguments
css::uno::Sequence< T > concatSequences(const css::uno::Sequence< T > &rS1, const Ss &... rSn)
Reference< XFrame > xFrame
constexpr OUStringLiteral UIELEMENT_PROPNAME_RESOURCEURL
constexpr OUStringLiteral UIELEMENT_PROPNAME_FRAME
const int UIELEMENT_PROPHANDLE_RESOURCEURL
const int UIELEMENT_PROPHANDLE_FRAME
constexpr OUStringLiteral UIELEMENT_PROPNAME_TYPE
const int UIELEMENT_PROPHANDLE_TYPE