LibreOffice Module sfx2 (master) 1
Classes | Typedefs | Functions
dispatch.cxx File Reference
#include <config_feature_desktop.h>
#include <algorithm>
#include <cstddef>
#include <deque>
#include <vector>
#include <stdlib.h>
#include <boost/property_tree/json_parser.hpp>
#include <com/sun/star/awt/PopupMenuDirection.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/frame/XDispatchRecorderSupplier.hpp>
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <com/sun/star/frame/XPopupMenuController.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/ui/ContextMenuExecuteEvent.hpp>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
#include <comphelper/lok.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/propertyvalue.hxx>
#include <rtl/strbuf.hxx>
#include <sal/log.hxx>
#include <sfx2/app.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/childwin.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/docfile.hxx>
#include <hintpost.hxx>
#include <sfx2/ipclient.hxx>
#include <sfx2/module.hxx>
#include <sfx2/msg.hxx>
#include <sfx2/msgpool.hxx>
#include <sfx2/objface.hxx>
#include <sfx2/request.hxx>
#include <sfx2/sfxsids.hrc>
#include <sfx2/viewfrm.hxx>
#include <sfx2/viewsh.hxx>
#include <svl/eitem.hxx>
#include <svl/itemiter.hxx>
#include <svl/itempool.hxx>
#include <toolkit/awt/vclxmenu.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/debug.hxx>
#include <vcl/idle.hxx>
#include <vcl/menu.hxx>
#include <sfxtypes.hxx>
#include <slotserv.hxx>
#include <workwin.hxx>
Include dependency graph for dispatch.cxx:

Go to the source code of this file.

Classes

struct  SfxDispatcher_Impl
 

Typedefs

typedef std::vector< SfxShell * > SfxShellStack_Impl
 

Functions

 IMPL_LINK_NOARG (SfxDispatcher, EventHdl_Impl, Timer *, void)
 This handler is called after <SfxDispatcher::Invalidate()> or after changes on the stack (<SfxDispatcher::Push()> and <SfxDispatcher::Pop()) More...
 
static void MappedPut_Impl (SfxAllItemSet &rSet, const SfxPoolItem &rItem)
 Helper function to put from rItem below the Which-ID in the pool of the Item Sets rSet. More...
 
static int SfxCompareSIDs_Impl (const void *pSmaller, const void *pBigger)
 

Typedef Documentation

◆ SfxShellStack_Impl

typedef std::vector<SfxShell*> SfxShellStack_Impl

Definition at line 73 of file dispatch.cxx.

Function Documentation

◆ IMPL_LINK_NOARG()

IMPL_LINK_NOARG ( SfxDispatcher  ,
EventHdl_Impl  ,
Timer ,
void   
)

This handler is called after <SfxDispatcher::Invalidate()> or after changes on the stack (<SfxDispatcher::Push()> and <SfxDispatcher::Pop())

It flushes the Stack, if it is dirty, thus it actually executes the pending Push and Pop commands.

Definition at line 455 of file dispatch.cxx.

References GetBindings(), and SfxBindings::StartUpdate_Impl().

◆ MappedPut_Impl()

static void MappedPut_Impl ( SfxAllItemSet rSet,
const SfxPoolItem rItem 
)
static

Helper function to put from rItem below the Which-ID in the pool of the Item Sets rSet.

Definition at line 759 of file dispatch.cxx.

References SfxItemSet::GetPool(), SfxItemPool::GetWhich(), SfxItemPool::IsSlot(), SfxItemSet::Put(), rSet, and SfxPoolItem::Which().

Referenced by SfxDispatcher::Execute(), and SfxDispatcher::ExecuteList().

◆ SfxCompareSIDs_Impl()

static int SfxCompareSIDs_Impl ( const void *  pSmaller,
const void *  pBigger 
)
static

Definition at line 1482 of file dispatch.cxx.

Referenced by SfxDispatcher::IsSlotEnabledByFilter_Impl().