LibreOffice Module sfx2 (master) 1
Public Member Functions | Public Attributes | List of all members
SfxSlot Class Reference

#include <msg.hxx>

Collaboration diagram for SfxSlot:

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 SfxTypeGetType () const
const OUString & GetUnoName () const
SFX2_DLLPUBLIC OUString GetCommand () const
sal_uInt16 GetFormalArgumentCount () const
const SfxFormalArgumentGetFormalArgument (sal_uInt16 nNo) const
SfxExecFunc GetExecFnc () const
SfxStateFunc GetStateFnc () const
const SfxSlotGetNextSlot () const

Public Attributes

sal_uInt16 nSlotId
SfxGroupId nGroupId
SfxSlotMode nFlags
sal_uInt16 nMasterSlotId
sal_uInt16 nValue
SfxExecFunc fnExec
SfxStateFunc fnState
const SfxTypepType
const SfxSlotpNextSlot
const SfxFormalArgumentpFirstArgDef
sal_uInt16 nArgDefCount
SfxDisableFlags nDisableFlags
OUString pUnoName

Detailed Description

Definition at line 183 of file msg.hxx.

Constructor & Destructor Documentation

◆ SfxSlot()

template<size_t N>
SfxSlot::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] 

Definition at line 210 of file msg.hxx.

References sId, type, and value.

Member Function Documentation

◆ GetCommand()

OUString SfxSlot::GetCommand ( ) const

◆ GetExecFnc()

SfxExecFunc SfxSlot::GetExecFnc ( ) const

Definition at line 244 of file msg.hxx.

References fnExec.

Referenced by SfxDispatcher::Call_Impl(), and SfxShell::ExecuteSlot().

◆ GetFormalArgument()

const SfxFormalArgument & SfxSlot::GetFormalArgument ( sal_uInt16  nNo) const

Definition at line 241 of file msg.hxx.

References pFirstArgDef.

Referenced by TransformItems(), and TransformParameters().

◆ GetFormalArgumentCount()

sal_uInt16 SfxSlot::GetFormalArgumentCount ( ) const

Definition at line 240 of file msg.hxx.

References nArgDefCount.

Referenced by TransformItems().

◆ GetGroupId()

SfxGroupId SfxSlot::GetGroupId ( ) const

◆ GetKind()

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().

◆ GetMode()

SfxSlotMode SfxSlot::GetMode ( ) const

◆ GetNextSlot()

const SfxSlot * SfxSlot::GetNextSlot ( ) const

Definition at line 247 of file msg.hxx.

References pNextSlot.

Referenced by SfxBindings::CreateSet_Impl(), and SfxInterface::SetSlotMap().

◆ GetSlotId()

sal_uInt16 SfxSlot::GetSlotId ( ) const

◆ GetStateFnc()

SfxStateFunc SfxSlot::GetStateFnc ( ) const

◆ GetType()

const SfxType * SfxSlot::GetType ( ) const

◆ GetUnoName()

const OUString & SfxSlot::GetUnoName ( ) const

◆ GetWhich()

sal_uInt16 SfxSlot::GetWhich ( const SfxItemPool rPool) const

◆ IsMode()

bool SfxSlot::IsMode ( SfxSlotMode  nMode) const

Member Data Documentation

◆ fnExec

SfxExecFunc SfxSlot::fnExec

Definition at line 193 of file msg.hxx.

Referenced by GetExecFnc(), and GetKind().

◆ fnState

SfxStateFunc SfxSlot::fnState

Definition at line 194 of file msg.hxx.

Referenced by GetKind(), and GetStateFnc().

◆ nArgDefCount

sal_uInt16 SfxSlot::nArgDefCount

Definition at line 201 of file msg.hxx.

Referenced by GetFormalArgumentCount(), TransformItems(), and TransformParameters().

◆ nDisableFlags

SfxDisableFlags SfxSlot::nDisableFlags

Definition at line 202 of file msg.hxx.

Referenced by SfxDispatcher::FindServer_().

◆ nFlags

SfxSlotMode SfxSlot::nFlags

Definition at line 188 of file msg.hxx.

Referenced by SfxRequest::Done_Impl(), SfxDispatcher::FindServer_(), GetMode(), and IsMode().

◆ nGroupId

SfxGroupId SfxSlot::nGroupId

Definition at line 187 of file msg.hxx.

Referenced by GetGroupId().

◆ nMasterSlotId

sal_uInt16 SfxSlot::nMasterSlotId

Definition at line 190 of file msg.hxx.

Referenced by GetKind(), and GetWhich().

◆ nSlotId

sal_uInt16 SfxSlot::nSlotId

◆ nValue

sal_uInt16 SfxSlot::nValue

Definition at line 191 of file msg.hxx.

Referenced by GetKind().

◆ pFirstArgDef

const SfxFormalArgument* SfxSlot::pFirstArgDef

Definition at line 200 of file msg.hxx.

Referenced by GetFormalArgument().

◆ pNextSlot

const SfxSlot* SfxSlot::pNextSlot

Definition at line 198 of file msg.hxx.

Referenced by GetNextSlot(), SfxInterface::SetSlotMap(), and SfxShell::SetVerbs().

◆ pType

const SfxType* SfxSlot::pType

Definition at line 196 of file msg.hxx.

Referenced by GetType().

◆ pUnoName

OUString SfxSlot::pUnoName

The documentation for this class was generated from the following files: