LibreOffice Module sfx2 (master) 1
|
#include <msg.hxx>
Public Member Functions | |
template<size_t N> | |
SfxSlot (sal_uInt16 sId, SfxGroupId gId, SfxSlotMode flags, sal_uInt16 masterSlotId, sal_uInt16 value, SfxExecFunc exec, SfxStateFunc state, const SfxType *type, const SfxSlot *nextSlot, const SfxFormalArgument *firstArgDef, sal_uInt16 argDefCount, SfxDisableFlags disableFlags, const char(&literal)[N]) | |
SfxSlotKind | GetKind () const |
sal_uInt16 | GetSlotId () const |
SfxSlotMode | GetMode () const |
bool | IsMode (SfxSlotMode nMode) const |
SfxGroupId | GetGroupId () const |
sal_uInt16 | GetWhich (const SfxItemPool &rPool) const |
const SfxType * | GetType () const |
const OUString & | GetUnoName () const |
SFX2_DLLPUBLIC OUString | GetCommand () const |
sal_uInt16 | GetFormalArgumentCount () const |
const SfxFormalArgument & | GetFormalArgument (sal_uInt16 nNo) const |
SfxExecFunc | GetExecFnc () const |
SfxStateFunc | GetStateFnc () const |
const SfxSlot * | GetNextSlot () const |
Public Attributes | |
sal_uInt16 | nSlotId |
SfxGroupId | nGroupId |
SfxSlotMode | nFlags |
sal_uInt16 | nMasterSlotId |
sal_uInt16 | nValue |
SfxExecFunc | fnExec |
SfxStateFunc | fnState |
const SfxType * | pType |
const SfxSlot * | pNextSlot |
const SfxFormalArgument * | pFirstArgDef |
sal_uInt16 | nArgDefCount |
SfxDisableFlags | nDisableFlags |
OUString | pUnoName |
|
inline |
OUString SfxSlot::GetCommand | ( | ) | const |
Definition at line 46 of file msg.cxx.
References pUnoName.
Referenced by ConvertSlotsToCommands(), SfxBaseController::getConfigurableDispatchInformation(), SfxRequest_Impl::Record(), SfxDispatchController_Impl::SfxDispatchController_Impl(), and SfxStatusBarControllerFactory().
|
inline |
Definition at line 244 of file msg.hxx.
References fnExec.
Referenced by SfxDispatcher::Call_Impl(), and SfxShell::ExecuteSlot().
|
inline |
Definition at line 241 of file msg.hxx.
References pFirstArgDef.
Referenced by TransformItems(), and TransformParameters().
|
inline |
|
inline |
Definition at line 276 of file msg.hxx.
References nGroupId.
Referenced by SfxBaseController::getConfigurableDispatchInformation(), SfxBaseController::getSupportedCommandGroups(), SfxSlotPool::NextSlot(), SfxSlotPool::RegisterInterface(), and SfxSlotPool::SeekSlot().
SfxSlotKind SfxSlot::GetKind | ( | ) | const |
Definition at line 25 of file msg.cxx.
References Attribute, fnExec, fnState, nMasterSlotId, nValue, and Standard.
Referenced by SfxBindings::Execute_Impl().
|
inline |
Definition at line 260 of file msg.hxx.
References nFlags.
Referenced by SfxBaseController::getConfigurableDispatchInformation(), and SfxBaseController::getSupportedCommandGroups().
|
inline |
Definition at line 247 of file msg.hxx.
References pNextSlot.
Referenced by SfxBindings::CreateSet_Impl(), and SfxInterface::SetSlotMap().
|
inline |
Definition at line 253 of file msg.hxx.
References nSlotId.
Referenced by MenuContentHandler::addCommandIfPossible(), SfxDispatcher::Call_Impl(), SfxBindings::CreateSet_Impl(), SfxBindings::Execute_Impl(), SfxShell::Invalidate_Impl(), SfxInterface::SetSlotMap(), SfxCompareSlots_qsort(), SfxDispatchController_Impl::SfxDispatchController_Impl(), SfxStatusBarControllerFactory(), SfxToolBoxControllerFactory(), SfxStatusBarControl::statusChanged(), SfxToolBoxControl::statusChanged(), TransformItems(), and SfxBindings::UpdateControllers_Impl().
|
inline |
Definition at line 245 of file msg.hxx.
References fnState.
Referenced by SfxShell::CanExecuteSlot_Impl(), SfxBindings::CreateSet_Impl(), SfxBindings::Execute_Impl(), SfxDispatcher::FillState_(), SfxShell::GetSlotState(), and SfxInterface::SetSlotMap().
|
inline |
Definition at line 236 of file msg.hxx.
References pType.
Referenced by SfxBindings::Execute_Impl(), SfxDispatcher::FillState_(), SfxSlotPool::GetSlotType(), SfxStatusListener::statusChanged(), SfxStatusBarControl::statusChanged(), SfxToolBoxControl::statusChanged(), BindDispatch_Impl::statusChanged(), TransformItems(), and TransformParameters().
|
inline |
Definition at line 237 of file msg.hxx.
References pUnoName.
Referenced by SfxObjectShell::ExecFile_Impl(), SfxStateCache::GetSlotServer(), SfxApplication::OfaExec_Impl(), and SfxBindings::QueryState().
sal_uInt16 SfxSlot::GetWhich | ( | const SfxItemPool & | rPool | ) | const |
Definition at line 39 of file msg.cxx.
References SfxItemPool::GetWhich(), nMasterSlotId, and nSlotId.
Referenced by SfxShell::CanExecuteSlot_Impl(), SfxBindings::CreateSet_Impl(), SfxBindings::Execute_Impl(), and SfxShell::GetSlotState().
|
inline |
Definition at line 268 of file msg.hxx.
References nFlags.
Referenced by SfxDispatcher::Call_Impl(), SfxDispatcher::Execute_(), SfxBindings::Execute_Impl(), SfxDispatcher::FindServer_(), GetSlotDispatchWithFallback(), TransformItems(), TransformParameters(), and SfxDispatcher::Update_Impl_().
SfxExecFunc SfxSlot::fnExec |
Definition at line 193 of file msg.hxx.
Referenced by GetExecFnc(), and GetKind().
SfxStateFunc SfxSlot::fnState |
Definition at line 194 of file msg.hxx.
Referenced by GetKind(), and GetStateFnc().
sal_uInt16 SfxSlot::nArgDefCount |
Definition at line 201 of file msg.hxx.
Referenced by GetFormalArgumentCount(), TransformItems(), and TransformParameters().
SfxDisableFlags SfxSlot::nDisableFlags |
Definition at line 202 of file msg.hxx.
Referenced by SfxDispatcher::FindServer_().
SfxSlotMode SfxSlot::nFlags |
Definition at line 188 of file msg.hxx.
Referenced by SfxRequest::Done_Impl(), SfxDispatcher::FindServer_(), GetMode(), and IsMode().
SfxGroupId SfxSlot::nGroupId |
Definition at line 187 of file msg.hxx.
Referenced by GetGroupId().
sal_uInt16 SfxSlot::nMasterSlotId |
Definition at line 190 of file msg.hxx.
Referenced by GetKind(), and GetWhich().
sal_uInt16 SfxSlot::nSlotId |
Definition at line 186 of file msg.hxx.
Referenced by SfxBindings::GetDispatch(), GetSlotId(), GetWhich(), and SfxSlotPool::RegisterInterface().
const SfxFormalArgument* SfxSlot::pFirstArgDef |
Definition at line 200 of file msg.hxx.
Referenced by GetFormalArgument().
const SfxSlot* SfxSlot::pNextSlot |
Definition at line 198 of file msg.hxx.
Referenced by GetNextSlot(), SfxInterface::SetSlotMap(), and SfxShell::SetVerbs().
OUString SfxSlot::pUnoName |
Definition at line 205 of file msg.hxx.
Referenced by SfxDispatchController_Impl::dispatch(), GetCommand(), SfxStateCache::GetSlotServer(), GetUnoName(), SfxBindings::QueryState(), SfxDispatchController_Impl::SfxDispatchController_Impl(), TransformItems(), and TransformParameters().