LibreOffice Module desktop (master) 1
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
desktop::Desktop Class Referencefinal

#include <app.hxx>

Inheritance diagram for desktop::Desktop:
[legend]
Collaboration diagram for desktop::Desktop:
[legend]

Public Types

enum  BootstrapError {
  BE_OK ,
  BE_UNO_SERVICEMANAGER ,
  BE_UNO_SERVICE_CONFIG_MISSING ,
  BE_PATHINFO_MISSING ,
  BE_USERINSTALL_FAILED ,
  BE_LANGUAGE_MISSING ,
  BE_USERINSTALL_NOTENOUGHDISKSPACE ,
  BE_USERINSTALL_NOWRITEACCESS ,
  BE_OFFICECONFIG_BROKEN
}
 
enum  BootstrapStatus {
  BS_OK ,
  BS_TERMINATE
}
 

Public Member Functions

 Desktop ()
 
virtual ~Desktop () override
 
virtual int Main () override
 
virtual void Init () override
 
virtual void InitFinished () override
 
virtual void DeInit () override
 
virtual bool QueryExit () override
 
virtual void Shutdown () override
 
virtual void Exception (ExceptionCategory nCategory) override
 
virtual void OverrideSystemSettings (AllSettings &rSettings) override
 
virtual void AppEvent (const ApplicationEvent &rAppEvent) override
 
 DECL_LINK (OpenClients_Impl, void *, void)
 
 DECL_STATIC_LINK (Desktop, EnableAcceptors_Impl, void *, void)
 
void SetBootstrapError (BootstrapError nError, OUString const &aMessage)
 
void SetBootstrapStatus (BootstrapStatus nStatus)
 
BootstrapStatus GetBootstrapStatus () const
 
void SetSplashScreenText (const OUString &rText)
 
void SetSplashScreenProgress (sal_Int32)
 
- Public Member Functions inherited from Application
virtual int Main ()
 
virtual bool QueryExit ()
 
virtual void Shutdown ()
 
virtual void notifyWindow (vcl::LOKWindowId nLOKWindowId, const OUString &rAction, const std::vector< vcl::LOKPayloadItem > &rPayload=std::vector< vcl::LOKPayloadItem >()) const override
 
virtual void libreOfficeKitViewCallback (int nType, const char *pPayload) const override
 
 Application ()
 
virtual ~Application ()
 
virtual void Init ()
 
virtual void InitFinished ()
 
virtual void DeInit ()
 
 Application ()
 
virtual ~Application ()
 
virtual void Init ()
 
virtual void InitFinished ()
 
virtual void DeInit ()
 
virtual void Exception (ExceptionCategory nCategory)
 
virtual void OverrideSystemSettings (AllSettings &rSettings)
 
virtual void AppEvent (const ApplicationEvent &rAppEvent)
 

Static Public Member Functions

static void OpenClients ()
 
static void OpenDefault ()
 
static void CheckOpenCLCompute (const css::uno::Reference< css::frame::XDesktop2 > &)
 
static void HandleAppEvent (const ApplicationEvent &rAppEvent)
 
static CommandLineArgsGetCommandLineArgs ()
 
static void HandleBootstrapErrors (BootstrapError nError, OUString const &aMessage)
 
static bool CheckExtensionDependencies ()
 
static void SynchronizeExtensionRepositories (bool bCleanedExtensionCache, Desktop *pDesktop=nullptr)
 
static void InitApplicationServiceManager ()
 
static void CreateTemporaryDirectory ()
 
static void RemoveTemporaryDirectory ()
 
- Static Public Member Functions inherited from Application
static bool IsUICaptured ()
 
static void SetAppName (const OUString &rUniqueName)
 
static const OUString & GetDesktopEnvironment ()
 
static void setDeInitHook (Link< LinkParamNone *, void > const &hook)
 
static std::unique_ptr< weld::BuilderCreateBuilder (weld::Widget *pParent, const OUString &rUIFile, bool bMobile=false, sal_uInt64 nLOKWindowId=0)
 
static std::unique_ptr< weld::BuilderCreateInterimBuilder (vcl::Window *pParent, const OUString &rUIFile, bool bAllowCycleFocusOut, sal_uInt64 nLOKWindowId=0)
 
static weld::MessageDialogCreateMessageDialog (weld::Widget *pParent, VclMessageType eMessageType, VclButtonsType eButtonType, const OUString &rPrimaryMessage, bool bMobile=false)
 
static weld::WindowGetFrameWeld (const css::uno::Reference< css::awt::XWindow > &rWindow)
 
