LibreOffice Module desktop (master) 1
|
#include <app.hxx>
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 OString &pPayload) const override |
virtual void | notifyInvalidation (tools::Rectangle const *) 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) |
Public Member Functions inherited from vcl::ILibreOfficeKitNotifier | |
virtual | ~ILibreOfficeKitNotifier () |
virtual void | notifyWindow (vcl::LOKWindowId nLOKWindowId, const OUString &rAction, const std::vector< LOKPayloadItem > &rPayload=std::vector< LOKPayloadItem >()) const=0 |
virtual void | libreOfficeKitViewCallback (int nType, const OString &pPayload) const=0 |
virtual void | notifyInvalidation (tools::Rectangle const *) const=0 |
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 Public Member Functions inherited from Application | |
static bool | IsUICaptured () |
static void | SetAppName (const OUString &rUniqueName) |
static void | EnableSafeMode () |
static bool | IsSafeModeEnabled () |
static const OUString & | GetDesktopEnvironment () |
static void | setDeInitHook (Link< LinkParamNone *, void > const &hook) |
static std::unique_ptr< weld::Builder > | CreateBuilder (weld::Widget *pParent, const OUString &rUIFile, bool bMobile=false, sal_uInt64 nLOKWindowId=0) |
static std::unique_ptr< 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, const ILibreOfficeKitNotifier *pNotifier=nullptr) |
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 | IsQuit () |
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 basegfx::SystemDependentDataManager & | GetSystemDependentDataManager () |
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 | 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 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 weld::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 | 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 bool | IsOnSystemEventLoop () |
static void | Abort (const OUString &rErrorText) |
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 bool | LOKHandleMouseEvent (VclEventId nEvent, vcl::Window *pWin, const MouseEvent *pEvent) |
static ImplSVEvent * | PostMouseEvent (VclEventId nEvent, vcl::Window *pWin, MouseEvent const *pMouseEvent) |
static ImplSVEvent * | PostGestureEvent (VclEventId nEvent, vcl::Window *pWin, GestureEventPan 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 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::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 basegfx::SystemDependentDataManager & | GetSystemDependentDataManager () |
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 | 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 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 weld::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 | 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 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< Lockfile > | m_xLockfile |
Timer | m_firstRunTimer |
std::thread | m_aUpdateThread |
Additional Inherited Members | |
Public Attributes inherited from Application | |
void * | m_pCallbackData |
LibreOfficeKitCallback | m_pCallback |
desktop::Desktop::Desktop | ( | ) |
Definition at line 428 of file app.cxx.
References LINK, m_firstRunTimer, Timer::SetInvokeHandler(), and Timer::SetTimeout().
|
overridevirtual |
Reimplemented from Application.
Definition at line 1189 of file app.cxx.
References HandleAppEvent().
|
static |
Definition at line 377 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 2535 of file app.cxx.
References comphelper::ConfigurationChanges::create(), m_firstRunTimer, desktop::ReplaceStringHookProc(), Timer::Start(), and xContext.
|
static |
Referenced by Main().
|
private |
Definition at line 2459 of file app.cxx.
References m_rSplashScreen.
Referenced by DeInit(), InitFinished(), Main(), and ShowBackingComponent().
|
staticprivate |
Definition at line 135 of file appinit.cxx.
References Any, 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 643 of file app.cxx.
References DpResId().
Referenced by HandleBootstrapErrors(), and InitializeConfiguration().
|
static |
Definition at line 227 of file appinit.cxx.
References DpResId(), and SvtPathOptions::GetTempPath().
Referenced by lo_initialize(), and RegisterServices().
desktop::Desktop::DECL_LINK | ( | OpenClients_Impl | , |
void * | , | ||
void | |||
) |
desktop::Desktop::DECL_STATIC_LINK | ( | Desktop | , |
EnableAcceptors_Impl | , | ||
void * | , | ||
void | |||
) |
|
private |
|
overridevirtual |
Reimplemented from Application.
Definition at line 542 of file app.cxx.
References CloseSplashScreen(), desktop::RequestHandler::Disable(), dispose(), FlushConfiguration(), comphelper::getProcessComponentContext(), m_xLockfile, desktop::pSignalHandler, utl::ConfigManager::storeConfigItems(), and TOOLS_WARN_EXCEPTION.
|
staticprivate |
Definition at line 221 of file appinit.cxx.
Referenced by doShutdown().
|
staticprivate |
|
private |
Definition at line 1605 of file app.cxx.
References DeregisterServices(), StarBASIC::DetachAllDocBasicItems(), EXITHELPER_NORMAL_RESTART, FlushConfiguration(), GetCommandLineArgs(), desktop::CommandLineArgs::GetPidfileName(), comphelper::getProcessComponentContext(), comphelper::ThreadPool::getSharedOptimalPool(), 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 1124 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, desktop::pSignalHandler, and Application::SetSystemWindowMode().
|
staticprivate |
Definition at line 1777 of file app.cxx.
References comphelper::getProcessComponentContext().
Referenced by DeInit(), doShutdown(), Exception(), and QueryExit().
|
inline |
|
static |
Definition at line 393 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 2238 of file app.cxx.
References ApplicationEvent::Accept, aCommand, desktop::ProcessDocumentsRequest::aOpenList, ApplicationEvent::Appear, desktop::ProcessDocumentsRequest::aPrintList, dp_registry::backend::bundle::create(), createAcceptor(), 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, ApplicationEvent::Print, ApplicationEvent::PrivateDoShutdown, ApplicationEvent::QuickStart, SAL_WARN, ApplicationEvent::ShowDialog, Help::Start(), TOOLS_WARN_EXCEPTION, ApplicationEvent::Unaccept, xContext, 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 734 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 Init(), InitializeConfiguration(), and Main().
|
staticprivate |
Definition at line 617 of file app.cxx.
References Application::CreateMessageDialog(), utl::Bootstrap::DATA_OK, and utl::Bootstrap::getProductKey().
Referenced by HandleBootstrapErrors(), and InitializeConfiguration().
|
overridevirtual |
Reimplemented from Application.
Definition at line 443 of file app.cxx.
References BE_LANGUAGE_MISSING, BE_OFFICECONFIG_BROKEN, BE_PATHINFO_MISSING, BE_UNO_SERVICEMANAGER, BS_OK, BS_TERMINATE, desktop::RequestHandler::Disable(), desktop::RequestHandler::Enable(), Application::EnableSafeMode(), GetCommandLineArgs(), desktop::CommandLineArgs::GetUnknown(), HandleBootstrapErrors(), 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_bCleanedExtensionCache, desktop::langselect::prepareLocale(), desktop::pSignalHandler, comphelper::BackupFileHelper::reactOnSafeMode(), sfx2::SafeMode::removeRestartFlag(), desktop::SalMainPipeExchangeSignal_impl(), SetBootstrapError(), and SetBootstrapStatus().
|
static |
Definition at line 63 of file appinit.cxx.
References cppu::defaultBootstrap_InitialComponentContext(), and comphelper::setProcessServiceFactory().
Referenced by Init(), and soffice_main().
|
overridevirtual |
Reimplemented from Application.
Definition at line 537 of file app.cxx.
References CloseSplashScreen().
|
staticprivate |
Definition at line 1711 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 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::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.
|
static |
Definition at line 1916 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.
|
static |
Definition at line 2132 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 2384 of file app.cxx.
References Any, 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(), m_rSplashScreen, and xContext.
Referenced by Main().
|
overridevirtual |
Reimplemented from Application.
Definition at line 1820 of file app.cxx.
References StyleSettings::GetDragFullOptions(), MouseSettings::GetFollow(), AllSettings::GetMouseSettings(), AllSettings::GetStyleSettings(), SvtTabAppearanceCfg::IsInitialized(), StyleSettings::SetContextMenuShortcuts(), StyleSettings::SetDragFullOptions(), MouseSettings::SetFollow(), AllSettings::SetMouseSettings(), AllSettings::SetStyleSettings(), StyleSettings::SetUseImagesInMenus(), and TRISTATE_INDET.
|
overridevirtual |
Reimplemented from Application.
Definition at line 570 of file app.cxx.
References Any, dp_registry::backend::bundle::create(), desktop::RequestHandler::Disable(), FlushConfiguration(), m_xLockfile, utl::ConfigManager::storeConfigItems(), and u.
|
private |
Definition at line 86 of file appinit.cxx.
References desktop::configureUcb(), createAcceptor(), CreateTemporaryDirectory(), Application::EnableHeadlessMode(), desktop::CommandLineArgs::GetAccept(), GetCommandLineArgs(), 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 2435 of file app.cxx.
References m_rSplashScreen.
Referenced by Main(), and ShowBackingComponent().
void desktop::Desktop::SetSplashScreenText | ( | const OUString & | rText | ) |
Definition at line 2447 of file app.cxx.
References m_rSplashScreen.
|
staticprivate |
Definition at line 2486 of file app.cxx.
References CloseSplashScreen(), dp_registry::backend::bundle::create(), GetCommandLineArgs(), comphelper::getProcessComponentContext(), VCLUnoHelper::GetWindow(), SAL_WARN_IF, SetSplashScreenProgress(), and xContext.
Referenced by Main(), and OpenDefault().
|
overridevirtual |
Reimplemented from Application.
Definition at line 612 of file app.cxx.
References framework::getDesktop().
|
static |
Definition at line 403 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 164 of file app.hxx.
Referenced by Main(), and SetBootstrapError().
|
private |
Definition at line 165 of file app.hxx.
Referenced by Main(), and SetBootstrapError().
|
private |
Definition at line 166 of file app.hxx.
Referenced by GetBootstrapStatus(), and SetBootstrapStatus().
|
private |
Definition at line 170 of file app.hxx.
Referenced by doShutdown(), and Main().
|
private |
|
private |
Definition at line 163 of file app.hxx.
Referenced by RegisterServices().
|
private |
Definition at line 169 of file app.hxx.
Referenced by CheckFirstRun(), and Desktop().
|
private |
Definition at line 144 of file app.hxx.
Referenced by CloseSplashScreen(), doShutdown(), Exception(), OpenSplashScreen(), SetSplashScreenProgress(), and SetSplashScreenText().
|
private |
Definition at line 168 of file app.hxx.
Referenced by DeInit(), Exception(), Main(), and QueryExit().