LibreOffice Module forms (master) 1
|
#include <attributedispatcher.hxx>
Public Member Functions | |
OAttributeDispatcher (EditView &_rView, AttributeId _nAttributeId, const css::util::URL &_rURL, IMultiAttributeDispatcher *_pMasterDispatcher) | |
ctor More... | |
Public Member Functions inherited from frm::ORichTextFeatureDispatcher | |
void | dispose () |
clean up resources associated with this instance More... | |
void | invalidate () |
virtual void | onAttributeStateChanged (AttributeId _nAttributeId)=0 |
Protected Member Functions | |
virtual | ~OAttributeDispatcher () override |
virtual void SAL_CALL | dispatch (const css::util::URL &URL, const css::uno::Sequence< css::beans::PropertyValue > &Arguments) override |
virtual void | onAttributeStateChanged (AttributeId _nAttributeId) override |
virtual void | disposing (::osl::ClearableMutexGuard &_rClearBeforeNotify) override |
virtual css::frame::FeatureStateEvent | buildStatusEvent () const override |
virtual void | fillFeatureEventFromAttributeState (css::frame::FeatureStateEvent &_rEvent, const AttributeState &_rState) const |
Protected Member Functions inherited from frm::ORichTextFeatureDispatcher | |
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 |
Protected Member Functions inherited from frm::ITextAttributeListener | |
~ITextAttributeListener () | |
Protected Attributes | |
IMultiAttributeDispatcher * | m_pMasterDispatcher |
AttributeId | m_nAttributeId |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Additional Inherited Members | |
Static Protected Member Functions inherited from frm::ORichTextFeatureDispatcher | |
static void | doNotify (const css::uno::Reference< css::frame::XStatusListener > &_rxListener, const css::frame::FeatureStateEvent &_rEvent) |
Definition at line 29 of file attributedispatcher.hxx.
frm::OAttributeDispatcher::OAttributeDispatcher | ( | EditView & | _rView, |
AttributeId | _nAttributeId, | ||
const css::util::URL & | _rURL, | ||
IMultiAttributeDispatcher * | _pMasterDispatcher | ||
) |
ctor
_nAttributeId | the id of the attribute which this instance is responsible for |
_rURL | the URL of the feature which this instance is responsible for |
_pMasterDispatcher | the dispatcher which can execute the given attribute |
_pConverter | an instance which is able to convert between SfxPoolItems and XDispatch-Parameters If not <NULL>, the parametrized version of IMultiAttributeDispatcher::executeAttribute will be used. |
Definition at line 37 of file attributedispatcher.cxx.
References m_pMasterDispatcher.
|
overrideprotectedvirtual |
Definition at line 47 of file attributedispatcher.cxx.
References frm::ORichTextFeatureDispatcher::dispose().
|
overrideprotectedvirtual |
Reimplemented from frm::ORichTextFeatureDispatcher.
Reimplemented in frm::OParagraphDirectionDispatcher.
Definition at line 70 of file attributedispatcher.cxx.
References aEvent, frm::ORichTextFeatureDispatcher::buildStatusEvent(), fillFeatureEventFromAttributeState(), frm::ORichTextFeatureDispatcher::getEditView(), frm::IMultiAttributeDispatcher::getState(), EditView::IsReadOnly(), m_nAttributeId, and m_pMasterDispatcher.
Referenced by frm::OParagraphDirectionDispatcher::buildStatusEvent(), and onAttributeStateChanged().
|
overrideprotectedvirtual |
Reimplemented in frm::OParametrizedAttributeDispatcher.
Definition at line 85 of file attributedispatcher.cxx.
References frm::ORichTextFeatureDispatcher::checkDisposed(), Complete, frm::IMultiAttributeDispatcher::executeAttribute(), frm::ORichTextFeatureDispatcher::getFeatureURL(), cppu::BaseMutex::m_aMutex, m_nAttributeId, m_pMasterDispatcher, and SAL_WARN_IF.
|
overrideprotectedvirtual |
Reimplemented from frm::ORichTextFeatureDispatcher.
Definition at line 54 of file attributedispatcher.cxx.
References frm::ORichTextFeatureDispatcher::disposing(), and m_pMasterDispatcher.
|
protectedvirtual |
Reimplemented in frm::OParametrizedAttributeDispatcher.
Definition at line 61 of file attributedispatcher.cxx.
References frm::eChecked, frm::AttributeState::eSimpleState, and frm::eUnchecked.
Referenced by buildStatusEvent(), and frm::OParametrizedAttributeDispatcher::fillFeatureEventFromAttributeState().
|
overrideprotectedvirtual |
Implements frm::ITextAttributeListener.
Definition at line 101 of file attributedispatcher.cxx.
References aEvent, buildStatusEvent(), frm::ORichTextFeatureDispatcher::doNotify(), frm::ORichTextFeatureDispatcher::getStatusListeners(), comphelper::OInterfaceIteratorHelper3< class ListenerT >::hasMoreElements(), m_nAttributeId, and comphelper::OInterfaceIteratorHelper3< class ListenerT >::next().
|
protected |
Definition at line 34 of file attributedispatcher.hxx.
Referenced by buildStatusEvent(), frm::OParametrizedAttributeDispatcher::convertDispatchArgsToItem(), frm::OAsianFontLayoutDispatcher::convertDispatchArgsToItem(), dispatch(), frm::OParametrizedAttributeDispatcher::dispatch(), and onAttributeStateChanged().
|
protected |
Definition at line 33 of file attributedispatcher.hxx.
Referenced by buildStatusEvent(), dispatch(), frm::OParametrizedAttributeDispatcher::dispatch(), disposing(), and OAttributeDispatcher().