static void NotifyAllWindows (DataChangedEvent &rDCEvt)
 
static sal_uInt16 GetCommandLineParamCount ()
 
static OUString GetCommandLineParam (sal_uInt16 nParam)
 
static OUString GetAppFileName ()
 
static void Execute ()
 
static void Quit ()
 
static bool IsQuit ()
 
static bool Reschedule (bool bHandleAllCurrentEvents=false)
 
static void Yield ()
 
static void EndYield ()
 
static comphelper::SolarMutexGetSolarMutex ()
 
static bool IsMainThread ()
 
static sal_uInt32 ReleaseSolarMutex ()
 
static void AcquireSolarMutex (sal_uInt32 nCount)
 
static bool IsInMain ()
 
static bool IsInExecute ()
 
static bool IsInModalMode ()
 
static sal_uInt16 GetDispatchLevel ()
 
static bool AnyInput (VclInputFlags nType=VCL_INPUT_ANY)
 
static sal_uInt64 GetLastInputInterval ()
 
static vcl::WindowGetFocusWindow ()
 
static OutputDeviceGetDefaultDevice ()
 
static basegfx::SystemDependentDataManagerGetSystemDependentDataManager ()
 
static vcl::WindowGetFirstTopLevelWindow ()
 
static vcl::WindowGetNextTopLevelWindow (vcl::Window const *pWindow)
 
static tools::Long GetTopWindowCount ()
 
static vcl::WindowGetTopWindow (tools::Long nIndex)
 
static vcl::WindowGetActiveTopWindow ()
 
static OUString GetAppName ()
 
static OUString GetOSVersion ()
 
static OUString GetHWOSConfInfo (const int bSelection=0, bool bLocalize=true)
 
static bool LoadBrandBitmap (std::u16string_view pName, BitmapEx &rBitmap)
 
static void SetDisplayName (const OUString &rDisplayName)
 
static OUString GetDisplayName ()
 
static OUString GetToolkitName ()
 
static unsigned int GetScreenCount ()
 
static tools::Rectangle GetScreenPosSizePixel (unsigned int nScreen)
 
static bool IsUnifiedDisplay ()
 
static SAL_DLLPRIVATE unsigned int GetBestScreen (const tools::Rectangle &)
 
static unsigned int GetDisplayBuiltInScreen ()
 
static unsigned int GetDisplayExternalScreen ()
 
static bool InsertAccel (Accelerator *pAccel)
 
static void RemoveAccel (Accelerator const *pAccel)
 
static size_t GetReservedKeyCodeCount ()
 
static const vcl::KeyCodeGetReservedKeyCode (size_t i)
 
static void SetHelp (Help *pHelp=nullptr)
 
static HelpGetHelp ()
 
static weld::WindowGetDefDialogParent ()
 
static DialogCancelMode GetDialogCancelMode ()
 
static void SetDialogCancelMode (DialogCancelMode mode)
 
static bool IsDialogCancelEnabled ()
 
static void SetSystemWindowMode (SystemWindowFlags nMode)
 
static SystemWindowFlags GetSystemWindowMode ()
 
static css::uno::Reference< css::awt::XToolkit > GetVCLToolkit ()
 
static void SetFilterHdl (const Link< ConvertData &, bool > &rLink)
 
static void EnableHeadlessMode (bool dialogsAreFatal)
 
static bool IsHeadlessModeEnabled ()
 
static void EnableConsoleOnly ()
 
static void EnableBitmapRendering ()
 
static bool IsBitmapRendering ()
 
static void EnableEventTestingMode ()
 
static bool IsEventTestingModeEnabled ()
 
static void EnableSafeMode ()
 
static bool IsSafeModeEnabled ()
 
static void AddToRecentDocumentList (const OUString &rFileUrl, const OUString &rMimeType, const OUString &rDocumentService)
 
static void ShowNativeErrorBox (const OUString &sTitle, const OUString &sMessage)
 
static void UpdateMainThread ()
 
static bool hasNativeFileSelection ()
 
static css::uno::Reference< css::ui::dialogs::XFilePicker2 > createFilePicker (const css::uno::Reference< css::uno::XComponentContext > &rServiceManager)
 
static css::uno::Reference< css::ui::dialogs::XFolderPicker2 > createFolderPicker (const css::uno::Reference< css::uno::XComponentContext > &rServiceManager)
 
static void EndAllDialogs ()
 
static void EndAllPopups ()
 
