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

Go to the source code of this file.

Classes

struct  SfxTbxCtrlFactory
 
class  SfxToolBoxControl
 

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::frame
 
namespace  vcl
 

Macros

#define SFX_DECL_TOOLBOX_CONTROL()
 
#define SFX_IMPL_TOOLBOX_CONTROL(Class, nItemClass)
 
#define SFX_IMPL_TOOLBOX_CONTROL_ARG(Class, nItemClass, Arg)
 

Typedefs

typedef rtl::Reference< SfxToolBoxControl >(* SfxToolBoxControlCtor) (sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rBox)
 

Functions

rtl::Reference< svt::ToolboxControllerSfxToolBoxControllerFactory (const css::uno::Reference< css::frame::XFrame > &rFrame, ToolBox *pToolbox, ToolBoxItemId nID, const OUString &aCommandURL)
 

Macro Definition Documentation

◆ SFX_DECL_TOOLBOX_CONTROL

#define SFX_DECL_TOOLBOX_CONTROL ( )
Value:
static rtl::Reference<SfxToolBoxControl> CreateImpl( sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx ); \
static void RegisterControl(sal_uInt16 nSlotId = 0, SfxModule *pMod=nullptr)

Definition at line 58 of file tbxctrl.hxx.

◆ SFX_IMPL_TOOLBOX_CONTROL

#define SFX_IMPL_TOOLBOX_CONTROL (   Class,
  nItemClass 
)
Value:
rtl::Reference<SfxToolBoxControl> Class::CreateImpl( sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx ) \
{ return new Class( nSlotId, nId, rTbx ); } \
void Class::RegisterControl(sal_uInt16 nSlotId, SfxModule *pMod) \
Class::CreateImpl, typeid(nItemClass), nSlotId ) ); }
static void RegisterToolBoxControl(SfxModule *, const SfxTbxCtrlFactory &)
Definition: tbxitem.cxx:168

Definition at line 124 of file tbxctrl.hxx.

◆ SFX_IMPL_TOOLBOX_CONTROL_ARG

#define SFX_IMPL_TOOLBOX_CONTROL_ARG (   Class,
  nItemClass,
  Arg 
)
Value:
rtl::Reference<SfxToolBoxControl> Class::CreateImpl( sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx ) \
{ return new Class( nSlotId, nId, rTbx, Arg); } \
void Class::RegisterControl(sal_uInt16 nSlotId, SfxModule *pMod) \
Class::CreateImpl, typeid(nItemClass), nSlotId ) ); }

Definition at line 131 of file tbxctrl.hxx.

Typedef Documentation

◆ SfxToolBoxControlCtor

typedef rtl::Reference< SfxToolBoxControl >(* SfxToolBoxControlCtor) (sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rBox)

Definition at line 41 of file tbxctrl.hxx.

Function Documentation

◆ SfxToolBoxControllerFactory()

rtl::Reference< svt::ToolboxController > SfxToolBoxControllerFactory ( const css::uno::Reference< css::frame::XFrame > &  rFrame,
ToolBox pToolbox,
ToolBoxItemId  nID,
const OUString &  aCommandURL 
)