LibreOffice Module desktop (master)
1
|
#include <app.hxx>
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) |
![]() | |
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 () |
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 CommandLineArgs & | GetCommandLineArgs () |
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 bool | IsUICaptured () |
static void | SetAppName (const OUString &rUniqueName) |
static const OUString & | GetDesktopEnvironment () |
static void | setDeInitHook (Link< LinkParamNone *, void > const &hook) |
static weld::Builder * | CreateBuilder (weld::Widget *pParent, const OUString &rUIFile, bool bMobile=false) |
static weld::Builder * | CreateInterimBuilder (vcl::Window *pParent, const OUString &rUIFile, bool bAllowCycleFocusOut, sal_uInt64 nLOKWindowId=0) |
static weld::MessageDialog * | CreateMessageDialog (weld::Widget *pParent, VclMessageType eMessageType, VclButtonsType eButtonType, const OUString &rPrimaryMessage, bool bMobile=false) |
static weld::Window * | GetFrameWeld (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::SolarMutex & | GetSolarMutex () |
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::Window * | GetFocusWindow () |
static OutputDevice * | GetDefaultDevice () |
static vcl::Window * | GetFirstTopLevelWindow () |
static vcl::Window * | GetNextTopLevelWindow (vcl::Window const *pWindow) |
static tools::Long | GetTopWindowCount () |
static vcl::Window * | GetTopWindow (tools::Long nIndex) |
static vcl::Window * | GetActiveTopWindow () |
static OUString | GetAppName () |
static OUString | GetHWOSConfInfo (const int bSelection=0, bool bLocalize=true) |
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 size_t | GetReservedKeyCodeCount () |
static const vcl::KeyCode * | GetReservedKeyCode (size_t i) |
static void | SetHelp (Help *pHelp=nullptr) |
static Help * | GetHelp () |
static vcl::Window * | GetDefDialogParent () |
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 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::SolarMutex & | GetSolarMutex () |
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 AllSettings & | GetSettings () |
static const LocaleDataWrapper & | GetAppLocaleDataWrapper () |
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 ImplSVEvent * | PostKeyEvent (VclEventId nEvent, vcl::Window *pWin, KeyEvent const *pKeyEvent) |
static ImplSVEvent * | PostMouseEvent (VclEventId nEvent, vcl::Window *pWin, MouseEvent const *pMouseEvent) |
static ImplSVEvent * | PostGestureEvent (VclEventId nEvent, vcl::Window *pWin, GestureEvent const *pGestureEvent) |
static void | RemoveMouseAndKeyEvents (vcl::Window *pWin) |
static ImplSVEvent * | PostUserEvent (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 vcl::Window * | GetFocusWindow () |
static OutputDevice * | GetDefaultDevice () |
static vcl::Window * | GetFirstTopLevelWindow () |
static vcl::Window * | GetNextTopLevelWindow (vcl::Window const *pWindow) |
static tools::Long | GetTopWindowCount () |
static vcl::Window * | GetTopWindow (tools::Long nIndex) |
static vcl::Window * | GetActiveTopWindow () |
static OUString | GetAppName () |
static OUString | GetHWOSConfInfo (const int bSelection=0, bool bLocalize=true) |
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 size_t | GetReservedKeyCodeCount () |
static const vcl::KeyCode * | GetReservedKeyCode (size_t i) |
static void | SetHelp (Help *pHelp=nullptr) |
static Help * | GetHelp () |
static vcl::Window * | GetDefDialogParent () |
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 () |
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, 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< Lockfile > | m_xLockfile |
Timer | m_firstRunTimer |
std::thread | m_aUpdateThread |
Additional Inherited Members | |
![]() | |
void * | m_pCallbackData |
LibreOfficeKitCallback | m_pCallback |
desktop::Desktop::Desktop | ( | ) |
Definition at line 410 of file app.cxx.
References LINK, m_firstRunTimer, Task::SetDebugName(), Timer::SetInvokeHandler(), and Timer::SetTimeout().
|
overridevirtual |
Reimplemented from Application.
Definition at line 1168 of file app.cxx.
References HandleAppEvent().
|
static |
Definition at line 378 of file check_ext_deps.cxx.
References comphelper::getProcessComponentContext(), impl_checkDependencies(), impl_needsCompatCheck(), impl_setNeedsCompatCheck(), impl_showExtensionDialog(), and xContext.
Referenced by lo_initialize(), Main(), and preloadData().
|
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 2512 of file app.cxx.
References comphelper::ConfigurationChanges::create(), m_firstRunTimer, desktop::ReplaceStringHookProc(), and Timer::Start().
|
static |
Referenced by Main().
|
private |
Definition at line 2438 of file app.cxx.
References m_rSplashScreen.
Referenced by DeInit(), InitFinished(), Main(), and ShowBackingComponent().
|
staticprivate |
Definition at line 131 of file appinit.cxx.
References aSeq, desktop::bAccept, SAL_WARN, TOOLS_WARN_EXCEPTION, and xContext.
Referenced by HandleAppEvent(), and RegisterServices().
|
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 627 of file app.cxx.
References DpResId().
Referenced by HandleBootstrapErrors(), and InitializeConfiguration().
|
static |
Definition at line 227 of file appinit.cxx.
References DpResId(), SvtPathOptions::GetTempPath(), and utl::TempFile::SetTempNameBaseDirectory().
Referenced by lo_initialize(), and RegisterServices().
|
private |
|
overridevirtual |
Reimplemented from Application.
Definition at line 526 of file app.cxx.
References CloseSplashScreen(), desktop::RequestHandler::Disable(), dispose(), FlushConfiguration(), comphelper::getProcessComponentContext(), m_xLockfile, utl::ConfigManager::storeConfigItems(), and TOOLS_WARN_EXCEPTION.
|
staticprivate |
Definition at line 221 of file appinit.cxx.
Referenced by doShutdown().
|
staticprivate |
|
private |
Definition at line 1599 of file app.cxx.
References comphelper::ConfigurationChanges::create(), DeregisterServices(), StarBASIC::DetachAllDocBasicItems(), EXITHELPER_NORMAL_RESTART, FlushConfiguration(), GetCommandLineArgs(), desktop::CommandLineArgs::GetPidfileName(), comphelper::getProcessComponentContext(), comphelper::ThreadPool::getSharedOptimalPool(), desktop::CommandLineArgs::IsEventTesting(), desktop::CommandLineArgs::IsHeadless(), m_aUpdateThread, m_rSplashScreen, desktop::pExecGlobals, RemoveTemporaryDirectory(), flatpak::removeTemporaryHtmlDirectory(), SAL_WARN, comphelper::ThreadPool::shutdown(), comphelper::BackupFileHelper::tryPush(), and comphelper::BackupFileHelper::tryPushExtensionInfo().
Referenced by HandleAppEvent(), and Main().
|
overridevirtual |
Reimplemented from Application.
Definition at line 1107 of file app.cxx.
References Application::Abort(), desktop::RequestHandler::Disable(), EXITHELPER_CRASH_WITH_RESTART, FlushConfiguration(), GetCommandLineArgs(), Application::GetSystemWindowMode(), desktop::CommandLineArgs::IsHeadless(), Application::IsInExecute(), desktop::CommandLineArgs::IsNoRestore(), m_rSplashScreen, m_xLockfile, and Application::SetSystemWindowMode().
|
staticprivate |
Definition at line 1778 of file app.cxx.
References comphelper::getProcessComponentContext().
Referenced by DeInit(), doShutdown(), Exception(), and QueryExit().
|
inline |
|
static |
Definition at line 376 of file app.cxx.
Referenced by doShutdown(), Exception(), HandleAppEvent(), Init(), lo_initialize(), Main(), OpenClients(), OpenDefault(), OpenSplashScreen(), desktop::langselect::prepareLocale(), desktop::IpcThread::process(), RegisterServices(), ShowBackingComponent(), and soffice_main().
|
static |
Definition at line 2225 of file app.cxx.
References ApplicationEvent::Accept, aCommand, ApplicationEvent::Appear, dp_registry::backend::bundle::create(), createAcceptor(), data, destroyAcceptor(), doShutdown(), desktop::RequestHandler::ExecuteCmdLineRequests(), GetCommandLineArgs(), desktop::CommandLineArgs::getCwdUrl(), ApplicationEvent::GetEvent(), Application::GetHelp(), GetpApp(), ApplicationEvent::GetStringData(), ApplicationEvent::GetStringsData(), VCLUnoHelper::GetWindow(), desktop::CommandLineArgs::IsInvisible(), desktop::CommandLineArgs::IsTerminateAfterInit(), ApplicationEvent::Open, ApplicationEvent::OpenHelpUrl, vcl::Window::PaintImmediately(), ApplicationEvent::Print, ApplicationEvent::PrivateDoShutdown, ApplicationEvent::QuickStart, SAL_WARN, ApplicationEvent::ShowDialog, Help::Start(), TOOLS_WARN_EXCEPTION, ApplicationEvent::Unaccept, and xDispatch.
Referenced by AppEvent(), and desktop::IMPL_STATIC_LINK().
|
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 718 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().
|
staticprivate |
Definition at line 601 of file app.cxx.
References Application::CreateMessageDialog(), utl::Bootstrap::DATA_OK, and utl::Bootstrap::getProductKey().
Referenced by HandleBootstrapErrors(), and InitializeConfiguration().
Reimplemented from Application.
Definition at line 425 of file app.cxx.
References BE_LANGUAGE_MISSING, BE_OFFICECONFIG_BROKEN, BE_OK, BE_PATHINFO_MISSING, BE_UNO_SERVICEMANAGER, BS_OK, BS_TERMINATE, desktop::RequestHandler::Disable(), desktop::RequestHandler::Enable(), Application::EnableSafeMode(), GetCommandLineArgs(), desktop::CommandLineArgs::GetUnknown(), sfx2::SafeMode::hasFlag(), sfx2::SafeMode::hasRestartFlag(), InitApplicationServiceManager(), desktop::RequestHandler::IPC_STATUS_2ND_OFFICE, desktop::RequestHandler::IPC_STATUS_BOOTSTRAP_ERROR, desktop::RequestHandler::IPC_STATUS_PIPE_ERROR, desktop::CommandLineArgs::IsHelp(), desktop::CommandLineArgs::IsSafeMode(), Application::IsSafeModeEnabled(), desktop::CommandLineArgs::IsVersion(), m_aBootstrapError, m_bCleanedExtensionCache, desktop::langselect::prepareLocale(), comphelper::BackupFileHelper::reactOnSafeMode(), sfx2::SafeMode::removeRestartFlag(), desktop::SalMainPipeExchangeSignal_impl(), SetBootstrapError(), and SetBootstrapStatus().
|
static |
Definition at line 65 of file appinit.cxx.
References cppu::defaultBootstrap_InitialComponentContext(), comphelper::setProcessServiceFactory(), and uri.
Referenced by Init(), and soffice_main().
|
overridevirtual |
Reimplemented from Application.
Definition at line 521 of file app.cxx.
References CloseSplashScreen().
|
staticprivate |
Definition at line 1712 of file app.cxx.
References BE_UNO_SERVICE_CONFIG_MISSING, CreateErrorMsgString(), comphelper::getProcessComponentContext(), HandleBootstrapErrors(), HandleBootstrapPathErrors(), utl::Bootstrap::INVALID_BASE_INSTALL, utl::Bootstrap::INVALID_BOOTSTRAP_DATA, utl::Bootstrap::INVALID_BOOTSTRAP_FILE_ENTRY, utl::Bootstrap::INVALID_USER_INSTALL, utl::Bootstrap::locateVersionFile(), utl::Bootstrap::MISSING_BOOTSTRAP_FILE, utl::Bootstrap::MISSING_USER_INSTALL, utl::Bootstrap::MISSING_VERSION_FILE, utl::Bootstrap::MISSING_VERSION_FILE_ENTRY, and utl::Bootstrap::PATH_EXISTS.
Referenced by Main().
|
staticprivate |
|
overridevirtual |
Reimplemented from Application.
Definition at line 1224 of file app.cxx.
References aEvent, Application::AnyInput(), SvtFontSubstConfig::Apply(), 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(), 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(), Application::PostUserEvent(), reap_glxtest_process(), 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(), and desktop::CommandLineArgs::WantsToLoadDocument().
|
static |
Definition at line 1906 of file app.cxx.
References CrashReporter::addKeyValue(), Application::AnyInput(), desktop::ProcessDocumentsRequest::aOpenList, 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(), 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(), Help::Start(), TOOLS_WARN_EXCEPTION, and SvtModuleOptions::WRITER.
|
static |
Definition at line 2119 of file app.cxx.
References aName, desktop::ProcessDocumentsRequest::aOpenList, SvtModuleOptions::CALC, SvtModuleOptions::DATABASE, SvtModuleOptions::DRAW, desktop::RequestHandler::ExecuteCmdLineRequests(), GetCommandLineArgs(), desktop::CommandLineArgs::getCwdUrl(), SvtModuleOptions::GetFactoryEmptyDocumentURL(), desktop::CommandLineArgs::HasModuleParam(), SvtModuleOptions::IMPRESS, desktop::CommandLineArgs::IsBase(), desktop::CommandLineArgs::IsCalc(), desktop::CommandLineArgs::IsDraw(), desktop::CommandLineArgs::IsGlobal(), desktop::CommandLineArgs::IsImpress(), desktop::CommandLineArgs::IsMath(), SvtModuleOptions::IsModuleInstalled(), desktop::CommandLineArgs::IsNoDefault(), desktop::CommandLineArgs::IsWeb(), desktop::CommandLineArgs::IsWriter(), SvtModuleOptions::MATH, ShowBackingComponent(), SvtModuleOptions::STARTMODULE, SvtModuleOptions::WRITER, SvtModuleOptions::WRITERGLOBAL, and SvtModuleOptions::WRITERWEB.
Referenced by OpenClients().
|
private |
Definition at line 2370 of file app.cxx.
References aSeq, GetCommandLineArgs(), desktop::CommandLineArgs::GetConversionList(), desktop::CommandLineArgs::GetPrintList(), desktop::CommandLineArgs::GetPrintToList(), desktop::CommandLineArgs::HasSplashPipe(), desktop::CommandLineArgs::IsBase(), desktop::CommandLineArgs::IsCalc(), desktop::CommandLineArgs::IsDraw(), desktop::CommandLineArgs::IsGlobal(), desktop::CommandLineArgs::IsHeadless(), desktop::CommandLineArgs::IsImpress(), desktop::CommandLineArgs::IsInvisible(), desktop::CommandLineArgs::IsMath(), desktop::CommandLineArgs::IsMinimized(), desktop::CommandLineArgs::IsNoLogo(), desktop::CommandLineArgs::IsQuickstart(), desktop::CommandLineArgs::IsTerminateAfterInit(), desktop::CommandLineArgs::IsWeb(), desktop::CommandLineArgs::IsWriter(), and m_rSplashScreen.
Referenced by Main().
|
overridevirtual |
Reimplemented from Application.
Definition at line 1821 of file app.cxx.
References SvtMenuOptions::GetContextMenuShortcuts(), StyleSettings::GetDragFullOptions(), SvtTabAppearanceCfg::GetDragMode(), MouseSettings::GetFollow(), SvtMenuOptions::GetMenuIconsState(), AllSettings::GetMouseSettings(), AllSettings::GetStyleSettings(), SvtTabAppearanceCfg::IsInitialized(), SvtTabAppearanceCfg::IsMenuMouseFollow(), StyleSettings::SetContextMenuShortcuts(), StyleSettings::SetDragFullOptions(), MouseSettings::SetFollow(), AllSettings::SetMouseSettings(), AllSettings::SetStyleSettings(), and StyleSettings::SetUseImagesInMenus().
|
overridevirtual |
Reimplemented from Application.
Definition at line 554 of file app.cxx.
References Any, dp_registry::backend::bundle::create(), desktop::RequestHandler::Disable(), FlushConfiguration(), comphelper::getProcessComponentContext(), Application::IsEventTestingModeEnabled(), m_xLockfile, utl::ConfigManager::storeConfigItems(), and u.
|
private |
Definition at line 88 of file appinit.cxx.
References desktop::configureUcb(), createAcceptor(), CreateTemporaryDirectory(), Application::EnableEventTestingMode(), Application::EnableHeadlessMode(), desktop::CommandLineArgs::GetAccept(), GetCommandLineArgs(), desktop::CommandLineArgs::IsEventTesting(), desktop::CommandLineArgs::IsHeadless(), and m_bServicesRegistered.
Referenced by Main().
|
static |
Definition at line 262 of file appinit.cxx.
Referenced by doShutdown().
|
inline |
Definition at line 94 of file app.hxx.
References BE_OK, m_aBootstrapError, m_aBootstrapErrorMessage, and SAL_INFO.
Referenced by Init().
|
inline |
void desktop::Desktop::SetSplashScreenProgress | ( | sal_Int32 | iProgress | ) |
Definition at line 2422 of file app.cxx.
References m_rSplashScreen.
Referenced by Main(), and ShowBackingComponent().
void desktop::Desktop::SetSplashScreenText | ( | const OUString & | rText | ) |
Definition at line 2430 of file app.cxx.
References m_rSplashScreen.
Definition at line 2463 of file app.cxx.
References CloseSplashScreen(), dp_registry::backend::bundle::create(), GetCommandLineArgs(), vcl::Window::GetExtendedStyle(), comphelper::getProcessComponentContext(), VCLUnoHelper::GetWindow(), SAL_WARN_IF, vcl::Window::SetExtendedStyle(), and SetSplashScreenProgress().
Referenced by Main(), and OpenDefault().
|
overridevirtual |
Reimplemented from Application.
Definition at line 596 of file app.cxx.
References framework::getDesktop(), and comphelper::getProcessComponentContext().
|
static |
Definition at line 404 of file check_ext_deps.cxx.
References comphelper::getProcessComponentContext(), comphelper::LibreOfficeKit::isActive(), and dp_misc::syncRepositories().
Referenced by lo_initialize(), Main(), and preloadData().
|
private |
Definition at line 165 of file app.hxx.
Referenced by Init(), Main(), and SetBootstrapError().
|
private |
Definition at line 166 of file app.hxx.
Referenced by Main(), and SetBootstrapError().
|
private |
Definition at line 167 of file app.hxx.
Referenced by GetBootstrapStatus(), and SetBootstrapStatus().
|
private |
Definition at line 171 of file app.hxx.
Referenced by doShutdown(), and Main().
|
private |
|
private |
Definition at line 164 of file app.hxx.
Referenced by RegisterServices().
|
private |
Definition at line 170 of file app.hxx.
Referenced by CheckFirstRun(), and Desktop().
|
private |
Definition at line 145 of file app.hxx.
Referenced by CloseSplashScreen(), doShutdown(), Exception(), OpenSplashScreen(), SetSplashScreenProgress(), and SetSplashScreenText().
|
private |
Definition at line 169 of file app.hxx.
Referenced by DeInit(), Exception(), Main(), and QueryExit().