static bool IsOnSystemEventLoop ()
 
static void Abort (const OUString &rErrorText)
 
static void MergeSystemSettings (AllSettings &rSettings)
 
static void SetSettings (const AllSettings &rSettings)
 
static const AllSettingsGetSettings ()
 
static const LocaleDataWrapperGetAppLocaleDataWrapper ()
 
static void AddEventListener (const Link< VclSimpleEvent &, void > &rEventListener)
 
static void RemoveEventListener (const Link< VclSimpleEvent &, void > &rEventListener)
 
static void AddKeyListener (const Link< VclWindowEvent &, bool > &rKeyListener)
 
static void RemoveKeyListener (const Link< VclWindowEvent &, bool > &rKeyListener)
 
static void ImplCallEventListenersApplicationDataChanged (void *pData)
 
static void ImplCallEventListeners (VclSimpleEvent &rEvent)
 
static bool HandleKey (VclEventId nEvent, vcl::Window *pWin, KeyEvent *pKeyEvent)
 
static ImplSVEventPostKeyEvent (VclEventId nEvent, vcl::Window *pWin, KeyEvent const *pKeyEvent)
 
static bool LOKHandleMouseEvent (VclEventId nEvent, vcl::Window *pWin, const MouseEvent *pEvent)
 
static ImplSVEventPostMouseEvent (VclEventId nEvent, vcl::Window *pWin, MouseEvent const *pMouseEvent)
 
static ImplSVEventPostGestureEvent (VclEventId nEvent, vcl::Window *pWin, GestureEventPan const *pGestureEvent)
 
static void RemoveMouseAndKeyEvents (vcl::Window *pWin)
 
static ImplSVEventPostUserEvent (const Link< void *, void > &rLink, void *pCaller=nullptr, bool bReferenceLink=false)
 
static void RemoveUserEvent (ImplSVEvent *nUserEvent)
 
static css::uno::Reference< css::awt::XDisplayConnection > GetDisplayConnection ()
 
static void NotifyAllWindows (DataChangedEvent &rDCEvt)
 
static sal_uInt16 GetCommandLineParamCount ()
 
static OUString GetCommandLineParam (sal_uInt16 nParam)
 
static OUString GetAppFileName ()
 
static void Execute ()
 
static void Quit ()
 
static bool IsQuit ()
 
static bool Reschedule (bool bHandleAllCurrentEvents=false)
 
static void Yield ()
 
static void EndYield ()
 
static comphelper::SolarMutexGetSolarMutex ()
 
static bool IsMainThread ()
 
static sal_uInt32 ReleaseSolarMutex ()
 
static void AcquireSolarMutex (sal_uInt32 nCount)
 
static bool IsInMain ()
 
static bool IsInExecute ()
 
static bool IsInModalMode ()
 
static sal_uInt16 GetDispatchLevel ()
 
static bool AnyInput (VclInputFlags nType=VCL_INPUT_ANY)
 
static sal_uInt64 GetLastInputInterval ()
 
static vcl::WindowGetFocusWindow ()
 
static OutputDeviceGetDefaultDevice ()
 
static basegfx::SystemDependentDataManagerGetSystemDependentDataManager ()
 
static vcl::WindowGetFirstTopLevelWindow ()
 
static vcl::WindowGetNextTopLevelWindow (vcl::Window const *pWindow)
 
static tools::Long GetTopWindowCount ()
 
static vcl::WindowGetTopWindow (tools::Long nIndex)
 
static vcl::WindowGetActiveTopWindow ()
 
static OUString GetAppName ()
 
static OUString GetOSVersion ()
 
static OUString GetHWOSConfInfo (const int bSelection=0, bool bLocalize=true)
 
static bool LoadBrandBitmap (std::u16string_view pName, BitmapEx &rBitmap)
 
static void SetDisplayName (const OUString &rDisplayName)
 
static OUString GetDisplayName ()
 
static OUString GetToolkitName ()
 
static unsigned int GetScreenCount ()
 
static tools::Rectangle GetScreenPosSizePixel (unsigned int nScreen)
 
static bool IsUnifiedDisplay ()
 
static SAL_DLLPRIVATE unsigned int GetBestScreen (const tools::Rectangle &)
 
static unsigned int GetDisplayBuiltInScreen ()
 
static unsigned int GetDisplayExternalScreen ()
 
static bool InsertAccel (Accelerator *pAccel)
 
static void RemoveAccel (Accelerator const *pAccel)
 
static size_t GetReservedKeyCodeCount ()
 
