|
LibreOffice Module desktop (master) 1
|
#include <config_folders.h>#include <config_features.h>#include <chrono>#include <dp_misc.h>#include <dp_interact.h>#include <dp_shared.hxx>#include <o3tl/string_view.hxx>#include <rtl/uri.hxx>#include <rtl/digest.h>#include <rtl/random.h>#include <rtl/bootstrap.hxx>#include <rtl/ustrbuf.hxx>#include <sal/log.hxx>#include <unotools/bootstrap.hxx>#include <osl/file.hxx>#include <osl/pipe.hxx>#include <osl/security.hxx>#include <osl/thread.hxx>#include <com/sun/star/ucb/CommandAbortedException.hpp>#include <com/sun/star/task/XInteractionHandler.hpp>#include <com/sun/star/bridge/BridgeFactory.hpp>#include <com/sun/star/bridge/UnoUrlResolver.hpp>#include <com/sun/star/bridge/XUnoUrlResolver.hpp>#include <com/sun/star/deployment/ExtensionManager.hpp>#include <com/sun/star/lang/DisposedException.hpp>#include <com/sun/star/task/OfficeRestartManager.hpp>#include <memory>#include <string_view>#include <thread>#include <comphelper/lok.hxx>#include <comphelper/processfactory.hxx>#include <salhelper/linkhelper.hxx>Go to the source code of this file.
Namespaces | |
| namespace | dp_misc |
Functions | |
| OUString | dp_misc::makeURL (std::u16string_view baseURL, OUString const &relPath) |
| appends a relative path to a url. More... | |
| OUString | dp_misc::makeURLAppendSysPathSegment (std::u16string_view baseURL, OUString const &relPath) |
| appends a relative path to a url. More... | |
| OUString | dp_misc::expandUnoRcTerm (OUString const &term_) |
| OUString | dp_misc::makeRcTerm (OUString const &url) |
| OUString | dp_misc::expandUnoRcUrl (OUString const &url) |
| bool | dp_misc::office_is_running () |
| oslProcess | dp_misc::raiseProcess (OUString const &appURL, Sequence< OUString > const &args) |
| OUString | dp_misc::generateRandomPipeId () |
| Reference< XInterface > | dp_misc::resolveUnoURL (OUString const &connectString, Reference< XComponentContext > const &xLocalContext, AbortChannel const *abortChannel) |
| static void | dp_misc::writeConsoleWithStream (std::u16string_view sText, FILE *stream) |
| void | dp_misc::writeConsole (std::u16string_view sText) |
| writes the argument string to the console. More... | |
| void | dp_misc::writeConsoleError (std::u16string_view sText) |
| writes the argument to the console using the error stream. More... | |
| OUString | dp_misc::readConsole () |
| reads from the console. More... | |
| void | dp_misc::TRACE (OUString const &sText) |
| print the text to the console in a debug build. More... | |
| void | dp_misc::syncRepositories (bool force, Reference< ucb::XCommandEnvironment > const &xCmdEnv) |
| void | dp_misc::disposeBridges (Reference< css::uno::XComponentContext > const &ctx) |
| OUString | DpResId (TranslateId aId) |
| OUString DpResId | ( | TranslateId | aId | ) |
Definition at line 555 of file dp_misc.cxx.
References Translate::Create(), and Translate::get().
Referenced by dp_gui::ExtensionBox_Impl::addEntry(), dp_manager::PackageManagerImpl::addPackage(), dp_gui::Entry_Impl::checkDependencies(), dp_manager::ExtensionManager::checkInstall(), dp_manager::ExtensionManager::checkUpdate(), dp_gui::DialogHelper::continueOnSharedExtension(), desktop::Desktop::CreateErrorMsgString(), desktop::Desktop::CreateTemporaryDirectory(), dp_gui::ExtMgrDialog::enableButtontoEnable(), dp_gui::ExtMgrDialog::enableRemoveButton(), dp_gui::Entry_Impl::Entry_Impl(), dp_gui::ExtMgrDialog::ExtMgrDialog(), dp_misc::Dependencies::getErrorText(), unopkg::getUNO(), desktop::Desktop::HandleBootstrapErrors(), dp_gui::IMPL_LINK(), dp_gui::DialogHelper::installExtensionWarn(), desktop::Desktop::OpenClients(), dp_registry::backend::Package::processPackage_impl(), dp_gui::ExtMgrDialog::raiseAddPicker(), dp_gui::ExtMgrDialog::removeExtensionWarn(), dp_manager::PackageManagerImpl::removePackage(), dp_gui::UpdateRequiredDialog::run(), dp_gui::ExtBoxWithBtns_Impl::ShowPopupMenu(), dp_registry::backend::PackageRegistryBackend::StrCannotDetectMediaType(), dp_registry::backend::PackageRegistryBackend::StrRegisteringPackage(), dp_registry::backend::PackageRegistryBackend::StrRevokingPackage(), dp_manager::ExtensionManager::StrSyncRepository(), dp_registry::backend::PackageRegistryBackend::StrUnsupportedMediaType(), and dp_gui::ExtensionBox_Impl::updateEntry().