LibreOffice Module sfx2 (master) 1
|
#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>
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 |
#define TIMEOUT_START_RESCHEDULE 10L /* 10th s */ |
Definition at line 81 of file sfxbasecontroller.cxx.
typedef std::unordered_map< SfxGroupId, sal_Int16 > GroupHashMap |
Definition at line 106 of file sfxbasecontroller.cxx.
sal_uInt32 Get10ThSec | ( | ) |
Definition at line 148 of file sfxbasecontroller.cxx.
Referenced by SfxProgress::SfxProgress(), and SfxProgress::Stop().
|
static |
Definition at line 673 of file sfxbasecontroller.cxx.
References aURL, CONTAINER, SfxViewFrame::GetBindings(), SfxBindings::GetDispatch(), SfxViewFrame::GetFirst(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), SfxViewFrame::GetNext(), SfxSlotPool::GetSlotPool(), SfxSlotPool::GetUnoSlot(), SfxFrame::IsInPlace(), and SfxSlot::IsMode().
Referenced by SfxBaseController::queryDispatch().
IMPL_LINK_NOARG | ( | SfxBaseController | , |
CheckOutHandler | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 1370 of file sfxbasecontroller.cxx.
References m_pData.
sal_Int16 MapGroupIDToCommandGroup | ( | SfxGroupId | nGroupID | ) |
Definition at line 108 of file sfxbasecontroller.cxx.
References Application, Chart, Connector, Controls, Data, Document, Drawing, Edit, Enumeration, Explorer, Format, Frame, FRAME, Graphic, Image, Insert, Intern, Macro, Math, Modify, Navigator, Options, Special, Table, Template, Text, and View.
Referenced by SfxBaseController::getConfigurableDispatchInformation(), and SfxBaseController::getSupportedCommandGroups().
|
static |
static counter for rescheduling
Definition at line 156 of file sfxbasecontroller.cxx.
References m_nInReschedule, and Application::Reschedule().
|
static |
Definition at line 154 of file sfxbasecontroller.cxx.
Referenced by reschedule().