LibreOffice Module sfx2 (master) 1
Classes | Macros | Typedefs | Functions
stbitem.hxx File Reference
#include <sal/config.h>
#include <sfx2/dllapi.h>
#include <svl/poolitem.hxx>
#include <svtools/statusbarcontroller.hxx>
#include <vcl/vclptr.hxx>
Include dependency graph for stbitem.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SfxStbCtrlFactory
 
class  SfxStatusBarControl
 

Macros

#define SFX_DECL_STATUSBAR_CONTROL()
 
#define SFX_IMPL_STATUSBAR_CONTROL(Class, nItemClass)
 

Typedefs

typedef rtl::Reference< SfxStatusBarControl >(* SfxStatusBarControlCtor) (sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar &rStb)
 

Functions

rtl::Reference< svt::StatusbarControllerSfxStatusBarControllerFactory (const css::uno::Reference< css::frame::XFrame > &rFrame, StatusBar *pStatusBar, unsigned short nID, const OUString &aCommandURL)
 

Macro Definition Documentation

◆ SFX_DECL_STATUSBAR_CONTROL

#define SFX_DECL_STATUSBAR_CONTROL ( )
Value:
static rtl::Reference<SfxStatusBarControl> CreateImpl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar &rStb ); \
static void RegisterControl(sal_uInt16 nSlotId = 0, SfxModule *pMod=nullptr)

Definition at line 120 of file stbitem.hxx.

◆ SFX_IMPL_STATUSBAR_CONTROL

#define SFX_IMPL_STATUSBAR_CONTROL (   Class,
  nItemClass 
)
Value:
rtl::Reference<SfxStatusBarControl> Class::CreateImpl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar &rStb ) \
{ return new Class( nSlotId, nId, rStb ); } \
void Class::RegisterControl(sal_uInt16 nSlotId, SfxModule *pMod) \
Class::CreateImpl, typeid(nItemClass), nSlotId ) ); }
static void RegisterStatusBarControl(SfxModule *, const SfxStbCtrlFactory &)
Definition: stbitem.cxx:546

Definition at line 124 of file stbitem.hxx.

Typedef Documentation

◆ SfxStatusBarControlCtor

typedef rtl::Reference< SfxStatusBarControl >(* SfxStatusBarControlCtor) (sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar &rStb)

Definition at line 37 of file stbitem.hxx.

Function Documentation

◆ SfxStatusBarControllerFactory()

rtl::Reference< svt::StatusbarController > SfxStatusBarControllerFactory ( const css::uno::Reference< css::frame::XFrame > &  rFrame,
StatusBar pStatusBar,
unsigned short  nID,
const OUString &  aCommandURL 
)