LibreOffice Module sfx2 (master) 1
|
#include <objface.hxx>
Public Member Functions | |
SfxInterface (const char *pClass, bool bSuperClass, SfxInterfaceId nClassId, const SfxInterface *pGeno, SfxSlot &rMessages, sal_uInt16 nMsgCount) | |
~SfxInterface () | |
void | SetSlotMap (SfxSlot &rMessages, sal_uInt16 nMsgCount) |
sal_uInt16 | Count () const |
const SfxSlot * | GetRealSlot (const SfxSlot *) const |
const SfxSlot * | GetSlot (sal_uInt16 nSlotId) const |
const SfxSlot * | GetSlot (const OUString &rCommand) const |
const char * | GetClassName () const |
bool | UseAsSuperClass () const |
const SfxInterface * | GetGenoType () const |
void | RegisterObjectBar (sal_uInt16, SfxVisibilityFlags nFlags, ToolbarId eId) |
void | RegisterObjectBar (sal_uInt16, SfxVisibilityFlags nFlags, ToolbarId eId, SfxShellFeature nFeature) |
void | RegisterChildWindow (sal_uInt16, bool bContext=false) |
void | RegisterChildWindow (sal_uInt16, bool bContext, SfxShellFeature nFeature) |
void | RegisterStatusBar (StatusBarId eId) |
ToolbarId | GetObjectBarId (sal_uInt16 nNo) const |
sal_uInt16 | GetObjectBarPos (sal_uInt16 nNo) const |
SfxVisibilityFlags | GetObjectBarFlags (sal_uInt16 nNo) const |
SfxShellFeature | GetObjectBarFeature (sal_uInt16 nNo) const |
sal_uInt16 | GetObjectBarCount () const |
bool | IsObjectBarVisible (sal_uInt16 nNo) const |
SfxShellFeature | GetChildWindowFeature (sal_uInt16 nNo) const |
sal_uInt32 | GetChildWindowId (sal_uInt16 nNo) const |
sal_uInt16 | GetChildWindowCount () const |
void | RegisterPopupMenu (const OUString &) |
const OUString & | GetPopupMenuName () const |
StatusBarId | GetStatusBarId () const |
void | Register (const SfxModule *) |
SAL_DLLPRIVATE bool | ContainsSlot_Impl (const SfxSlot *pSlot) const |
Private Attributes | |
const char * | pName |
const SfxInterface * | pGenoType |
SfxSlot * | pSlots |
sal_uInt16 | nCount |
SfxInterfaceId | nClassId |
bool | bSuperClass |
std::unique_ptr< SfxInterface_Impl > | pImplData |
Friends | |
class | SfxSlotPool |
Definition at line 55 of file objface.hxx.
SfxInterface::SfxInterface | ( | const char * | pClass, |
bool | bSuperClass, | ||
SfxInterfaceId | nClassId, | ||
const SfxInterface * | pGeno, | ||
SfxSlot & | rMessages, | ||
sal_uInt16 | nMsgCount | ||
) |
Definition at line 89 of file objface.cxx.
References nId, pName, and SetSlotMap().
SfxInterface::~SfxInterface | ( | ) |
Definition at line 180 of file objface.cxx.
|
inline |
|
inline |
Definition at line 114 of file objface.hxx.
References nCount.
Referenced by SfxSlotPool::RegisterInterface(), SfxSlotPool::SeekSlot(), and SetSlotMap().
sal_uInt16 SfxInterface::GetChildWindowCount | ( | ) | const |
Definition at line 383 of file objface.cxx.
References GetChildWindowCount(), pGenoType, and pImplData.
Referenced by GetChildWindowCount(), GetChildWindowFeature(), GetChildWindowId(), and SfxDispatcher::Update_Impl_().
SfxShellFeature SfxInterface::GetChildWindowFeature | ( | sal_uInt16 | nNo | ) | const |
Definition at line 364 of file objface.cxx.
References GetChildWindowCount(), GetChildWindowFeature(), pGenoType, and pImplData.
Referenced by GetChildWindowFeature(), and SfxDispatcher::Update_Impl_().
sal_uInt32 SfxInterface::GetChildWindowId | ( | sal_uInt16 | nNo | ) | const |
Definition at line 343 of file objface.cxx.
References GetChildWindowCount(), GetChildWindowId(), nClassId, pGenoType, and pImplData.
Referenced by GetChildWindowId(), and SfxDispatcher::Update_Impl_().
|
inline |
Definition at line 82 of file objface.hxx.
References pName.
Referenced by SfxDispatcher::FillState_(), and SfxDispatcher::Pop().
|
inline |
Definition at line 85 of file objface.hxx.
Referenced by SfxShell::Invalidate_Impl().
sal_uInt16 SfxInterface::GetObjectBarCount | ( | ) | const |
Definition at line 318 of file objface.cxx.
References GetObjectBarCount(), pGenoType, pImplData, and UseAsSuperClass().
Referenced by GetObjectBarCount(), GetObjectBarFeature(), GetObjectBarFlags(), GetObjectBarId(), GetObjectBarPos(), IsObjectBarVisible(), and SfxDispatcher::Update_Impl_().
SfxShellFeature SfxInterface::GetObjectBarFeature | ( | sal_uInt16 | nNo | ) | const |
Definition at line 404 of file objface.cxx.
References GetObjectBarCount(), GetObjectBarFeature(), pGenoType, pImplData, and UseAsSuperClass().
Referenced by GetObjectBarFeature(), and SfxDispatcher::Update_Impl_().
SfxVisibilityFlags SfxInterface::GetObjectBarFlags | ( | sal_uInt16 | nNo | ) | const |
Definition at line 299 of file objface.cxx.
References GetObjectBarCount(), GetObjectBarFlags(), pGenoType, pImplData, and UseAsSuperClass().
Referenced by GetObjectBarFlags(), and SfxDispatcher::Update_Impl_().
ToolbarId SfxInterface::GetObjectBarId | ( | sal_uInt16 | nNo | ) | const |
Definition at line 261 of file objface.cxx.
References GetObjectBarCount(), GetObjectBarId(), pGenoType, pImplData, and UseAsSuperClass().
Referenced by GetObjectBarId(), and SfxDispatcher::Update_Impl_().
sal_uInt16 SfxInterface::GetObjectBarPos | ( | sal_uInt16 | nNo | ) | const |
Definition at line 280 of file objface.cxx.
References GetObjectBarCount(), GetObjectBarPos(), pGenoType, pImplData, and UseAsSuperClass().
Referenced by GetObjectBarPos(), and SfxDispatcher::Update_Impl_().
const OUString & SfxInterface::GetPopupMenuName | ( | ) | const |
Definition at line 391 of file objface.cxx.
References pImplData.
Referenced by SfxDispatcher::ExecutePopup().
Definition at line 220 of file objface.cxx.
References ContainsSlot_Impl(), GetRealSlot(), nCount, pGenoType, pSlots, and SAL_WARN.
Referenced by GetRealSlot().
const SfxSlot * SfxInterface::GetSlot | ( | const OUString & | rCommand | ) | const |
const SfxSlot * SfxInterface::GetSlot | ( | sal_uInt16 | nSlotId | ) | const |
Definition at line 187 of file objface.cxx.
References GetSlot(), nCount, p, pGenoType, pSlots, and SfxCompareSlots_bsearch().
Referenced by SfxShell::ExecuteSlot(), SfxDispatcher::FillState_(), SfxDispatcher::FindServer_(), SfxDispatcher::GetSlot(), GetSlot(), SfxShell::GetSlotState(), SfxShell::Invalidate_Impl(), SfxApplication::OfaExec_Impl(), and SfxApplication::OpenDocExec_Impl().
StatusBarId SfxInterface::GetStatusBarId | ( | ) | const |
Definition at line 396 of file objface.cxx.
References GetStatusBarId(), None, pGenoType, and pImplData.
Referenced by GetStatusBarId(), and SfxDispatcher::Update_Impl_().
bool SfxInterface::IsObjectBarVisible | ( | sal_uInt16 | nNo | ) | const |
Definition at line 423 of file objface.cxx.
References GetObjectBarCount(), IsObjectBarVisible(), pGenoType, and UseAsSuperClass().
Referenced by IsObjectBarVisible(), and SfxDispatcher::Update_Impl_().
void SfxInterface::Register | ( | const SfxModule * | pMod | ) |
Definition at line 103 of file objface.cxx.
References SfxApplication::GetAppSlotPool_Impl(), SfxModule::GetSlotPool(), SfxSlotPool::RegisterInterface(), and SfxGetpApp().
void SfxInterface::RegisterChildWindow | ( | sal_uInt16 | nId, |
bool | bContext, | ||
SfxShellFeature | nFeature | ||
) |
Definition at line 331 of file objface.cxx.
void SfxInterface::RegisterChildWindow | ( | sal_uInt16 | nId, |
bool | bContext = false |
||
) |
Definition at line 326 of file objface.cxx.
References nId, NONE, and RegisterChildWindow().
Referenced by RegisterChildWindow().
void SfxInterface::RegisterObjectBar | ( | sal_uInt16 | nPos, |
SfxVisibilityFlags | nFlags, | ||
ToolbarId | eId | ||
) |
Definition at line 243 of file objface.cxx.
References NONE, nPos, and RegisterObjectBar().
Referenced by RegisterObjectBar().
void SfxInterface::RegisterObjectBar | ( | sal_uInt16 | nPos, |
SfxVisibilityFlags | nFlags, | ||
ToolbarId | eId, | ||
SfxShellFeature | nFeature | ||
) |
Definition at line 248 of file objface.cxx.
References CreateObjectBarUI_Impl(), nPos, and pImplData.
void SfxInterface::RegisterPopupMenu | ( | const OUString & | rResourceName | ) |
Definition at line 238 of file objface.cxx.
References pImplData.
void SfxInterface::RegisterStatusBar | ( | StatusBarId | eId | ) |
Definition at line 338 of file objface.cxx.
References pImplData.
void SfxInterface::SetSlotMap | ( | SfxSlot & | rMessages, |
sal_uInt16 | nMsgCount | ||
) |
Definition at line 111 of file objface.cxx.
References Count(), SfxSlot::GetNextSlot(), SfxSlot::GetSlotId(), SfxSlot::GetStateFnc(), n, nCount, SfxSlot::pNextSlot, pSlots, SAL_WARN, and SfxCompareSlots_qsort().
Referenced by SfxInterface().
|
inline |
Definition at line 83 of file objface.hxx.
Referenced by GetObjectBarCount(), GetObjectBarFeature(), GetObjectBarFlags(), GetObjectBarId(), GetObjectBarPos(), and IsObjectBarVisible().
|
friend |
Definition at line 57 of file objface.hxx.
|
private |
Definition at line 64 of file objface.hxx.
|
private |
Definition at line 63 of file objface.hxx.
Referenced by GetChildWindowId().
|
private |
Definition at line 62 of file objface.hxx.
Referenced by Count(), GetRealSlot(), GetSlot(), and SetSlotMap().
|
private |
Definition at line 60 of file objface.hxx.
Referenced by GetChildWindowCount(), GetChildWindowFeature(), GetChildWindowId(), GetObjectBarCount(), GetObjectBarFeature(), GetObjectBarFlags(), GetObjectBarId(), GetObjectBarPos(), GetRealSlot(), GetSlot(), GetStatusBarId(), and IsObjectBarVisible().
|
private |
Definition at line 65 of file objface.hxx.
Referenced by GetChildWindowCount(), GetChildWindowFeature(), GetChildWindowId(), GetObjectBarCount(), GetObjectBarFeature(), GetObjectBarFlags(), GetObjectBarId(), GetObjectBarPos(), GetPopupMenuName(), GetStatusBarId(), RegisterChildWindow(), RegisterObjectBar(), RegisterPopupMenu(), and RegisterStatusBar().
|
private |
Definition at line 59 of file objface.hxx.
|
private |
Definition at line 61 of file objface.hxx.
Referenced by GetRealSlot(), GetSlot(), SfxSlotPool::NextSlot(), SfxSlotPool::RegisterInterface(), SfxSlotPool::SeekSlot(), and SetSlotMap().