LibreOffice Module forms (master) 1
|
#include <featuredispatcher.hxx>
Public Member Functions | |
void | dispose () |
clean up resources associated with this instance More... | |
void | invalidate () |
Protected Member Functions | |
EditView * | getEditView () |
const EditView * | getEditView () const |
const css::util::URL & | getFeatureURL () const |
::comphelper::OInterfaceContainerHelper3< css::frame::XStatusListener > & | getStatusListeners () |
bool | isDisposed () const |
void | checkDisposed () const |
ORichTextFeatureDispatcher (EditView &_rView, css::util::URL _aURL) | |
virtual | ~ORichTextFeatureDispatcher () override |
virtual void | disposing (::osl::ClearableMutexGuard &_rClearBeforeNotify) |
virtual void | invalidateFeatureState_Broadcast () |
virtual css::frame::FeatureStateEvent | buildStatusEvent () const |
virtual void SAL_CALL | addStatusListener (const css::uno::Reference< css::frame::XStatusListener > &_rxControl, const css::util::URL &_rURL) override |
virtual void SAL_CALL | removeStatusListener (const css::uno::Reference< css::frame::XStatusListener > &_rxControl, const css::util::URL &_rURL) override |
Static Protected Member Functions | |
static void | doNotify (const css::uno::Reference< css::frame::XStatusListener > &_rxListener, const css::frame::FeatureStateEvent &_rEvent) |
Private Attributes | |
css::util::URL | m_aFeatureURL |
::comphelper::OInterfaceContainerHelper3< css::frame::XStatusListener > | m_aStatusListeners |
EditView * | m_pEditView |
bool | m_bDisposed |
Additional Inherited Members | |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Definition at line 36 of file richtext/featuredispatcher.hxx.
|
protected |
Definition at line 36 of file featuredispatcher.cxx.
References m_aMutex, and m_bDisposed.
|
overrideprotectedvirtual |
Definition at line 45 of file featuredispatcher.cxx.
References dispose(), and m_bDisposed.
|
overrideprotectedvirtual |
Definition at line 72 of file featuredispatcher.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::addInterface(), buildStatusEvent(), Complete, doNotify(), getFeatureURL(), m_aStatusListeners, and m_bDisposed.
|
protectedvirtual |
Reimplemented in frm::OAttributeDispatcher, frm::OClipboardDispatcher, frm::OSelectAllDispatcher, frm::OParagraphDirectionDispatcher, and frm::OTextDirectionDispatcher.
Definition at line 100 of file featuredispatcher.cxx.
References aEvent, and getFeatureURL().
Referenced by addStatusListener(), frm::OAttributeDispatcher::buildStatusEvent(), frm::OClipboardDispatcher::buildStatusEvent(), frm::OSelectAllDispatcher::buildStatusEvent(), frm::OTextDirectionDispatcher::buildStatusEvent(), and invalidateFeatureState_Broadcast().
|
inlineprotected |
Definition at line 53 of file richtext/featuredispatcher.hxx.
References isDisposed().
Referenced by frm::OAttributeDispatcher::dispatch(), frm::OSelectAllDispatcher::dispatch(), and frm::OTextDirectionDispatcher::dispatch().
void frm::ORichTextFeatureDispatcher::dispose | ( | void | ) |
clean up resources associated with this instance
Definition at line 55 of file featuredispatcher.cxx.
References aEvent, comphelper::OInterfaceContainerHelper3< class ListenerT >::disposeAndClear(), disposing(), cppu::BaseMutex::m_aMutex, m_aStatusListeners, and m_bDisposed.
Referenced by frm::OAttributeDispatcher::~OAttributeDispatcher(), frm::OParametrizedAttributeDispatcher::~OParametrizedAttributeDispatcher(), frm::OPasteClipboardDispatcher::~OPasteClipboardDispatcher(), ~ORichTextFeatureDispatcher(), and frm::OSelectAllDispatcher::~OSelectAllDispatcher().
|
protectedvirtual |
Reimplemented in frm::OAttributeDispatcher, and frm::OPasteClipboardDispatcher.
Definition at line 66 of file featuredispatcher.cxx.
References m_pEditView.
Referenced by dispose(), frm::OAttributeDispatcher::disposing(), and frm::OPasteClipboardDispatcher::disposing().
|
staticprotected |
Definition at line 120 of file featuredispatcher.cxx.
References Exception, and TOOLS_WARN_EXCEPTION.
Referenced by addStatusListener(), invalidateFeatureState_Broadcast(), and frm::OAttributeDispatcher::onAttributeStateChanged().
|
inlineprotected |
Definition at line 46 of file richtext/featuredispatcher.hxx.
References m_pEditView.
Referenced by frm::OAttributeDispatcher::buildStatusEvent(), frm::OParagraphDirectionDispatcher::buildStatusEvent(), frm::OTextDirectionDispatcher::buildStatusEvent(), frm::OParametrizedAttributeDispatcher::convertDispatchArgsToItem(), frm::OClipboardDispatcher::dispatch(), frm::OSelectAllDispatcher::dispatch(), frm::OTextDirectionDispatcher::dispatch(), frm::OPasteClipboardDispatcher::disposing(), frm::OParametrizedAttributeDispatcher::fillFeatureEventFromAttributeState(), and frm::OClipboardDispatcher::implIsEnabled().
|
inlineprotected |
Definition at line 47 of file richtext/featuredispatcher.hxx.
References m_pEditView.
|
inlineprotected |
Definition at line 50 of file richtext/featuredispatcher.hxx.
References m_aFeatureURL.
Referenced by addStatusListener(), buildStatusEvent(), frm::OAttributeDispatcher::dispatch(), frm::OParametrizedAttributeDispatcher::dispatch(), frm::OSelectAllDispatcher::dispatch(), and frm::OTextDirectionDispatcher::dispatch().
|
inlineprotected |
Definition at line 51 of file richtext/featuredispatcher.hxx.
References m_aStatusListeners.
Referenced by invalidateFeatureState_Broadcast(), and frm::OAttributeDispatcher::onAttributeStateChanged().
void frm::ORichTextFeatureDispatcher::invalidate | ( | ) |
Definition at line 94 of file featuredispatcher.cxx.
References invalidateFeatureState_Broadcast().
|
protectedvirtual |
Reimplemented in frm::OClipboardDispatcher.
Definition at line 111 of file featuredispatcher.cxx.
References aEvent, buildStatusEvent(), doNotify(), getStatusListeners(), comphelper::OInterfaceIteratorHelper3< class ListenerT >::hasMoreElements(), and comphelper::OInterfaceIteratorHelper3< class ListenerT >::next().
Referenced by invalidate(), and frm::OClipboardDispatcher::invalidateFeatureState_Broadcast().
|
inlineprotected |
Definition at line 52 of file richtext/featuredispatcher.hxx.
References m_bDisposed.
Referenced by checkDisposed(), frm::OPasteClipboardDispatcher::~OPasteClipboardDispatcher(), and frm::OSelectAllDispatcher::~OSelectAllDispatcher().
|
overrideprotectedvirtual |
Definition at line 88 of file featuredispatcher.cxx.
References m_aStatusListeners, and comphelper::OInterfaceContainerHelper3< class ListenerT >::removeInterface().
|
private |
Definition at line 40 of file richtext/featuredispatcher.hxx.
Referenced by getFeatureURL().
|
private |
Definition at line 41 of file richtext/featuredispatcher.hxx.
Referenced by addStatusListener(), dispose(), getStatusListeners(), and removeStatusListener().
|
private |
Definition at line 43 of file richtext/featuredispatcher.hxx.
Referenced by addStatusListener(), dispose(), isDisposed(), and ~ORichTextFeatureDispatcher().
|
private |
Definition at line 42 of file richtext/featuredispatcher.hxx.
Referenced by disposing(), and getEditView().