LibreOffice Module sfx2 (master) 1
Macros | Functions | Variables
viewfrm.cxx File Reference
#include <config_feature_desktop.h>
#include <config_wasm_strip.h>
#include <osl/file.hxx>
#include <sfx2/docfilt.hxx>
#include <sfx2/infobar.hxx>
#include <sfx2/sfxsids.hrc>
#include <sfx2/viewfrm.hxx>
#include <sfx2/classificationhelper.hxx>
#include <sfx2/notebookbar/SfxNotebookBar.hxx>
#include <com/sun/star/document/MacroExecMode.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/DispatchRecorder.hpp>
#include <com/sun/star/frame/DispatchRecorderSupplier.hpp>
#include <com/sun/star/frame/XLoadable.hpp>
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <com/sun/star/frame/XComponentLoader.hpp>
#include <com/sun/star/task/PasswordContainer.hpp>
#include <officecfg/Office/Common.hxx>
#include <officecfg/Setup.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <vcl/wrkwin.hxx>
#include <unotools/moduleoptions.hxx>
#include <svl/intitem.hxx>
#include <svl/visitem.hxx>
#include <svl/stritem.hxx>
#include <svl/eitem.hxx>
#include <svl/whiter.hxx>
#include <svl/undo.hxx>
#include <vcl/help.hxx>
#include <vcl/stdtext.hxx>
#include <vcl/weld.hxx>
#include <vcl/weldutils.hxx>
#include <unotools/VersionConfig.hxx>
#include <unotools/securityoptions.hxx>
#include <svtools/miscopt.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/frame/XFramesSupplier.hpp>
#include <com/sun/star/frame/FrameSearchFlag.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/frame/XController.hpp>
#include <com/sun/star/util/URLTransformer.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
#include <com/sun/star/util/XCloseable.hpp>
#include <com/sun/star/frame/XDispatchRecorderSupplier.hpp>
#include <com/sun/star/document/UpdateDocMode.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/uri/UriReferenceFactory.hpp>
#include <com/sun/star/uri/XVndSunStarScriptUrl.hpp>
#include <com/sun/star/document/XViewDataSupplier.hpp>
#include <com/sun/star/container/XIndexContainer.hpp>
#include <com/sun/star/task/InteractionHandler.hpp>
#include <com/sun/star/drawing/XDrawView.hpp>
#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <unotools/ucbhelper.hxx>
#include <comphelper/lok.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <comphelper/docpasswordrequest.hxx>
#include <comphelper/docpasswordhelper.hxx>
#include <com/sun/star/uno/Reference.h>
#include <basic/basmgr.hxx>
#include <basic/sbmod.hxx>
#include <basic/sbmeth.hxx>
#include <svtools/strings.hrc>
#include <svtools/svtresid.hxx>
#include <framework/framelistanalyzer.hxx>
#include <optional>
#include <comphelper/sequenceashashmap.hxx>
#include <commandpopup/CommandPopup.hxx>
#include <appdata.hxx>
#include <sfx2/app.hxx>
#include <sfx2/objface.hxx>
#include <openflag.hxx>
#include <objshimp.hxx>
#include <sfx2/viewsh.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/request.hxx>
#include <sfx2/docfac.hxx>
#include <sfx2/ipclient.hxx>
#include <sfx2/sfxresid.hxx>
#include <sfx2/viewfac.hxx>
#include <sfx2/event.hxx>
#include <sfx2/fcontnr.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/module.hxx>
#include <sfx2/sfxuno.hxx>
#include <sfx2/progress.hxx>
#include <sfx2/sidebar/Sidebar.hxx>
#include <workwin.hxx>
#include <sfx2/minfitem.hxx>
#include <sfx2/strings.hrc>
#include "impviewframe.hxx"
#include <vcl/commandinfoprovider.hxx>
#include <vcl/svapp.hxx>
#include <sfxslots.hxx>
Include dependency graph for viewfrm.cxx:

Go to the source code of this file.

Macros

#define ShellClass_SfxViewFrame
 

Functions

 IMPL_LINK_NOARG (SfxViewFrame, WhatsNewHandler, weld::Button &, void)
 
 IMPL_LINK_NOARG (SfxViewFrame, GetInvolvedHandler, weld::Button &, void)
 
 IMPL_LINK_NOARG (SfxViewFrame, DonationHandler, weld::Button &, void)
 
 IMPL_LINK (SfxViewFrame, SwitchReadOnlyHandler, weld::Button &, rButton, void)
 
 IMPL_LINK_NOARG (SfxViewFrame, SignDocumentHandler, weld::Button &, void)
 
 IMPL_LINK (SfxViewFrame, HiddenTrackChangesHandler, weld::Button &, rButton, void)
 
 IMPL_LINK_NOARG (SfxViewFrame, HyphenationMissingHandler, weld::Button &, void)
 
 IMPL_LINK_NOARG (SfxViewFrame, MacroButtonHandler, weld::Button &, void)
 
 IMPL_LINK_NOARG (SfxViewFrame, EventButtonHandler, weld::Button &, void)
 
 IMPL_LINK_NOARG (SfxViewFrame, RefreshMasterPasswordHdl, weld::Button &, void)
 
 IMPL_STATIC_LINK_NOARG (SfxViewFrame, HelpMasterPasswordHdl, weld::Button &, void)
 
