LibreOffice Module sfx2 (master) 1
Classes | Macros | Typedefs | Functions | Variables
sfxbasecontroller.cxx File Reference
#include <time.h>
#include <sfx2/sfxbasecontroller.hxx>
#include <com/sun/star/awt/XVclWindowPeer.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/util/XCloseable.hpp>
#include <com/sun/star/util/XCloseBroadcaster.hpp>
#include <com/sun/star/util/XCloseListener.hpp>
#include <com/sun/star/util/CloseVetoException.hpp>
#include <com/sun/star/document/XCmisDocument.hpp>
#include <com/sun/star/document/XViewDataSupplier.hpp>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/frame/FrameActionEvent.hpp>
#include <com/sun/star/frame/FrameAction.hpp>
#include <com/sun/star/frame/FrameSearchFlag.hpp>
#include <com/sun/star/frame/CommandGroup.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/frame/XBorderResizeListener.hpp>
#include <com/sun/star/frame/XUntitledNumbers.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/EventObject.hpp>
#include <com/sun/star/lang/XEventListener.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <comphelper/interfacecontainer3.hxx>
#include <comphelper/multicontainer2.hxx>
#include <sfx2/viewsh.hxx>
#include <sfx2/docfac.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/app.hxx>
#include <sfx2/msgpool.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/userinputinterception.hxx>
#include <unoctitm.hxx>
#include <sfx2/childwin.hxx>
#include <sfx2/sfxsids.hrc>
#include <sfx2/sfxresid.hxx>
#include <workwin.hxx>
#include <sfx2/infobar.hxx>
#include <osl/mutex.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <comphelper/sequence.hxx>
#include <toolkit/helper/convert.hxx>
#include <framework/titlehelper.hxx>
#include <comphelper/processfactory.hxx>
#include <vcl/svapp.hxx>
#include <tools/svborder.hxx>
#include <sfx2/event.hxx>
#include <sfx2/viewfac.hxx>
#include <sfx2/strings.hrc>
#include <sfxbasecontroller_internal.hxx>
#include <unordered_map>
#include <com/sun/star/ui/XSidebarProvider.hpp>
#include <sidebar/UnoSidebar.hxx>
Include dependency graph for sfxbasecontroller.cxx:

Go to the source code of this file.

Classes

struct  IMPL_SfxBaseController_DataContainer
 

Macros

#define TIMEOUT_START_RESCHEDULE   10L /* 10th s */
 

Typedefs

typedef std::unordered_map< SfxGroupId, sal_Int16 > GroupHashMap
 

Functions

sal_Int16 MapGroupIDToCommandGroup (SfxGroupId nGroupID)
 
sal_uInt32 Get10ThSec ()
 
static void reschedule ()
 static counter for rescheduling More...
 
static css::uno::Reference< css::frame::XDispatch > GetSlotDispatchWithFallback (SfxViewFrame *pViewFrame, const css::util::URL &aURL, const OUString &sActCommand, bool bMasterCommand, const SfxSlot *pSlot)
 
 IMPL_LINK_NOARG (SfxBaseController, CheckOutHandler, weld::Button &, void)
 

Variables

static sal_Int32 m_nInReschedule = 0
 

Macro Definition Documentation

◆ TIMEOUT_START_RESCHEDULE

#define TIMEOUT_START_RESCHEDULE   10L /* 10th s */

Definition at line 81 of file sfxbasecontroller.cxx.

Typedef Documentation

◆ GroupHashMap

typedef std::unordered_map< SfxGroupId, sal_Int16 > GroupHashMap

Definition at line 106 of file sfxbasecontroller.cxx.

Function Documentation

◆ Get10ThSec()

sal_uInt32 Get10ThSec ( )

Definition at line 148 of file sfxbasecontroller.cxx.

Referenced by SfxProgress::SfxProgress(), and SfxProgress::Stop().

◆ GetSlotDispatchWithFallback()

static css::uno::Reference< css::frame::XDispatch > GetSlotDispatchWithFallback ( SfxViewFrame pViewFrame,
const css::util::URL aURL,
const OUString &  sActCommand,
bool  bMasterCommand,
const SfxSlot pSlot 
)
static

◆ IMPL_LINK_NOARG()

IMPL_LINK_NOARG ( SfxBaseController  ,
CheckOutHandler  ,
weld::Button ,
void   
)

Definition at line 1370 of file sfxbasecontroller.cxx.

References m_pData.

◆ MapGroupIDToCommandGroup()

sal_Int16 MapGroupIDToCommandGroup ( SfxGroupId  nGroupID)

◆ reschedule()

static void reschedule ( )
static

static counter for rescheduling

Definition at line 156 of file sfxbasecontroller.cxx.

References m_nInReschedule, and Application::Reschedule().

Variable Documentation

◆ m_nInReschedule

sal_Int32 m_nInReschedule = 0
static

Definition at line 154 of file sfxbasecontroller.cxx.

Referenced by reschedule().