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 Reference

#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 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
 Application ()
 
virtual ~Application ()
 
 Application ()
 
virtual ~Application ()
 

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 LockFontUpdates (bool bLock)
 
static void setDeInitHook (Link< LinkParamNone *, void > const &hook)
 
static weld::BuilderCreateBuilder (weld::Widget *pParent, const OUString &rUIFile)
 
static weld::BuilderCreateInterimBuilder (vcl::Window *pParent, const OUString &rUIFile)
 
static weld::BuilderCreateInterimBuilder (weld::Widget *pParent, const OUString &rUIFile)
 
static weld::MessageDialogCreateMessageDialog (weld::Widget *pParent, VclMessageType eMessageType, VclButtonsType eButtonType, const OUString &rPrimaryMessage)
 
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 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 WorkWindowGetAppWindow ()
 
static vcl::WindowGetFocusWindow ()
 
static OutputDeviceGetDefaultDevice ()
 
static vcl::WindowGetFirstTopLevelWindow ()
 
static vcl::WindowGetNextTopLevelWindow (vcl::Window const *pWindow)
 
static long GetTopWindowCount ()
 
static vcl::WindowGetTopWindow (long nIndex)
 
static vcl::WindowGetActiveTopWindow ()
 
static OUString GetAppName ()
 
static OUString GetHWOSConfInfo ()
 
