LibreOffice Module desktop (master) 1
|
Namespaces | |
namespace | langselect |
namespace | userinstall |
Classes | |
class | Acceptor |
class | AccInstanceProvider |
class | CallbackFlushHandler |
One instance of this per view, handles flushing callbacks. More... | |
class | CommandLineArgs |
class | Desktop |
class | DesktopContext |
class | DispatchWatcher |
struct | install_info |
class | IpcThread |
struct | LibLibreOffice_Impl |
struct | LibLODocument_Impl |
class | Lockfile |
class | Migration |
struct | migration_step |
class | MigrationImpl |
struct | MigrationItem |
define the item, e.g. More... | |
struct | MigrationModuleInfo |
information for the UI elements to be migrated for one module More... | |
class | NewVersionUIInfo |
get the information before copying the ui configuration files of old version to new version More... | |
class | PipeIpcThread |
struct | ProcessDocumentsRequest |
struct | RectangleAndPart |
Represents an invalidated rectangle inside a given document part. More... | |
class | RequestHandler |
class | RequestHandlerController |
struct | supported_migration |
class | UnxSplashScreen |
Typedefs | |
typedef std::map< OUString, css::uno::Reference< css::lang::XInitialization > > | AcceptorMap |
typedef std::vector< OUString > | strings_v |
typedef std::unique_ptr< strings_v > | strings_vr |
typedef std::vector< migration_step > | migrations_v |
typedef std::unique_ptr< migrations_v > | migrations_vr |
typedef std::vector< supported_migration > | migrations_available |
typedef std::unordered_map< OUString, std::vector< MigrationItem > > | MigrationHashMap |
Functions | |
OUString | ReplaceStringHookProc (const OUString &rStr) |
IMPL_STATIC_LINK (Desktop, ImplInitFilterHdl, ::ConvertData &, rData, bool) | |
IMPL_LINK_NOARG (Desktop, OpenClients_Impl, void *, void) | |
OUString | GetURL_Impl (const OUString &rName, std::optional< OUString > const &cwdUrl) |
IMPL_STATIC_LINK_NOARG (Desktop, AsyncInitFirstRun, Timer *, void) | |
static void | configureUcb () |
IMPL_STATIC_LINK_NOARG (Desktop, EnableAcceptors_Impl, void *, void) | |
void | displayCmdlineHelp (OUString const &unknown) |
void | displayVersion () |
bool | Lockfile_execWarning (Lockfile const *that) |
static OUString | CreateMD5FromString (const OUString &aMsg) |
IMPL_STATIC_LINK (ProcessEventsClass_Impl, CallEvent, void *, pEvent, void) | |
IMPL_STATIC_LINK (ProcessEventsClass_Impl, ProcessDocumentsEvent, void *, pEvent, void) | |
static void | ImplPostForeignAppEvent (ApplicationEvent *pEvent) |
static void | ImplPostProcessDocumentsEvent (std::unique_ptr< ProcessDocumentsRequest > pEvent) |
oslSignalAction | SalMainPipeExchangeSignal_impl (SAL_UNUSED_PARAMETER void *, oslSignalInfo *pInfo) |
static void | AddToDispatchList (std::vector< DispatchWatcher::DispatchRequest > &rDispatchList, std::optional< OUString > const &cwdUrl, std::vector< OUString > const &aRequestList, DispatchWatcher::RequestType nType, const OUString &aParam, const OUString &aFactory) |
static void | AddConversionsToDispatchList (std::vector< DispatchWatcher::DispatchRequest > &rDispatchList, std::optional< OUString > const &cwdUrl, std::vector< OUString > const &rRequestList, const OUString &rParam, const OUString &rPrinterName, const OUString &rFactory, const OUString &rParamOut, std::u16string_view rImgOut, const bool isTextCat, const bool isScriptCat) |
oslSignalAction | SalMainPipeExchangeSignal_impl (void *, oslSignalInfo *pInfo) |
static OUString | mapModuleShortNameToIdentifier (std::u16string_view sShortName) |
static void | insertSorted (migrations_available &rAvailableMigrations, supported_migration const &aSupportedMigration) |
static FileBase::RC | _checkAndCreateDirectory (INetURLObject const &dirURL) |
bool | areBothOpenFrom (std::u16string_view cmd1, std::u16string_view cmd2) |
static void | offacc_workerfunc (void *acc) |
DESKTOP_DLLPUBLIC OUString | extractParameter (OUString &aOptions, std::u16string_view rName) |
Helper function to extract the value from parameters delimited by comma, like: Name1=Value1,Name2=Value2,Name3=Value3. More... | |
DESKTOP_DLLPUBLIC std::vector< com::sun::star::beans::PropertyValue > | jsonToPropertyValuesVector (const char *pJSON) |
Helper function to convert JSON to a vector of PropertyValues. More... | |
Variables | |
static oslSignalHandler | pSignalHandler = nullptr |
static ExecuteGlobals * | pExecGlobals = nullptr |
static bool | bAccept = false |
constexpr OUStringLiteral | aCmdLineHelp_version |
constexpr OUStringLiteral | aCmdLineHelp |
constexpr OUStringLiteral | ITEM_DESCRIPTOR_COMMANDURL = u"CommandURL" |
constexpr OUStringLiteral | ITEM_DESCRIPTOR_CONTAINER = u"ItemDescriptorContainer" |
constexpr OUStringLiteral | ITEM_DESCRIPTOR_LABEL = u"Label" |
const char | XDG_CONFIG_PART [] = "/.config/" |
typedef std::map< OUString, css::uno::Reference<css::lang::XInitialization> > desktop::AcceptorMap |
Definition at line 117 of file appinit.cxx.
typedef std::unordered_map< OUString, std::vector< MigrationItem > > desktop::MigrationHashMap |
Definition at line 111 of file migration_impl.hxx.
typedef std::vector< supported_migration > desktop::migrations_available |
Definition at line 68 of file migration_impl.hxx.
typedef std::vector< migration_step > desktop::migrations_v |
Definition at line 66 of file migration_impl.hxx.
typedef std::unique_ptr< migrations_v > desktop::migrations_vr |
Definition at line 67 of file migration_impl.hxx.
typedef std::vector< OUString > desktop::strings_v |
Definition at line 46 of file migration_impl.hxx.
typedef std::unique_ptr< strings_v > desktop::strings_vr |
Definition at line 47 of file migration_impl.hxx.
|
static |
Definition at line 386 of file migration.cxx.
References _checkAndCreateDirectory(), dp_registry::backend::bundle::create(), INetURLObject::GetMainURL(), INetURLObject::removeSegment(), result, and INetURLObject::ToIUri.
Referenced by _checkAndCreateDirectory(), and desktop::MigrationImpl::copyFiles().
|
static |
Definition at line 1223 of file officeipcthread.cxx.
References utl::Bootstrap::getProcessWorkingDir(), nType, desktop::DispatchWatcher::REQUEST_BATCHPRINT, desktop::DispatchWatcher::REQUEST_CAT, desktop::DispatchWatcher::REQUEST_CONVERSION, desktop::DispatchWatcher::REQUEST_SCRIPT_CAT, and o3tl::trim().
Referenced by desktop::RequestHandler::ExecuteCmdLineRequests().
|
static |
Definition at line 1209 of file officeipcthread.cxx.
References nType.
Referenced by desktop::RequestHandler::ExecuteCmdLineRequests().
|
inline |
Definition at line 70 of file migration_impl.hxx.
References o3tl::starts_with(), and u.
Referenced by desktop::MigrationItem::operator==().
|
static |
Definition at line 56 of file appinit.cxx.
References dp_registry::backend::bundle::create(), and comphelper::getProcessComponentContext().
Referenced by desktop::Desktop::RegisterServices().
|
static |
Definition at line 240 of file officeipcthread.cxx.
References aBuffer, i, pData, and SAL_INFO.
Referenced by desktop::PipeIpcThread::enable().
void desktop::displayCmdlineHelp | ( | OUString const & | unknown | ) |
Definition at line 237 of file cmdlinehelp.cxx.
References aCmdLineHelp, aCmdLineHelp_version, comphelper::string::getTokenCount(), n, OUStringToOString(), ReplaceStringHookProc(), and unknown.
Referenced by soffice_main().
void desktop::displayVersion | ( | ) |
Definition at line 255 of file cmdlinehelp.cxx.
References aCmdLineHelp_version, OUStringToOString(), and ReplaceStringHookProc().
Referenced by soffice_main().
OUString desktop::extractParameter | ( | OUString & | aOptions, |
std::u16string_view | rName | ||
) |
Helper function to extract the value from parameters delimited by comma, like: Name1=Value1,Name2=Value2,Name3=Value3.
rOptions | When extracted, the Param=Value is removed from it. |
Definition at line 1046 of file init.cxx.
References nIndex.
Referenced by doc_createViewWithOptions(), and lo_documentLoadWithOptions().
OUString desktop::GetURL_Impl | ( | const OUString & | rName, |
std::optional< OUString > const & | cwdUrl | ||
) |
Definition at line 2189 of file app.cxx.
References aURL, comphelper::isFileUrl(), INetURLObject::NONE, INetURLObject::setFinalSlash(), INetURLObject::SetURL(), INetURLObject::smartRel2Abs(), and INetURLObject::WasEncoded.
Referenced by desktop::DispatchWatcher::executeDispatchRequests().
desktop::IMPL_LINK_NOARG | ( | Desktop | , |
OpenClients_Impl | , | ||
void * | , | ||
void | |||
) |
Definition at line 1876 of file app.cxx.
References vcl::fileregistration::CheckFileExtRegistration(), Application::GetCommandLineParam(), Application::GetCommandLineParamCount(), comphelper::getProcessServiceFactory(), i, Application::IsHeadlessModeEnabled(), desktop::RequestHandler::SetReady(), SfxGetpApp(), and xSMgr.
desktop::IMPL_STATIC_LINK | ( | Desktop | , |
ImplInitFilterHdl | , | ||
::ConvertData & | , | ||
rData | , | ||
bool | |||
) |
Definition at line 1706 of file app.cxx.
References Link< typename Arg, typename Ret >::Call(), GraphicFilter::GetFilterCallback(), and GraphicFilter::GetGraphicFilter().
desktop::IMPL_STATIC_LINK | ( | ProcessEventsClass_Impl | , |
CallEvent | , | ||
void * | , | ||
pEvent | , | ||
void | |||
) |
Definition at line 279 of file officeipcthread.cxx.
References desktop::Desktop::HandleAppEvent().
desktop::IMPL_STATIC_LINK | ( | ProcessEventsClass_Impl | , |
ProcessDocumentsEvent | , | ||
void * | , | ||
pEvent | , | ||
void | |||
) |
Definition at line 286 of file officeipcthread.cxx.
References desktop::RequestHandler::ExecuteCmdLineRequests().
Definition at line 2472 of file app.cxx.
References TOOLS_WARN_EXCEPTION.
desktop::IMPL_STATIC_LINK_NOARG | ( | Desktop | , |
EnableAcceptors_Impl | , | ||
void * | , | ||
void | |||
) |
Definition at line 187 of file appinit.cxx.
References bAccept.
|
static |
Definition at line 294 of file officeipcthread.cxx.
References LINK, and Application::PostUserEvent().
Referenced by desktop::RequestHandler::ExecuteCmdLineRequests(), and desktop::IpcThread::process().
|
static |
Definition at line 299 of file officeipcthread.cxx.
References LINK, and Application::PostUserEvent().
Referenced by desktop::IpcThread::process().
|
static |
Definition at line 294 of file migration.cxx.
Referenced by desktop::MigrationImpl::readAvailableMigrations().
std::vector< beans::PropertyValue > desktop::jsonToPropertyValuesVector | ( | const char * | pJSON | ) |
Helper function to convert JSON to a vector of PropertyValues.
Public to be unit-test-able.
Definition at line 403 of file init.cxx.
References aArguments, and comphelper::JsonToPropertyValues().
Referenced by doc_initializeForRendering(), doc_postUnoCommand(), and doc_postWindow().
bool desktop::Lockfile_execWarning | ( | Lockfile const * | that | ) |
Definition at line 29 of file lockfile2.cxx.
Referenced by desktop::Desktop::Main().
|
static |
Definition at line 77 of file migration.cxx.
References u.
Referenced by desktop::MigrationImpl::doMigration(), and desktop::NewVersionUIInfo::init().
|
static |
Definition at line 41 of file acceptor.cxx.
References run().
Referenced by desktop::Acceptor::initialize().
OUString desktop::ReplaceStringHookProc | ( | const OUString & | rStr | ) |
Definition at line 399 of file app.cxx.
References utl::ConfigManager::getAboutBoxProductVersion(), utl::ConfigManager::getAboutBoxProductVersionSuffix(), utl::Bootstrap::getBuildIdData(), utl::ConfigManager::getProductExtension(), utl::ConfigManager::getProductName(), utl::ConfigManager::getProductVersion(), and utl::ConfigManager::getVendor().
Referenced by desktop::Desktop::CheckFirstRun(), displayCmdlineHelp(), displayVersion(), lo_getVersionInfo(), and desktop::Desktop::Main().
oslSignalAction desktop::SalMainPipeExchangeSignal_impl | ( | SAL_UNUSED_PARAMETER void * | , |
oslSignalInfo * | pInfo | ||
) |
Definition at line 304 of file officeipcthread.cxx.
References desktop::RequestHandler::Disable().
Referenced by desktop::Desktop::Init().
oslSignalAction desktop::SalMainPipeExchangeSignal_impl | ( | void * | , |
oslSignalInfo * | pInfo | ||
) |
|
constexpr |
Definition at line 41 of file cmdlinehelp.cxx.
Referenced by displayCmdlineHelp().
|
constexpr |
Definition at line 38 of file cmdlinehelp.cxx.
Referenced by displayCmdlineHelp(), and displayVersion().
|
static |
Definition at line 133 of file appinit.cxx.
Referenced by desktop::Desktop::createAcceptor(), and IMPL_STATIC_LINK_NOARG().
|
constexpr |
Definition at line 73 of file migration.cxx.
Referenced by desktop::MigrationImpl::compareOldAndNewConfig(), and desktop::MigrationImpl::mergeOldToNewVersion().
|
constexpr |
Definition at line 74 of file migration.cxx.
Referenced by desktop::MigrationImpl::compareOldAndNewConfig(), and desktop::MigrationImpl::mergeOldToNewVersion().
|
constexpr |
Definition at line 75 of file migration.cxx.
Referenced by desktop::MigrationImpl::mergeOldToNewVersion().
|
static |
Definition at line 1241 of file app.cxx.
Referenced by desktop::Desktop::doShutdown(), and desktop::Desktop::Main().
|
static |
Definition at line 169 of file app.cxx.
Referenced by desktop::Desktop::DeInit(), desktop::Desktop::Exception(), and desktop::Desktop::Init().
const char desktop::XDG_CONFIG_PART[] = "/.config/" |
Definition at line 400 of file migration.cxx.
Referenced by desktop::MigrationImpl::preXDGConfigDir().