LibreOffice Module desktop (master)  1
Namespaces | Macros | Functions
dp_misc.cxx File Reference
#include <config_folders.h>
#include <config_features.h>
#include <chrono>
#include <dp_misc.h>
#include <dp_version.hxx>
#include <dp_interact.h>
#include <rtl/uri.hxx>
#include <rtl/digest.h>
#include <rtl/random.h>
#include <rtl/bootstrap.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/task/OfficeRestartManager.hpp>
#include <memory>
#include <string_view>
#include <comphelper/lok.hxx>
#include <comphelper/processfactory.hxx>
#include <salhelper/linkhelper.hxx>
Include dependency graph for dp_misc.cxx:

Go to the source code of this file.

Namespaces

 dp_misc
 

Macros

#define SOFFICE2   "soffice.bin"
 

Functions

OUString dp_misc::makeURL (OUString const &baseURL, OUString const &relPath)
 appends a relative path to a url. More...
 
OUString dp_misc::makeURLAppendSysPathSegment (OUString const &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< XInterfacedp_misc::resolveUnoURL (OUString const &connectString, Reference< XComponentContext > const &xLocalContext, AbortChannel const *abortChannel)
 
static void dp_misc::writeConsoleWithStream (OUString const &sText, FILE *stream)
 
void dp_misc::writeConsole (OUString const &sText)
 writes the argument string to the console. More...
 
void dp_misc::writeConsoleError (OUString const &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)
 

Macro Definition Documentation

#define SOFFICE2   "soffice.bin"

Definition at line 70 of file dp_misc.cxx.

Referenced by dp_misc::office_is_running().