LibreOffice Module desktop (master)
1
|
Namespaces | |
langselect | |
userinstall | |
Classes | |
class | Acceptor |
class | AccInstanceProvider |
class | CallbackFlushHandler |
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, const OUString &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, OUString const &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 121 of file appinit.cxx.
typedef std::unordered_map< OUString, std::vector< MigrationItem > > desktop::MigrationHashMap |
Definition at line 108 of file migration_impl.hxx.
typedef std::vector< supported_migration > desktop::migrations_available |
Definition at line 65 of file migration_impl.hxx.
typedef std::vector< migration_step > desktop::migrations_v |
Definition at line 63 of file migration_impl.hxx.
typedef std::unique_ptr< migrations_v > desktop::migrations_vr |
Definition at line 64 of file migration_impl.hxx.
typedef std::vector< OUString > desktop::strings_v |
Definition at line 43 of file migration_impl.hxx.
typedef std::unique_ptr< strings_v > desktop::strings_vr |
Definition at line 44 of file migration_impl.hxx.
|
static |
Definition at line 385 of file migration.cxx.
References dp_registry::backend::bundle::create(), INetURLObject::GetMainURL(), INetURLObject::removeSegment(), result, and INetURLObject::ToIUri.
Referenced by desktop::MigrationImpl::copyFiles().
|
static |
Definition at line 1237 of file officeipcthread.cxx.
References utl::Bootstrap::getProcessWorkingDir(), nType, desktop::DispatchWatcher::REQUEST_BATCHPRINT, desktop::DispatchWatcher::REQUEST_CAT, desktop::DispatchWatcher::REQUEST_CONVERSION, and desktop::DispatchWatcher::REQUEST_SCRIPT_CAT.
Referenced by desktop::RequestHandler::ExecuteCmdLineRequests().
|
static |
Definition at line 1223 of file officeipcthread.cxx.
Referenced by desktop::RequestHandler::ExecuteCmdLineRequests().
|
inline |
Definition at line 67 of file migration_impl.hxx.
References u.
Referenced by desktop::MigrationItem::operator==().
|
static |
Definition at line 58 of file appinit.cxx.
References dp_registry::backend::bundle::create(), and comphelper::getProcessComponentContext().
Referenced by desktop::Desktop::RegisterServices().
|
static |
Definition at line 238 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 234 of file cmdlinehelp.cxx.
References comphelper::string::getTokenCount(), n, OUStringToOString(), and ReplaceStringHookProc().
Referenced by soffice_main().
void desktop::displayVersion | ( | ) |
Definition at line 252 of file cmdlinehelp.cxx.
References 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 948 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 2176 of file app.cxx.
References INetURLObject::GetMainURL(), comphelper::isFileUrl(), INetURLObject::NONE, INetURLObject::setFinalSlash(), INetURLObject::SetURL(), INetURLObject::smartRel2Abs(), and INetURLObject::WasEncoded.
Referenced by desktop::DispatchWatcher::executeDispatchRequests().
Definition at line 1875 of file app.cxx.
References comphelper::getProcessServiceFactory(), and desktop::RequestHandler::SetReady().
Definition at line 277 of file officeipcthread.cxx.
References desktop::Desktop::HandleAppEvent().
desktop::IMPL_STATIC_LINK | ( | ProcessEventsClass_Impl | , |
ProcessDocumentsEvent | , | ||
void * | , | ||
pEvent | , | ||
void | |||
) |
Definition at line 284 of file officeipcthread.cxx.
References desktop::RequestHandler::ExecuteCmdLineRequests().
desktop::IMPL_STATIC_LINK | ( | Desktop | , |
ImplInitFilterHdl | , | ||
::ConvertData & | , | ||
rData | , | ||
bool | |||
) |
Definition at line 1707 of file app.cxx.
References GraphicFilter::GetFilterCallback(), GraphicFilter::GetGraphicFilter(), and rData.
Definition at line 187 of file appinit.cxx.
Definition at line 2449 of file app.cxx.
References comphelper::getProcessComponentContext(), and TOOLS_WARN_EXCEPTION.
|
static |
Definition at line 292 of file officeipcthread.cxx.
References LINK, and Application::PostUserEvent().
Referenced by desktop::RequestHandler::ExecuteCmdLineRequests(), and desktop::IpcThread::process().
|
static |
Definition at line 297 of file officeipcthread.cxx.
References LINK, and Application::PostUserEvent().
Referenced by desktop::IpcThread::process().
|
static |
Definition at line 293 of file migration.cxx.
References desktop::supported_migration::nPriority.
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 376 of file init.cxx.
References aArguments, aSeq, jsonToUnoAny(), rValue, SAL_WARN, and toInt32().
Referenced by doc_initializeForRendering(), doc_postUnoCommand(), and doc_postWindow().
bool desktop::Lockfile_execWarning | ( | Lockfile const * | that | ) |
Definition at line 29 of file lockfile2.cxx.
References Application::CreateMessageDialog(), DpResId(), LOCKFILE_GROUP, LOCKFILE_HOSTKEY, LOCKFILE_TIMEKEY, LOCKFILE_USERKEY, desktop::Lockfile::m_aLockname, Config::ReadKey(), RET_YES, and Config::SetGroup().
Referenced by desktop::Desktop::Main().
|
static |
Definition at line 76 of file migration.cxx.
References u.
Referenced by desktop::MigrationImpl::doMigration(), and desktop::NewVersionUIInfo::init().
Definition at line 40 of file acceptor.cxx.
References run().
Referenced by desktop::Acceptor::initialize().
OUString desktop::ReplaceStringHookProc | ( | const OUString & | rStr | ) |
Definition at line 381 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 | ( | void * | , |
oslSignalInfo * | pInfo | ||
) |
oslSignalAction desktop::SalMainPipeExchangeSignal_impl | ( | SAL_UNUSED_PARAMETER void * | , |
oslSignalInfo * | pInfo | ||
) |
Definition at line 302 of file officeipcthread.cxx.
References desktop::RequestHandler::SetDowning().
Referenced by desktop::Desktop::Init().
constexpr OUStringLiteral desktop::aCmdLineHelp |
Definition at line 41 of file cmdlinehelp.cxx.
constexpr OUStringLiteral desktop::aCmdLineHelp_version |
Definition at line 38 of file cmdlinehelp.cxx.
|
static |
Definition at line 129 of file appinit.cxx.
Referenced by desktop::Desktop::createAcceptor().
constexpr OUStringLiteral desktop::ITEM_DESCRIPTOR_COMMANDURL = u"CommandURL" |
Definition at line 72 of file migration.cxx.
constexpr OUStringLiteral desktop::ITEM_DESCRIPTOR_CONTAINER = u"ItemDescriptorContainer" |
Definition at line 73 of file migration.cxx.
constexpr OUStringLiteral desktop::ITEM_DESCRIPTOR_LABEL = u"Label" |
Definition at line 74 of file migration.cxx.
|
static |
Definition at line 1222 of file app.cxx.
Referenced by desktop::Desktop::doShutdown().
const char desktop::XDG_CONFIG_PART[] = "/.config/" |
Definition at line 399 of file migration.cxx.
Referenced by desktop::MigrationImpl::preXDGConfigDir().