21#include <osl/diagnose.h>
32#include <sfx2/strings.hrc>
35 : _pParentPool( pParent )
46 std::vector<SfxInterface*> tmpInterfaces;
57 return STR_GID_INTERN;
59 return STR_GID_APPLICATION;
63 return STR_GID_DOCUMENT;
69 return STR_GID_OPTIONS;
73 return STR_GID_NAVIGATOR;
75 return STR_GID_INSERT;
77 return STR_GID_FORMAT;
79 return STR_GID_TEMPLATE;
85 return STR_GID_GRAPHIC;
89 return STR_GID_ENUMERATION;
93 return STR_GID_SPECIAL;
99 return STR_GID_EXPLORER;
101 return STR_GID_CONNECTOR;
103 return STR_GID_MODIFY;
105 return STR_GID_DRAWING;
107 return STR_GID_CONTROLS;
131 for (
size_t nFunc = 0; nFunc < rInterface.
Count(); ++nFunc )
160 const SfxSlot *pDef = _pInterface->GetSlot(
nId);
189 for (
i=1;
i<nParentCount;
i++ )
199 OSL_FAIL(
"GroupId-Name not defined in SFX!" );
224 if ( nStartInterface < nFirstInterface &&
226 nStartInterface = nFirstInterface;
229 if ( nStartInterface < nFirstInterface )
286 while ( ++_nCurMsg < pInterface->
Count() )
302 const SfxSlot *pSlot =
nullptr;
305 pSlot = nInterface->GetSlot( rName );
SfxApplication * SfxGetpApp()
std::optional< SfxSlotPool > pSlotPool
SAL_DLLPRIVATE SfxAppData_Impl * Get_Impl() const
static SfxModule * GetActiveModule(SfxViewFrame *pFrame=nullptr)
SfxSlotPool * GetSlotPool() const
static SfxSlotPool & GetSlotPool(SfxViewFrame *pFrame=nullptr)
OUString SeekGroup(sal_uInt16 nNo)
void RegisterInterface(SfxInterface &rFace)
const std::type_info * GetSlotType(sal_uInt16 nSlotId) const
const SfxSlot * SeekSlot(sal_uInt16 nObject)
sal_uInt16 _nCurInterface
SfxSlotPool(SfxSlotPool *pParent=nullptr)
const SfxSlot * GetSlot(sal_uInt16 nId) const
const SfxSlot * GetUnoSlot(const OUString &rUnoName) const
std::vector< SfxInterface * > _vInterfaces
const SfxSlot * NextSlot()
sal_uInt16 GetGroupCount() const
SfxSlotPool * _pParentPool
std::vector< SfxGroupId > _vGroups
const SfxType * GetType() const
SfxGroupId GetGroupId() const
#define SAL_WARN_IF(condition, area, stream)
OUString SfxResId(TranslateId aId)
const std::type_info * Type() const