#include <sfx2/shell.hxx>
#include <rtl/string.hxx>
#include <rtl/ustring.hxx>
#include <svl/poolitem.hxx>
#include <sfx2/dllapi.h>
#include <o3tl/typed_flags_set.hxx>
#include <sfx2/groupid.hxx>
#include <functional>
#include <climits>
Go to the source code of this file.
|
| #define | SFX_EXEC_STUB(aShellClass, aExecMethod) |
| |
| #define | SFX_STATE_STUB(aShellClass, aStateMethod) |
| |
| #define | SFX_STUB_PTR(aShellClass, aMethod) &SfxStub##aShellClass##aMethod |
| |
| #define | SFX_STUB_PTR_EXEC_NONE &SfxShell::EmptyExecStub |
| |
| #define | SFX_STUB_PTR_STATE_NONE &SfxShell::EmptyStateStub |
| |
| #define | SFX_DECL_TYPE(n) |
| |
| #define | SFX_TYPE(Class) &a##Class##_Impl |
| |
| #define | SFX_SLOT_ARG(aShellClass, id, GroupId, ExecMethodPtr, StateMethodPtr, Flags, ItemClass, nArg0, nArgs, Name, Prop) |
| |
| #define | SFX_NEW_SLOT_ARG(aShellClass, id, GroupId, pNext, ExecMethodPtr, StateMethodPtr, Flags, DisableFlags, ItemClass, nArg0, nArgs, Prop, UnoName) |
| |
|
| enum class | SfxSlotMode {
NONE = 0x0000
,
TOGGLE = 0x0004
,
AUTOUPDATE = 0x0008
,
ASYNCHRON = 0x0020
,
NORECORD = 0x0100
,
RECORDPERITEM = 0x0200
,
RECORDPERSET = 0x0400
,
RECORDABSOLUTE = 0x1000000
,
METHOD = 0x4000
,
FASTCALL = 0x8000
,
MENUCONFIG = 0x20000
,
TOOLBOXCONFIG = 0x40000
,
ACCELCONFIG = 0x80000
,
CONTAINER = 0x100000
,
READONLYDOC = 0x200000
} |
| |
| enum class | SfxSlotKind {
Standard
,
Attribute
} |
| |
◆ SFX_DECL_TYPE
| #define SFX_DECL_TYPE |
( |
|
n | ) |
|
Value:
{ \
const std::type_info*
pType; \
}
const std::type_info * pType
std::function< SfxPoolItem *()> createSfxPoolItemFunc
Definition at line 122 of file msg.hxx.
◆ SFX_EXEC_STUB
| #define SFX_EXEC_STUB |
( |
|
aShellClass, |
|
|
|
aExecMethod |
|
) |
| |
Value: void SfxStub##aShellClass##aExecMethod( \
{ \
::tools::detail::castTo<aShellClass*>(pShell)->aExecMethod( rReq ); \
}
The class SfxShell is the base class for all classes, which provide the functionality of the form <Sl...
Definition at line 64 of file msg.hxx.
◆ SFX_NEW_SLOT_ARG
| #define SFX_NEW_SLOT_ARG |
( |
|
aShellClass, |
|
|
|
id, |
|
|
|
GroupId, |
|
|
|
pNext, |
|
|
|
ExecMethodPtr, |
|
|
|
StateMethodPtr, |
|
|
|
Flags, |
|
|
|
DisableFlags, |
|
|
|
ItemClass, |
|
|
|
nArg0, |
|
|
|
nArgs, |
|
|
|
Prop, |
|
|
|
UnoName |
|
) |
| |
Value:
USHRT_MAX, 0, \
ExecMethodPtr, \
StateMethodPtr, \
(
const SfxType*) &a##ItemClass##_Impl, \
pNext, \
&a##aShellClass##Args_Impl[nArg0], nArgs, DisableFlags, UnoName \
}
Definition at line 162 of file msg.hxx.
◆ SFX_SLOT_ARG
| #define SFX_SLOT_ARG |
( |
|
aShellClass, |
|
|
|
id, |
|
|
|
GroupId, |
|
|
|
ExecMethodPtr, |
|
|
|
StateMethodPtr, |
|
|
|
Flags, |
|
|
|
ItemClass, |
|
|
|
nArg0, |
|
|
|
nArgs, |
|
|
|
Name, |
|
|
|
Prop |
|
) |
| |
Value:
USHRT_MAX, 0, \
ExecMethodPtr, \
StateMethodPtr, \
(
const SfxType*) &a##ItemClass##_Impl, \
0, \
}
Definition at line 152 of file msg.hxx.
◆ SFX_STATE_STUB
| #define SFX_STATE_STUB |
( |
|
aShellClass, |
|
|
|
aStateMethod |
|
) |
| |
Value: void SfxStub##aShellClass##aStateMethod( \
{ \
static_cast<aShellClass*>(pShell)->aStateMethod(
rSet ); \
}
Definition at line 71 of file msg.hxx.
◆ SFX_STUB_PTR
| #define SFX_STUB_PTR |
( |
|
aShellClass, |
|
|
|
aMethod |
|
) |
| &SfxStub##aShellClass##aMethod |
◆ SFX_STUB_PTR_EXEC_NONE
◆ SFX_STUB_PTR_STATE_NONE
◆ SFX_TYPE
| #define SFX_TYPE |
( |
|
Class | ) |
&a##Class##_Impl |
◆ SfxSlotKind
| Enumerator |
|---|
| Standard | |
| Attribute | |
Definition at line 86 of file msg.hxx.
◆ SfxSlotMode
| Enumerator |
|---|
| NONE | |
| TOGGLE | |
| AUTOUPDATE | |
| ASYNCHRON | |
| NORECORD | |
| RECORDPERITEM | |
| RECORDPERSET | |
| RECORDABSOLUTE | |
| METHOD | |
| FASTCALL | |
| MENUCONFIG | |
| TOOLBOXCONFIG | |
| ACCELCONFIG | |
| CONTAINER | |
| READONLYDOC | |
Definition at line 35 of file msg.hxx.
◆ createSfxPoolItem()
◆ SFX_DECL_TYPE() [1/15]
◆ SFX_DECL_TYPE() [2/15]
◆ SFX_DECL_TYPE() [3/15]
◆ SFX_DECL_TYPE() [4/15]
◆ SFX_DECL_TYPE() [5/15]
◆ SFX_DECL_TYPE() [6/15]
◆ SFX_DECL_TYPE() [7/15]
◆ SFX_DECL_TYPE() [8/15]
◆ SFX_DECL_TYPE() [9/15]
◆ SFX_DECL_TYPE() [10/15]
◆ SFX_DECL_TYPE() [11/15]
◆ SFX_DECL_TYPE() [12/15]
◆ SFX_DECL_TYPE() [13/15]
◆ SFX_DECL_TYPE() [14/15]
◆ SFX_DECL_TYPE() [15/15]