static const vcl::KeyCodeGetReservedKeyCode (size_t i)
 
static void SetHelp (Help *pHelp=nullptr)
 
static HelpGetHelp ()
 
static weld::WindowGetDefDialogParent ()
 
static DialogCancelMode GetDialogCancelMode ()
 
static void SetDialogCancelMode (DialogCancelMode mode)
 
static bool IsDialogCancelEnabled ()
 
static void SetSystemWindowMode (SystemWindowFlags nMode)
 
static SystemWindowFlags GetSystemWindowMode ()
 
static css::uno::Reference< css::awt::XToolkit > GetVCLToolkit ()
 
static void SetFilterHdl (const Link< ConvertData &, bool > &rLink)
 
static void EnableHeadlessMode (bool dialogsAreFatal)
 
static bool IsHeadlessModeEnabled ()
 
static void EnableConsoleOnly ()
 
static void EnableBitmapRendering ()
 
static bool IsBitmapRendering ()
 
static void EnableEventTestingMode ()
 
static bool IsEventTestingModeEnabled ()
 
static void EnableSafeMode ()
 
static bool IsSafeModeEnabled ()
 
static void AddToRecentDocumentList (const OUString &rFileUrl, const OUString &rMimeType, const OUString &rDocumentService)
 
static void ShowNativeErrorBox (const OUString &sTitle, const OUString &sMessage)
 
static void UpdateMainThread ()
 
static bool hasNativeFileSelection ()
 
static css::uno::Reference< css::ui::dialogs::XFilePicker2 > createFilePicker (const css::uno::Reference< css::uno::XComponentContext > &rServiceManager)
 
static css::uno::Reference< css::ui::dialogs::XFolderPicker2 > createFolderPicker (const css::uno::Reference< css::uno::XComponentContext > &rServiceManager)
 
static void EndAllDialogs ()
 
static void EndAllPopups ()
 
static bool IsOnSystemEventLoop ()
 

Private Member Functions

int doShutdown ()
 
void RegisterServices ()
 
void OpenSplashScreen ()
 
void CloseSplashScreen ()
 
 DECL_STATIC_LINK (Desktop, ImplInitFilterHdl, ::ConvertData &, bool)
 
 DECL_STATIC_LINK (Desktop, AsyncInitFirstRun, Timer *, void)
 
void CheckFirstRun ()
 checks if the office is run the first time More...
 

Static Private Member Functions

static void DeregisterServices ()
 
static bool InitializeConfiguration ()
 
static void FlushConfiguration ()
 