static bool LoadBrandBitmap (const char *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 sal_uLong GetReservedKeyCodeCount ()
 
static const vcl::KeyCodeGetReservedKeyCode (sal_uLong i)
 
static void SetHelp (Help *pHelp=nullptr)
 
static HelpGetHelp ()
 
static vcl::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 bool CanToggleImeStatusWindow ()
 
static void ShowImeStatusWindow (bool bShow)
 
static bool GetShowImeStatusWindowDefault ()
 
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 void NotifyAllWindows (DataChangedEvent &rDCEvt)
 
static sal_uInt16 GetCommandLineParamCount ()
 
static OUString GetCommandLineParam (sal_uInt16 nParam)
 
static OUString GetAppFileName ()
 
static void Abort (const OUString &rErrorText)
 
static void Execute ()
 
static void Quit ()
 
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 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 ImplSVEventPostMouseEvent (VclEventId nEvent, vcl::Window *pWin, MouseEvent const *pMouseEvent)
 
static ImplSVEventPostGestureEvent (VclEventId nEvent, vcl::Window *pWin, GestureEvent 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 WorkWindowGetAppWindow ()
 
static vcl::WindowGetFocusWindow ()
 
static OutputDeviceGetDefaultDevice ()
 
static vcl::WindowGetFirstTopLevelWindow ()
 
static vcl::WindowGetNextTopLevelWindow (vcl::Window const *pWindow)
 
static long GetTopWindowCount ()
 
static vcl::WindowGetTopWindow (long nIndex)
 
static vcl::WindowGetActiveTopWindow ()
 
static OUString GetAppName ()
 
static OUString GetHWOSConfInfo ()
 
static bool LoadBrandBitmap (const char *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 sal_uLong GetReservedKeyCodeCount ()
 
static const vcl::KeyCodeGetReservedKeyCode (sal_uLong i)
 
static void SetHelp (Help *pHelp=nullptr)
 
static HelpGetHelp ()
 
static vcl::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 bool CanToggleImeStatusWindow ()
 
static void ShowImeStatusWindow (bool bShow)
 
static bool GetShowImeStatusWindowDefault ()
 
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 ()
 

Private Member Functions

int doShutdown ()
 
void RegisterServices (css::uno::Reference< css::uno::XComponentContext > const &context)
 
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, const OUString &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
 

Detailed Description

Definition at line 50 of file app.hxx.

Member Enumeration Documentation

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 55 of file app.hxx.

Enumerator
BS_OK 
BS_TERMINATE 

Definition at line 67 of file app.hxx.

Constructor & Destructor Documentation

desktop::Desktop::Desktop ( )
desktop::Desktop::~Desktop ( )
overridevirtual

Definition at line 450 of file app.cxx.

Member Function Documentation

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

Reimplemented from Application.

Definition at line 1219 of file app.cxx.

References HandleAppEvent().

bool Desktop::CheckExtensionDependencies ( )
static
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 2559 of file app.cxx.

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

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

Referenced by Main().

void desktop::Desktop::CloseSplashScreen ( )
private

Definition at line 2485 of file app.cxx.

References m_rSplashScreen.

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

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

Definition at line 141 of file appinit.cxx.

References desktop::bAccept, SAL_WARN, and xContext.

Referenced by HandleAppEvent(), and RegisterServices().

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 653 of file app.cxx.

References DpResId().

Referenced by HandleBootstrapErrors(), and InitializeConfiguration().

void desktop::Desktop::CreateTemporaryDirectory ( )
static
desktop::Desktop::DECL_LINK ( OpenClients_Impl  ,
void ,
void   
)
desktop::Desktop::DECL_STATIC_LINK ( Desktop  ,
EnableAcceptors_Impl  ,
void ,
void   
)
desktop::Desktop::DECL_STATIC_LINK ( Desktop  ,
ImplInitFilterHdl  ,
::ConvertData ,
bool   
)
private
desktop::Desktop::DECL_STATIC_LINK ( Desktop  ,
AsyncInitFirstRun  ,
Timer ,
void   
)
private
void desktop::Desktop::DeInit ( )
overridevirtual
void desktop::Desktop::DeregisterServices ( )
staticprivate

Definition at line 227 of file appinit.cxx.

Referenced by doShutdown().

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

Definition at line 206 of file appinit.cxx.

References SAL_WARN.

Referenced by HandleAppEvent().

int desktop::Desktop::doShutdown ( )
private
void desktop::Desktop::Exception ( ExceptionCategory  nCategory)
overridevirtual
void desktop::Desktop::FlushConfiguration ( )
staticprivate

Definition at line 1825 of file app.cxx.

References comphelper::getProcessComponentContext().

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

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

Definition at line 112 of file app.hxx.

References m_aBootstrapStatus.

Referenced by Main().

CommandLineArgs & desktop::Desktop::GetCommandLineArgs ( )
static
void desktop::Desktop::HandleAppEvent ( const ApplicationEvent rAppEvent)
static
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 744 of file app.cxx.

References 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().

void desktop::Desktop::HandleBootstrapPathErrors ( ::utl::Bootstrap::Status  aBootstrapStatus,
const OUString &  aMsg 
)
staticprivate
void desktop::Desktop::Init ( void  )
overridevirtual
void desktop::Desktop::InitApplicationServiceManager ( )
static
void desktop::Desktop::InitFinished ( )
overridevirtual

Reimplemented from Application.

Definition at line 553 of file app.cxx.

References CloseSplashScreen().

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

Definition at line 1833 of file app.cxx.

Referenced by Main().

int desktop::Desktop::Main ( )
overridevirtual

Reimplemented from Application.

Definition at line 1240 of file app.cxx.

References Application::AnyInput(), SvtFontSubstConfig::Apply(), BE_OK, BE_USERINSTALL_FAILED, BE_USERINSTALL_NOTENOUGHDISKSPACE, BE_USERINSTALL_NOWRITEACCESS, desktop::ExecuteGlobals::bRestartRequested, BS_TERMINATE, desktop::ExecuteGlobals::bUseSystemFileDialog, 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(), comphelper::getProcessComponentContext(), Application::GetSettings(), tools::Time::GetSystemTicks(), Updater::getUpdateFileURL(), HandleBootstrapErrors(), InitAccessBridge(), InitializeConfiguration(), InitializeQuickstartMode(), desktop::CommandLineArgs::IsEventTesting(), desktop::CommandLineArgs::IsHeadless(), desktop::CommandLineArgs::IsInvisible(), SvtModuleOptions::IsModuleInstalled(), 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::ExecuteGlobals::pLanguageOptions, Application::PostUserEvent(), desktop::ExecuteGlobals::pPathOptions, reap_glxtest_process(), RegisterServices(), utl::Bootstrap::reloadData(), Updater::removeUpdateFiles(), desktop::ReplaceStringHookProc(), RID_APPTITLE, o3tl::runtimeToOUString(), SAL_CONFIGFILE, SAL_INFO, SAL_WARN, SvtTabAppearanceCfg::SetApplicationDefaults(), Application::SetDisplayName(), desktop::RequestHandler::SetDowning(), Application::SetFilterHdl(), SvtTabAppearanceCfg::SetInitialized(), Translate::SetReadStringHook(), SetSplashScreenProgress(), Application::SetSystemWindowMode(), SvtMiscOptions::SetUseSystemFileDialog(), SvtAccessibilityOptions::SetVCLSettings(), ShowBackingComponent(), SvtModuleOptions::STARTMODULE, SynchronizeExtensionRepositories(), update(), update_checker(), SvtMiscOptions::UseSystemFileDialog(), desktop::CommandLineArgs::WantsToLoadDocument(), and desktop::ExecuteGlobals::xGlobalBroadcaster.

void desktop::Desktop::OpenClients ( )
static

Definition at line 1954 of file app.cxx.

References CrashReporter::AddKeyValue(), Application::AnyInput(), desktop::ProcessDocumentsRequest::aOpenList, SvtModuleOptions::CALC, dp_registry::backend::bundle::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(), comphelper::getProcessComponentContext(), 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(), desktop::CommandLineArgs::IsQuickstart(), Application::IsSafeModeEnabled(), desktop::CommandLineArgs::IsScriptCat(), desktop::CommandLineArgs::IsTextCat(), desktop::CommandLineArgs::IsWriter(), OpenDefault(), SAL_WARN, Help::Start(), CrashReporter::writeCommonInfo(), and SvtModuleOptions::WRITER.

void desktop::Desktop::OpenDefault ( )
static
void desktop::Desktop::OpenSplashScreen ( )
private
void desktop::Desktop::OverrideSystemSettings ( AllSettings rSettings)
overridevirtual
bool desktop::Desktop::QueryExit ( )
overridevirtual
void desktop::Desktop::RegisterServices ( css::uno::Reference< css::uno::XComponentContext > const &  context)
private
void desktop::Desktop::RemoveTemporaryDirectory ( )
static

Definition at line 268 of file appinit.cxx.

Referenced by doShutdown().

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

Definition at line 97 of file app.hxx.

References BE_OK, m_aBootstrapError, m_aBootstrapErrorMessage, and SAL_INFO.

Referenced by Init().

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

Definition at line 108 of file app.hxx.

References m_aBootstrapStatus.

Referenced by Init().

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

Definition at line 2469 of file app.cxx.

References m_rSplashScreen.

Referenced by Main(), and ShowBackingComponent().

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

Definition at line 2477 of file app.cxx.

References m_rSplashScreen.

void desktop::Desktop::ShowBackingComponent ( Desktop progress)
staticprivate
void Desktop::SynchronizeExtensionRepositories ( bool  bCleanedExtensionCache,
Desktop pDesktop = nullptr 
)
static

Member Data Documentation

BootstrapError desktop::Desktop::m_aBootstrapError
private

Definition at line 168 of file app.hxx.

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

OUString desktop::Desktop::m_aBootstrapErrorMessage
private

Definition at line 169 of file app.hxx.

Referenced by Main(), and SetBootstrapError().

BootstrapStatus desktop::Desktop::m_aBootstrapStatus
private

Definition at line 170 of file app.hxx.

Referenced by GetBootstrapStatus(), and SetBootstrapStatus().

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

Definition at line 174 of file app.hxx.

Referenced by doShutdown(), and Main().

bool desktop::Desktop::m_bCleanedExtensionCache
private

Definition at line 166 of file app.hxx.

Referenced by Init(), and Main().

bool desktop::Desktop::m_bServicesRegistered
private

Definition at line 167 of file app.hxx.

Referenced by RegisterServices().

Timer desktop::Desktop::m_firstRunTimer
private

Definition at line 173 of file app.hxx.

Referenced by CheckFirstRun(), and Desktop().

css::uno::Reference<css::task::XStatusIndicator> desktop::Desktop::m_rSplashScreen
private
std::unique_ptr<Lockfile> desktop::Desktop::m_xLockfile
private

Definition at line 172 of file app.hxx.

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


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