static bool impl_maxOpenDocCountReached ()
 

Variables

constexpr OUStringLiteral CHANGES_STR = u"private:resource/toolbar/changes"
 

Macro Definition Documentation

◆ ShellClass_SfxViewFrame

#define ShellClass_SfxViewFrame

Definition at line 143 of file viewfrm.cxx.

Function Documentation

◆ IMPL_LINK() [1/2]

IMPL_LINK ( SfxViewFrame  ,
HiddenTrackChangesHandler  ,
weld::Button ,
rButton  ,
void   
)

Definition at line 1774 of file viewfrm.cxx.

References CHANGES_STR, SfxResId(), and u.

◆ IMPL_LINK() [2/2]

IMPL_LINK ( SfxViewFrame  ,
SwitchReadOnlyHandler  ,
weld::Button ,
rButton  ,
void   
)

Definition at line 1758 of file viewfrm.cxx.

References SfxDispatcher::Execute(), GetDispatcher(), and RET_OK.

◆ IMPL_LINK_NOARG() [1/8]

IMPL_LINK_NOARG ( SfxViewFrame  ,
DonationHandler  ,
weld::Button ,
void   
)

Definition at line 1752 of file viewfrm.cxx.

References SfxDispatcher::Execute(), and GetDispatcher().

◆ IMPL_LINK_NOARG() [2/8]

IMPL_LINK_NOARG ( SfxViewFrame  ,
EventButtonHandler  ,
weld::Button ,
void   
)

Definition at line 1812 of file viewfrm.cxx.

References ASYNCHRON, SfxDispatcher::ExecuteList(), and GetDispatcher().

◆ IMPL_LINK_NOARG() [3/8]

IMPL_LINK_NOARG ( SfxViewFrame  ,
GetInvolvedHandler  ,
weld::Button ,
void   
)

Definition at line 1747 of file viewfrm.cxx.

References SfxDispatcher::Execute(), and GetDispatcher().

◆ IMPL_LINK_NOARG() [4/8]

IMPL_LINK_NOARG ( SfxViewFrame  ,
HyphenationMissingHandler  ,
weld::Button ,
void   
)

Definition at line 1796 of file viewfrm.cxx.

References SfxDispatcher::Execute(), GetDispatcher(), and u.

◆ IMPL_LINK_NOARG() [5/8]

IMPL_LINK_NOARG ( SfxViewFrame  ,
MacroButtonHandler  ,
weld::Button ,
void   
)

Definition at line 1802 of file viewfrm.cxx.

References ASYNCHRON, SfxDispatcher::ExecuteList(), and GetDispatcher().

◆ IMPL_LINK_NOARG() [6/8]

IMPL_LINK_NOARG ( SfxViewFrame  ,
RefreshMasterPasswordHdl  ,
weld::Button ,
void   
)

Definition at line 1819 of file viewfrm.cxx.

References Exception, comphelper::getProcessComponentContext(), u, and xFrame.

◆ IMPL_LINK_NOARG() [7/8]

IMPL_LINK_NOARG ( SfxViewFrame  ,
SignDocumentHandler  ,
weld::Button ,
void   
)

Definition at line 1769 of file viewfrm.cxx.

References SfxDispatcher::Execute(), and GetDispatcher().

◆ IMPL_LINK_NOARG() [8/8]

IMPL_LINK_NOARG ( SfxViewFrame  ,
WhatsNewHandler  ,
weld::Button ,
void   
)

Definition at line 1742 of file viewfrm.cxx.

References SfxDispatcher::Execute(), and GetDispatcher().

◆ impl_maxOpenDocCountReached()

static bool impl_maxOpenDocCountReached ( )
static

Definition at line 2656 of file viewfrm.cxx.

References i, x, and xFrame.

Referenced by SfxViewFrame::StateView_Impl().

◆ IMPL_STATIC_LINK_NOARG()

IMPL_STATIC_LINK_NOARG ( SfxViewFrame  ,
HelpMasterPasswordHdl  ,
weld::Button ,
void   
)

Definition at line 1840 of file viewfrm.cxx.

References Application::GetHelp().

Variable Documentation

◆ CHANGES_STR

constexpr OUStringLiteral CHANGES_STR = u"private:resource/toolbar/changes"
constexpr

Definition at line 146 of file viewfrm.cxx.

Referenced by IMPL_LINK(), and SfxViewFrame::Notify().