static bool InitializeQuickstartMode (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
static void HandleBootstrapPathErrors (::utl::Bootstrap::Status, std::u16string_view aMsg)
 
static OUString CreateErrorMsgString (utl::Bootstrap::FailureCode nFailureCode, const OUString &aFileURL)
 
static void ShowBackingComponent (Desktop *progress)
 
static void createAcceptor (const OUString &aDescription)
 
static void destroyAcceptor (const OUString &aDescription)
 

Private Attributes

css::uno::Reference< css::task::XStatusIndicator > m_rSplashScreen
 
bool m_bCleanedExtensionCache
 
bool m_bServicesRegistered
 
BootstrapError m_aBootstrapError
 
OUString m_aBootstrapErrorMessage
 
BootstrapStatus m_aBootstrapStatus
 
std::unique_ptr< Lockfilem_xLockfile
 
Timer m_firstRunTimer
 
std::thread m_aUpdateThread
 

Additional Inherited Members

- Public Attributes inherited from Application
void * m_pCallbackData
 
LibreOfficeKitCallback m_pCallback
 

Detailed Description

Definition at line 46 of file app.hxx.

Member Enumeration Documentation

◆ BootstrapError

Enumerator
BE_OK 
BE_UNO_SERVICEMANAGER 
BE_UNO_SERVICE_CONFIG_MISSING 
BE_PATHINFO_MISSING 
BE_USERINSTALL_FAILED 
BE_LANGUAGE_MISSING 
BE_USERINSTALL_NOTENOUGHDISKSPACE 
BE_USERINSTALL_NOWRITEACCESS 
BE_OFFICECONFIG_BROKEN 

Definition at line 51 of file app.hxx.

◆ BootstrapStatus

Enumerator
BS_OK 
BS_TERMINATE 

Definition at line 63 of file app.hxx.

Constructor & Destructor Documentation

◆ Desktop()

desktop::Desktop::Desktop ( )

Definition at line 424 of file app.cxx.

References LINK, m_firstRunTimer, Timer::SetInvokeHandler(), and Timer::SetTimeout().

◆ ~Desktop()

desktop::Desktop::~Desktop ( )
overridevirtual

Definition at line 435 of file app.cxx.

Member Function Documentation

◆ AppEvent()

void desktop::Desktop::AppEvent ( const ApplicationEvent rAppEvent)
overridevirtual

Reimplemented from Application.

Definition at line 1187 of file app.cxx.

References HandleAppEvent().

◆ CheckExtensionDependencies()

bool Desktop::CheckExtensionDependencies ( )
static

◆ CheckFirstRun()

void desktop::Desktop::CheckFirstRun ( )
private

checks if the office is run the first time

If so, <method>DoFirstRunInitializations</method> is called (asynchronously and delayed) and the respective flag in the configuration is reset.

Definition at line 2556 of file app.cxx.

References comphelper::ConfigurationChanges::create(), m_firstRunTimer, desktop::ReplaceStringHookProc(), Timer::Start(), and xContext.

◆ CheckOpenCLCompute()

static void desktop::Desktop::CheckOpenCLCompute ( const css::uno::Reference< css::frame::XDesktop2 > &  )
static

Referenced by Main().

◆ CloseSplashScreen()

void desktop::Desktop::CloseSplashScreen ( )
private

Definition at line 2480 of file app.cxx.

References m_rSplashScreen.

Referenced by DeInit(), InitFinished(), Main(), and ShowBackingComponent().

◆ createAcceptor()

void desktop::Desktop::createAcceptor ( const OUString &  aDescription)
staticprivate

Definition at line 138 of file appinit.cxx.

References Any, aSeq, desktop::bAccept, SAL_WARN, TOOLS_WARN_EXCEPTION, and xContext.

Referenced by HandleAppEvent(), and RegisterServices().

◆ CreateErrorMsgString()

OUString desktop::Desktop::CreateErrorMsgString ( utl::Bootstrap::FailureCode  nFailureCode,
const OUString &  aFileURL 
)
staticprivate

the shared installation directory could not be located

the bootstrap INI file could not be found or read

the bootstrap INI is missing a required entry the bootstrap INI contains invalid data

the version locator INI file could not be found or read

the version locator INI has no entry for this version

the user installation directory does not exist

some bootstrap data was invalid in unexpected ways

Definition at line 641 of file app.cxx.

References DpResId().

Referenced by HandleBootstrapErrors(), and InitializeConfiguration().

◆ CreateTemporaryDirectory()

void desktop::Desktop::CreateTemporaryDirectory ( )
static

Definition at line 230 of file appinit.cxx.

References DpResId(), and SvtPathOptions::GetTempPath().

Referenced by lo_initialize(), and RegisterServices().

◆ DECL_LINK()

desktop::Desktop::DECL_LINK ( OpenClients_Impl  ,
void *  ,
void   
)

◆ DECL_STATIC_LINK() [1/3]

desktop::Desktop::DECL_STATIC_LINK ( Desktop  ,
AsyncInitFirstRun  ,
Timer ,
void   
)
private

◆ DECL_STATIC_LINK() [2/3]

desktop::Desktop::DECL_STATIC_LINK ( Desktop  ,
EnableAcceptors_Impl  ,
void *  ,
void   
)

◆ DECL_STATIC_LINK() [3/3]

desktop::Desktop::DECL_STATIC_LINK ( Desktop  ,
ImplInitFilterHdl  ,
::ConvertData ,
bool   
)
private

◆ DeInit()

void desktop::Desktop::DeInit ( )
overridevirtual

◆ DeregisterServices()

void desktop::Desktop::DeregisterServices ( )
staticprivate

Definition at line 224 of file appinit.cxx.

Referenced by doShutdown().

◆ destroyAcceptor()

void desktop::Desktop::destroyAcceptor ( const OUString &  aDescription)
staticprivate

Definition at line 203 of file appinit.cxx.

References SAL_WARN.

Referenced by HandleAppEvent().

◆ doShutdown()

int desktop::Desktop::doShutdown ( )
private

◆ Exception()

void desktop::Desktop::Exception ( ExceptionCategory  nCategory)
overridevirtual

◆ FlushConfiguration()

void desktop::Desktop::FlushConfiguration ( )
staticprivate

Definition at line 1798 of file app.cxx.

References comphelper::getProcessComponentContext().

Referenced by DeInit(), doShutdown(), Exception(), and QueryExit().

◆ GetBootstrapStatus()

BootstrapStatus desktop::Desktop::GetBootstrapStatus ( ) const
inline

Definition at line 109 of file app.hxx.

References m_aBootstrapStatus.

Referenced by Main().

◆ GetCommandLineArgs()

CommandLineArgs & desktop::Desktop::GetCommandLineArgs ( )
static

◆ HandleAppEvent()

void desktop::Desktop::HandleAppEvent ( const ApplicationEvent rAppEvent)
static

◆ HandleBootstrapErrors()

void desktop::Desktop::HandleBootstrapErrors ( BootstrapError  nError,
OUString const &  aMessage 
)
static

the bootstrap INI file could not be found or read the bootstrap INI is missing a required entry the bootstrap INI contains invalid data

the version locator INI file could not be found or read the version locator INI has no entry for this version the version locator INI entry is not a valid directory URL

the user installation directory does not exist

Definition at line 732 of file app.cxx.

References aBuffer, BE_LANGUAGE_MISSING, BE_OFFICECONFIG_BROKEN, BE_PATHINFO_MISSING, BE_UNO_SERVICE_CONFIG_MISSING, BE_UNO_SERVICEMANAGER, BE_USERINSTALL_FAILED, BE_USERINSTALL_NOTENOUGHDISKSPACE, BE_USERINSTALL_NOWRITEACCESS, utl::Bootstrap::checkBootstrapStatus(), CreateErrorMsgString(), utl::Bootstrap::DATA_OK, DpResId(), HandleBootstrapPathErrors(), utl::Bootstrap::locateBootstrapFile(), utl::Bootstrap::locateUserInstallation(), utl::Bootstrap::locateVersionFile(), sfx2::SafeMode::putFlag(), and comphelper::BackupFileHelper::setExitWasCalled().

Referenced by InitializeConfiguration(), and Main().

◆ HandleBootstrapPathErrors()

void desktop::Desktop::HandleBootstrapPathErrors ( ::utl::Bootstrap::Status  aBootstrapStatus,
std::u16string_view  aMsg 
)
staticprivate

◆ Init()

void desktop::Desktop::Init ( void  )
overridevirtual

◆ InitApplicationServiceManager()

void desktop::Desktop::InitApplicationServiceManager ( )
static

◆ InitFinished()

void desktop::Desktop::InitFinished ( )
overridevirtual

Reimplemented from Application.

Definition at line 535 of file app.cxx.

References CloseSplashScreen().

◆ InitializeConfiguration()

bool desktop::Desktop::InitializeConfiguration ( )
staticprivate

◆ InitializeQuickstartMode()

bool desktop::Desktop::InitializeQuickstartMode ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext)
staticprivate

