37 if (!aReturn.hasValue())
38 aReturn = ::cppu::queryInterface(_rType,
39 static_cast< css::frame::XStatusListener*
>(
this),
40 static_cast< css::lang::XEventListener*
>(
static_cast< css::frame::XStatusListener*
>(
this))
67 if (!aReturn.hasValue())
68 aReturn = ::cppu::queryInterface(_rType,
69 static_cast< css::form::XLoadListener*
>(
this),
70 static_cast< css::lang::XEventListener*
>(
static_cast< css::form::XLoadListener*
>(
this))
81 css::lang::EventObject aMulti(e);
87 css::lang::EventObject aMulti(e);
89 notifyEach( &XLoadListener::unloaded, aMulti );
94 css::lang::EventObject aMulti(e);
96 notifyEach( &XLoadListener::unloading, aMulti );
101 css::lang::EventObject aMulti(e);
103 notifyEach( &XLoadListener::reloading, aMulti );
108 css::lang::EventObject aMulti(e);
110 notifyEach( &XLoadListener::reloaded, aMulti );
124 if (!aReturn.hasValue())
125 aReturn = ::cppu::queryInterface(_rType,
126 static_cast< css::sdbc::XRowSetListener*
>(
this),
127 static_cast< css::lang::XEventListener*
>(
static_cast< css::sdbc::XRowSetListener*
>(
this))
138 css::lang::EventObject aMulti(e);
140 notifyEach( &XRowSetListener::cursorMoved, aMulti );
145 css::lang::EventObject aMulti(e);
147 notifyEach( &XRowSetListener::rowChanged, aMulti );
152 css::lang::EventObject aMulti(e);
154 notifyEach( &XRowSetListener::rowSetChanged, aMulti );
167 if (!aReturn.hasValue())
168 aReturn = ::cppu::queryInterface(_rType,
169 static_cast< css::sdb::XRowSetApproveListener*
>(
this),
170 static_cast< css::lang::XEventListener*
>(
static_cast< css::sdb::XRowSetApproveListener*
>(
this))
181 css::lang::EventObject aMulti(e);
186 bResult = aIt.
next()->approveCursorMove(aMulti);
192 css::sdb::RowChangeEvent aMulti(e);
197 bResult = aIt.
next()->approveRowChange(aMulti);
203 css::lang::EventObject aMulti(e);
208 bResult = aIt.
next()->approveRowSetChange(aMulti);
222 if (!aReturn.hasValue())
223 aReturn = ::cppu::queryInterface(_rType,
224 static_cast< css::sdb::XSQLErrorListener*
>(
this),
225 static_cast< css::lang::XEventListener*
>(
static_cast< css::sdb::XSQLErrorListener*
>(
this))
236 css::sdb::SQLErrorEvent aMulti(e);
238 notifyEach( &XSQLErrorListener::errorOccured, aMulti );
251 if (!aReturn.hasValue())
252 aReturn = ::cppu::queryInterface(_rType,
253 static_cast< css::form::XDatabaseParameterListener*
>(
this),
254 static_cast< css::lang::XEventListener*
>(
static_cast< css::form::XDatabaseParameterListener*
>(
this))
265 css::form::DatabaseParameterEvent aMulti(e);
270 bResult = aIt.
next()->approveParameter(aMulti);
284 if (!aReturn.hasValue())
285 aReturn = ::cppu::queryInterface(_rType,
286 static_cast< css::form::XSubmitListener*
>(
this),
287 static_cast< css::lang::XEventListener*
>(
static_cast< css::form::XSubmitListener*
>(
this))
300 css::lang::EventObject aMulti(e);
305 bResult = aIt.
next()->approveSubmit(aMulti);
319 if (!aReturn.hasValue())
320 aReturn = ::cppu::queryInterface(_rType,
321 static_cast< css::form::XResetListener*
>(
this),
322 static_cast< css::lang::XEventListener*
>(
static_cast< css::form::XResetListener*
>(
this))
334 css::lang::EventObject aMulti(e);
339 bResult = aIt.
next()->approveReset(aMulti);
345 css::lang::EventObject aMulti(e);
347 notifyEach( &XResetListener::resetted, aMulti );
360 if (!aReturn.hasValue())
361 aReturn = ::cppu::queryInterface(_rType,
362 static_cast< css::beans::XPropertyChangeListener*
>(
this),
363 static_cast< css::lang::XEventListener*
>(
static_cast< css::beans::XPropertyChangeListener*
>(
this))
384 const css::uno::Reference< css::beans::XPropertyChangeListener > & rListener)
390 const css::uno::Reference< css::beans::XPropertyChangeListener > & rListener)
405 for ( OUString
const & s : aContained)
417 css::beans::PropertyChangeEvent aMulti(e);
419 rListeners.
notifyEach( &XPropertyChangeListener::propertyChange, aMulti );
432 if (!aReturn.hasValue())
433 aReturn = ::cppu::queryInterface(_rType,
434 static_cast< css::beans::XVetoableChangeListener*
>(
this),
435 static_cast< css::lang::XEventListener*
>(
static_cast< css::beans::XVetoableChangeListener*
>(
this))
456 const css::uno::Reference< css::beans::XVetoableChangeListener > & rListener)
462 const css::uno::Reference< css::beans::XVetoableChangeListener > & rListener)
477 for ( OUString
const & s : aContained)
489 css::beans::PropertyChangeEvent aMulti(e);
491 rListeners.
notifyEach( &XVetoableChangeListener::vetoableChange, aMulti );
504 if (!aReturn.hasValue())
505 aReturn = ::cppu::queryInterface(_rType,
506 static_cast< css::beans::XPropertiesChangeListener*
>(
this),
507 static_cast< css::lang::XEventListener*
>(
static_cast< css::beans::XPropertiesChangeListener*
>(
this))
521 css::uno::Sequence< css::beans::PropertyChangeEvent> aMulti(aEvts);
522 for (css::beans::PropertyChangeEvent & rEvent : asNonConstRange(aMulti))
525 notifyEach( &css::beans::XPropertiesChangeListener::propertiesChange, aMulti );
sal_Int32 getLength() const
void notifyEach(void(SAL_CALL ListenerT::*NotificationMethod)(const EventT &), const EventT &Event)
bool hasMoreElements() const
css::uno::Reference< ListenerT > const & next()
sal_Int32 addInterface(const key &rKey, const css::uno::Reference< listener > &rListener)
std::vector< key > getContainedTypes() const
sal_Int32 removeInterface(const key &rKey, const css::uno::Reference< listener > &rListener)
void disposeAndClear(const css::lang::EventObject &rEvt)
OInterfaceContainerHelper3< listener > * getContainer(const key &rKey) const
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) SAL_OVERRIDE
::cppu::OWeakObject & m_rParent
virtual void SAL_CALL unloading(const css::lang::EventObject &e) override
virtual void SAL_CALL loaded(const css::lang::EventObject &e) override
virtual void SAL_CALL reloading(const css::lang::EventObject &e) override
SbaXLoadMultiplexer(::cppu::OWeakObject &rSource, ::osl::Mutex &rMutex)
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
virtual void SAL_CALL reloaded(const css::lang::EventObject &e) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &_rType) override
virtual void SAL_CALL unloaded(const css::lang::EventObject &e) override
SbaXParameterMultiplexer(::cppu::OWeakObject &rSource, ::osl::Mutex &rMutex)
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
virtual sal_Bool SAL_CALL approveParameter(const css::form::DatabaseParameterEvent &e) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &_rType) override
SbaXPropertiesChangeMultiplexer(::cppu::OWeakObject &rSource, ::osl::Mutex &rMutex)
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
virtual void SAL_CALL propertiesChange(const css::uno::Sequence< css::beans::PropertyChangeEvent > &e) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &_rType) override
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
void removeInterface(const OUString &rName, const css::uno::Reference< css::beans::XPropertyChangeListener > &rListener)
sal_Int32 getOverallLen() const
SbaXPropertyChangeMultiplexer(::cppu::OWeakObject &rSource, ::osl::Mutex &rMutex)
void Notify(::comphelper::OInterfaceContainerHelper3< css::beans::XPropertyChangeListener > &rListeners, const css::beans::PropertyChangeEvent &e)
void addInterface(const OUString &rName, const css::uno::Reference< css::beans::XPropertyChangeListener > &rListener)
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &_rType) override
virtual void SAL_CALL propertyChange(const css::beans::PropertyChangeEvent &e) override
ListenerContainerMap m_aListeners
virtual sal_Bool SAL_CALL approveReset(const css::lang::EventObject &e) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &_rType) override
SbaXResetMultiplexer(::cppu::OWeakObject &rSource, ::osl::Mutex &rMutex)
virtual void SAL_CALL resetted(const css::lang::EventObject &e) override
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
SbaXRowSetApproveMultiplexer(::cppu::OWeakObject &rSource, ::osl::Mutex &rMutex)
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &_rType) override
virtual sal_Bool SAL_CALL approveCursorMove(const css::lang::EventObject &e) override
virtual sal_Bool SAL_CALL approveRowChange(const css::sdb::RowChangeEvent &e) override
virtual sal_Bool SAL_CALL approveRowSetChange(const css::lang::EventObject &e) override
virtual void SAL_CALL cursorMoved(const css::lang::EventObject &e) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &_rType) override
SbaXRowSetMultiplexer(::cppu::OWeakObject &rSource, ::osl::Mutex &rMutex)
virtual void SAL_CALL rowChanged(const css::lang::EventObject &e) override
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
virtual void SAL_CALL rowSetChanged(const css::lang::EventObject &e) override
virtual void SAL_CALL errorOccured(const css::sdb::SQLErrorEvent &e) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &_rType) override
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
SbaXSQLErrorMultiplexer(::cppu::OWeakObject &rSource, ::osl::Mutex &rMutex)
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
virtual void SAL_CALL statusChanged(const css::frame::FeatureStateEvent &e) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &_rType) override
css::frame::FeatureStateEvent m_aLastKnownStatus
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
SbaXSubmitMultiplexer(::cppu::OWeakObject &rSource, ::osl::Mutex &rMutex)
virtual sal_Bool SAL_CALL approveSubmit(const css::lang::EventObject &e) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &_rType) override
void removeInterface(const OUString &rName, const css::uno::Reference< css::beans::XVetoableChangeListener > &rListener)
sal_Int32 getOverallLen() const
void addInterface(const OUString &rName, const css::uno::Reference< css::beans::XVetoableChangeListener > &rListener)
SbaXVetoableChangeMultiplexer(::cppu::OWeakObject &rSource, ::osl::Mutex &rMutex)
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
ListenerContainerMap m_aListeners
void Notify(::comphelper::OInterfaceContainerHelper3< css::beans::XVetoableChangeListener > &rListeners, const css::beans::PropertyChangeEvent &e)
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &_rType) override
virtual void SAL_CALL vetoableChange(const css::beans::PropertyChangeEvent &e) override
std::vector< Reference< css::datatransfer::clipboard::XClipboardListener > > m_aListeners