LibreOffice Module forms (master) 1
|
#include <parametrizedattributedispatcher.hxx>
Public Member Functions | |
OParametrizedAttributeDispatcher (EditView &_rView, AttributeId _nAttributeId, const css::util::URL &_rURL, IMultiAttributeDispatcher *_pMasterDispatcher) | |
Public Member Functions inherited from frm::OAttributeDispatcher | |
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 | ~OParametrizedAttributeDispatcher () override |
virtual void SAL_CALL | dispatch (const css::util::URL &URL, const css::uno::Sequence< css::beans::PropertyValue > &Arguments) override |
virtual void | fillFeatureEventFromAttributeState (css::frame::FeatureStateEvent &_rEvent, const AttributeState &_rState) const override |
virtual const SfxPoolItem * | convertDispatchArgsToItem (const css::uno::Sequence< css::beans::PropertyValue > &_rArguments) |
convert the arguments as got in a XDispatch::dispatch call into an SfxPoolItem, which can be used with a IMultiAttributeDispatcher::executeAttribute More... | |
Protected Member Functions inherited from frm::OAttributeDispatcher | |
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 () | |
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) |
Protected Attributes inherited from frm::OAttributeDispatcher | |
IMultiAttributeDispatcher * | m_pMasterDispatcher |
AttributeId | m_nAttributeId |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Definition at line 29 of file parametrizedattributedispatcher.hxx.
frm::OParametrizedAttributeDispatcher::OParametrizedAttributeDispatcher | ( | EditView & | _rView, |
AttributeId | _nAttributeId, | ||
const css::util::URL & | _rURL, | ||
IMultiAttributeDispatcher * | _pMasterDispatcher | ||
) |
Definition at line 42 of file parametrizedattributedispatcher.cxx.
|
overrideprotectedvirtual |
Definition at line 48 of file parametrizedattributedispatcher.cxx.
References frm::ORichTextFeatureDispatcher::dispose().
|
protectedvirtual |
convert the arguments as got in a XDispatch::dispatch call into an SfxPoolItem, which can be used with a IMultiAttributeDispatcher::executeAttribute
Reimplemented in frm::OAsianFontLayoutDispatcher.
Definition at line 92 of file parametrizedattributedispatcher.cxx.
References SfxItemSet::Count(), frm::ORichTextFeatureDispatcher::getEditView(), SfxItemSet::GetItem(), SfxItemSet::GetPool(), SfxItemPool::GetWhich(), frm::OAttributeDispatcher::m_nAttributeId, and TransformParameters().
Referenced by dispatch().
|
overrideprotectedvirtual |
Reimplemented from frm::OAttributeDispatcher.
Definition at line 114 of file parametrizedattributedispatcher.cxx.
References Complete, convertDispatchArgsToItem(), frm::IMultiAttributeDispatcher::executeAttribute(), frm::ORichTextFeatureDispatcher::getFeatureURL(), cppu::BaseMutex::m_aMutex, frm::OAttributeDispatcher::m_nAttributeId, and frm::OAttributeDispatcher::m_pMasterDispatcher.
|
overrideprotectedvirtual |
Reimplemented from frm::OAttributeDispatcher.
Definition at line 72 of file parametrizedattributedispatcher.cxx.
References frm::OAttributeDispatcher::fillFeatureEventFromAttributeState(), frm::ORichTextFeatureDispatcher::getEditView(), frm::AttributeState::getItem(), SfxItemSet::GetPool(), SfxItemPool::GetSlotId(), SfxItemSet::Put(), TransformItems(), and SfxPoolItem::Which().