Definition at line 1806 of file app.cxx.

Referenced by Main().

◆ Main()

int desktop::Desktop::Main ( )
overridevirtual

Reimplemented from Application.

Definition at line 1243 of file app.cxx.

References aEvent, Application::AnyInput(), svtools::ApplyFontSubstitutionsToVcl(), BE_OK, BE_USERINSTALL_FAILED, BE_USERINSTALL_NOTENOUGHDISKSPACE, BE_USERINSTALL_NOWRITEACCESS, BS_TERMINATE, CheckExtensionDependencies(), CheckOpenCLCompute(), CloseSplashScreen(), comphelper::ConfigurationChanges::create(), dp_registry::backend::bundle::create(), desktop::userinstall::CREATED, doShutdown(), desktop::userinstall::ERROR_CANT_WRITE, desktop::userinstall::ERROR_NO_SPACE, Application::Execute(), desktop::userinstall::EXISTED, desktop::userinstall::finalize(), GetBootstrapStatus(), Updater::getBuildID(), utl::Bootstrap::getBuildIdData(), GetCommandLineArgs(), Application::GetDefaultDevice(), MiscSettings::GetEnableATToolSupport(), AllSettings::GetMiscSettings(), GETPID, desktop::CommandLineArgs::GetPidfileName(), Application::GetSettings(), tools::Time::GetSystemTicks(), Updater::getUpdateFileURL(), HandleBootstrapErrors(), InitAccessBridge(), InitializeConfiguration(), InitializeQuickstartMode(), desktop::CommandLineArgs::IsEventTesting(), desktop::CommandLineArgs::IsHeadless(), desktop::CommandLineArgs::IsInvisible(), desktop::CommandLineArgs::IsNoLockcheck(), desktop::CommandLineArgs::IsNoQuickstart(), desktop::CommandLineArgs::IsQuickstart(), desktop::CommandLineArgs::IsTerminateAfterInit(), LINK, desktop::Lockfile_execWarning(), Updater::log(), m_aBootstrapError, m_aBootstrapErrorMessage, m_aUpdateThread, m_bCleanedExtensionCache, m_xLockfile, desktop::Migration::migrateSettingsIfNecessary(), OpenSplashScreen(), desktop::pExecGlobals, Application::PostUserEvent(), RegisterServices(), utl::Bootstrap::reloadData(), Updater::removeUpdateFiles(), desktop::ReplaceStringHookProc(), RID_APPTITLE, SAL_CONFIGFILE, SAL_INFO, SAL_WARN, SvtTabAppearanceCfg::SetApplicationDefaults(), Application::SetDisplayName(), Application::SetFilterHdl(), SvtTabAppearanceCfg::SetInitialized(), Translate::SetReadStringHook(), SetSplashScreenProgress(), Application::SetSystemWindowMode(), SvtAccessibilityOptions::SetVCLSettings(), ShowBackingComponent(), SvtModuleOptions::STARTMODULE, SynchronizeExtensionRepositories(), update(), update_checker(), desktop::CommandLineArgs::WantsToLoadDocument(), and xContext.

◆ OpenClients()

void desktop::Desktop::OpenClients ( )
static

Definition at line 1937 of file app.cxx.

References desktop::ProcessDocumentsRequest::aConversionList, desktop::ProcessDocumentsRequest::aConversionOut, desktop::ProcessDocumentsRequest::aConversionParams, CrashReporter::addKeyValue(), desktop::ProcessDocumentsRequest::aForceNewList, desktop::ProcessDocumentsRequest::aForceOpenList, desktop::ProcessDocumentsRequest::aImageConversionType, desktop::ProcessDocumentsRequest::aInFilter, desktop::ProcessDocumentsRequest::aModule, Application::AnyInput(), desktop::ProcessDocumentsRequest::aOpenList, desktop::ProcessDocumentsRequest::aPrinterName, desktop::ProcessDocumentsRequest::aPrintList, desktop::ProcessDocumentsRequest::aPrintToList, desktop::ProcessDocumentsRequest::aStartList, desktop::ProcessDocumentsRequest::aViewList, desktop::ProcessDocumentsRequest::bScriptCat, desktop::ProcessDocumentsRequest::bTextCat, SvtModuleOptions::CALC, dp_registry::backend::bundle::create(), CrashReporter::Create, Application::CreateMessageDialog(), DpResId(), SvtModuleOptions::DRAW, desktop::RequestHandler::EnableRequests(), desktop::RequestHandler::ExecuteCmdLineRequests(), GetCommandLineArgs(), desktop::CommandLineArgs::GetConversionList(), desktop::CommandLineArgs::GetConversionOut(), desktop::CommandLineArgs::GetConversionParams(), desktop::CommandLineArgs::getCwdUrl(), MiscSettings::GetDisablePrinting(), SvtModuleOptions::GetFactoryName(), desktop::CommandLineArgs::GetForceNewList(), desktop::CommandLineArgs::GetForceOpenList(), Application::GetHelp(), desktop::CommandLineArgs::GetImageConversionType(), desktop::CommandLineArgs::GetInFilter(), AllSettings::GetMiscSettings(), desktop::CommandLineArgs::GetOpenList(), desktop::CommandLineArgs::GetPrinterName(), desktop::CommandLineArgs::GetPrintList(), desktop::CommandLineArgs::GetPrintToList(), Application::GetSettings(), desktop::CommandLineArgs::GetStartList(), utl::ConfigManager::getUILocale(), desktop::CommandLineArgs::GetViewList(), desktop::CommandLineArgs::HasModuleParam(), SvtModuleOptions::IMPRESS, desktop::CommandLineArgs::IsCalc(), desktop::CommandLineArgs::IsDraw(), desktop::CommandLineArgs::IsHeadless(), desktop::CommandLineArgs::IsHelpBase(), desktop::CommandLineArgs::IsHelpBasic(), desktop::CommandLineArgs::IsHelpCalc(), desktop::CommandLineArgs::IsHelpDraw(), desktop::CommandLineArgs::IsHelpImpress(), desktop::CommandLineArgs::IsHelpMath(), desktop::CommandLineArgs::IsHelpWriter(), desktop::CommandLineArgs::IsImpress(), desktop::CommandLineArgs::IsInvisible(), SvtModuleOptions::IsModuleInstalled(), desktop::CommandLineArgs::IsNoRestore(), Application::IsOnSystemEventLoop(), desktop::CommandLineArgs::IsQuickstart(), Application::IsSafeModeEnabled(), desktop::CommandLineArgs::IsScriptCat(), desktop::CommandLineArgs::IsTextCat(), desktop::CommandLineArgs::IsWriter(), OpenDefault(), Help::Start(), TOOLS_WARN_EXCEPTION, and SvtModuleOptions::WRITER.

◆ OpenDefault()

void desktop::Desktop::OpenDefault ( )
static

◆ OpenSplashScreen()

void desktop::Desktop::OpenSplashScreen ( )
private

◆ OverrideSystemSettings()

void desktop::Desktop::OverrideSystemSettings ( AllSettings rSettings)
overridevirtual

◆ QueryExit()

bool desktop::Desktop::QueryExit ( )
overridevirtual

◆ RegisterServices()

void desktop::Desktop::RegisterServices ( )
private

◆ RemoveTemporaryDirectory()

void desktop::Desktop::RemoveTemporaryDirectory ( )
static

Definition at line 265 of file appinit.cxx.

Referenced by doShutdown().

◆ SetBootstrapError()

void desktop::Desktop::SetBootstrapError ( BootstrapError  nError,
OUString const &  aMessage 
)
inline

Definition at line 94 of file app.hxx.

References BE_OK, m_aBootstrapError, m_aBootstrapErrorMessage, and SAL_INFO.

Referenced by Init().

◆ SetBootstrapStatus()

void desktop::Desktop::SetBootstrapStatus ( BootstrapStatus  nStatus)
inline

Definition at line 105 of file app.hxx.

References m_aBootstrapStatus.

Referenced by Init().

◆ SetSplashScreenProgress()

void desktop::Desktop::SetSplashScreenProgress ( sal_Int32  iProgress)

Definition at line 2456 of file app.cxx.

References m_rSplashScreen.

Referenced by Main(), and ShowBackingComponent().

◆ SetSplashScreenText()

void desktop::Desktop::SetSplashScreenText ( const OUString &  rText)

Definition at line 2468 of file app.cxx.

References m_rSplashScreen.

◆ ShowBackingComponent()

void desktop::Desktop::ShowBackingComponent ( Desktop progress)
staticprivate

◆ Shutdown()

void desktop::Desktop::Shutdown ( )
overridevirtual

Reimplemented from Application.

Definition at line 610 of file app.cxx.

References framework::getDesktop().

◆ SynchronizeExtensionRepositories()

void Desktop::SynchronizeExtensionRepositories ( bool  bCleanedExtensionCache,
Desktop pDesktop = nullptr 
)
static

Member Data Documentation

◆ m_aBootstrapError

BootstrapError desktop::Desktop::m_aBootstrapError
private

Definition at line 164 of file app.hxx.

Referenced by Init(), Main(), and SetBootstrapError().

◆ m_aBootstrapErrorMessage

OUString desktop::Desktop::m_aBootstrapErrorMessage
private

Definition at line 165 of file app.hxx.

Referenced by Main(), and SetBootstrapError().

◆ m_aBootstrapStatus

BootstrapStatus desktop::Desktop::m_aBootstrapStatus
private

Definition at line 166 of file app.hxx.

Referenced by GetBootstrapStatus(), and SetBootstrapStatus().

◆ m_aUpdateThread

std::thread desktop::Desktop::m_aUpdateThread
private

Definition at line 170 of file app.hxx.

Referenced by doShutdown(), and Main().

◆ m_bCleanedExtensionCache

bool desktop::Desktop::m_bCleanedExtensionCache
private

Definition at line 162 of file app.hxx.

Referenced by Init(), and Main().

◆ m_bServicesRegistered

bool desktop::Desktop::m_bServicesRegistered
private

Definition at line 163 of file app.hxx.

Referenced by RegisterServices().

◆ m_firstRunTimer

Timer desktop::Desktop::m_firstRunTimer
private

Definition at line 169 of file app.hxx.

Referenced by CheckFirstRun(), and Desktop().

◆ m_rSplashScreen

css::uno::Reference<css::task::XStatusIndicator> desktop::Desktop::m_rSplashScreen
private

◆ m_xLockfile

std::unique_ptr<Lockfile> desktop::Desktop::m_xLockfile
private

Definition at line 168 of file app.hxx.

Referenced by DeInit(), Exception(), Main(), and QueryExit().


The documentation for this class was generated from the following files: