LibreOffice Module desktop (master)  1
Namespaces | Classes | Typedefs | Functions | Variables
desktop Namespace Reference

Namespaces

 langselect
 
 splash
 
 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_vstrings_vr
 
typedef std::vector< migration_stepmigrations_v
 
typedef std::unique_ptr< migrations_vmigrations_vr
 
typedef std::vector< supported_migrationmigrations_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, o3tl::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, o3tl::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, o3tl::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 retrieveLabelFromCommand (const OUString &sCommand, const OUString &sModuleIdentifier)
 
static OUString mapModuleShortNameToIdentifier (const OUString &sShortName)
 
static void insertSorted (migrations_available &rAvailableMigrations, supported_migration const &aSupportedMigration)
 
static FileBase::RC _checkAndCreateDirectory (INetURLObject const &dirURL)
 
bool areBothOpenFrom (OUString const &cmd1, OUString const &cmd2)
 
static void offacc_workerfunc (void *acc)
 
DESKTOP_DLLPUBLIC OUString extractParameter (OUString &aOptions, const OUString &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
 
const char aCmdLineHelp_version []
 
const char aCmdLineHelp []
 
static const char ITEM_DESCRIPTOR_COMMANDURL [] = "CommandURL"
 
static const char ITEM_DESCRIPTOR_CONTAINER [] = "ItemDescriptorContainer"
 
static const char ITEM_DESCRIPTOR_LABEL [] = "Label"
 
static const char XDG_CONFIG_PART [] = "/.config/"
 

Typedef Documentation

typedef std::map< OUString, css::uno::Reference<css::lang::XInitialization> > desktop::AcceptorMap

Definition at line 132 of file appinit.cxx.

typedef std::unordered_map< OUString, std::vector< MigrationItem > > desktop::MigrationHashMap

Definition at line 118 of file migration_impl.hxx.

Definition at line 75 of file migration_impl.hxx.

typedef std::vector< migration_step > desktop::migrations_v

Definition at line 73 of file migration_impl.hxx.

typedef std::unique_ptr< migrations_v > desktop::migrations_vr

Definition at line 74 of file migration_impl.hxx.

typedef std::vector< OUString > desktop::strings_v

Definition at line 53 of file migration_impl.hxx.

typedef std::unique_ptr< strings_v > desktop::strings_vr

Definition at line 54 of file migration_impl.hxx.

Function Documentation

static FileBase::RC desktop::_checkAndCreateDirectory ( INetURLObject const &  dirURL)
static
static void desktop::AddConversionsToDispatchList ( std::vector< DispatchWatcher::DispatchRequest > &  rDispatchList,
o3tl::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 
)
static
static void desktop::AddToDispatchList ( std::vector< DispatchWatcher::DispatchRequest > &  rDispatchList,
o3tl::optional< OUString > const &  cwdUrl,
std::vector< OUString > const &  aRequestList,
DispatchWatcher::RequestType  nType,
const OUString &  aParam,
const OUString &  aFactory 
)
static
bool desktop::areBothOpenFrom ( OUString const &  cmd1,
OUString const &  cmd2 
)
inline

Definition at line 77 of file migration_impl.hxx.

Referenced by desktop::MigrationItem::operator==().

static void desktop::configureUcb ( )
static
static OUString desktop::CreateMD5FromString ( const OUString &  aMsg)
static

Definition at line 241 of file officeipcthread.cxx.

References aBuffer, i, pData, and SAL_INFO.

Referenced by desktop::PipeIpcThread::enable().

void desktop::displayCmdlineHelp ( OUString const &  unknown)
void desktop::displayVersion ( )

Definition at line 254 of file cmdlinehelp.cxx.

References OUStringToOString(), and ReplaceStringHookProc().

Referenced by soffice_main().

OUString desktop::extractParameter ( OUString &  aOptions,
const OUString &  rName 
)

Helper function to extract the value from parameters delimited by comma, like: Name1=Value1,Name2=Value2,Name3=Value3.

Parameters
rOptionsWhen extracted, the Param=Value is removed from it.

Definition at line 714 of file init.cxx.

References nIndex.

Referenced by doc_createViewWithOptions(), and lo_documentLoadWithOptions().

OUString desktop::GetURL_Impl ( const OUString &  rName,
o3tl::optional< OUString > const &  cwdUrl 
)
desktop::IMPL_LINK_NOARG ( Desktop  ,
OpenClients_Impl  ,
void ,
void   
)
desktop::IMPL_STATIC_LINK ( ProcessEventsClass_Impl  ,
CallEvent  ,
void ,
pEvent  ,
void   
)

Definition at line 280 of file officeipcthread.cxx.

References desktop::Desktop::HandleAppEvent().

desktop::IMPL_STATIC_LINK ( ProcessEventsClass_Impl  ,
ProcessDocumentsEvent  ,
void ,
pEvent  ,
void   
)
desktop::IMPL_STATIC_LINK ( Desktop  ,
ImplInitFilterHdl  ,
::ConvertData ,
rData  ,
bool   
)
desktop::IMPL_STATIC_LINK_NOARG ( Desktop  ,
EnableAcceptors_Impl  ,
void ,
void   
)

Definition at line 198 of file appinit.cxx.

desktop::IMPL_STATIC_LINK_NOARG ( Desktop  ,
AsyncInitFirstRun  ,
Timer ,
void   
)

Definition at line 2487 of file app.cxx.

References comphelper::getProcessComponentContext(), and TOOLS_WARN_EXCEPTION.

static void desktop::ImplPostForeignAppEvent ( ApplicationEvent pEvent)
static
static void desktop::ImplPostProcessDocumentsEvent ( std::unique_ptr< ProcessDocumentsRequest pEvent)
static

Definition at line 300 of file officeipcthread.cxx.

References LINK, and Application::PostUserEvent().

Referenced by desktop::IpcThread::process().

static void desktop::insertSorted ( migrations_available rAvailableMigrations,
supported_migration const &  aSupportedMigration 
)
static
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 366 of file init.cxx.

References aArguments, aSeq, jsonToUnoAny(), SAL_WARN, and toInt32().

Referenced by doc_initializeForRendering(), doc_postUnoCommand(), and doc_postWindow().

bool desktop::Lockfile_execWarning ( Lockfile const *  that)
static OUString desktop::mapModuleShortNameToIdentifier ( const OUString &  sShortName)
static
static void desktop::offacc_workerfunc ( void acc)
static

Definition at line 43 of file acceptor.cxx.

References run().

Referenced by desktop::Acceptor::initialize().

OUString desktop::ReplaceStringHookProc ( const OUString &  rStr)
static OUString desktop::retrieveLabelFromCommand ( const OUString &  sCommand,
const OUString &  sModuleIdentifier 
)
static
oslSignalAction desktop::SalMainPipeExchangeSignal_impl ( void ,
oslSignalInfo *  pInfo 
)
oslSignalAction desktop::SalMainPipeExchangeSignal_impl ( SAL_UNUSED_PARAMETER void ,
oslSignalInfo *  pInfo 
)

Definition at line 305 of file officeipcthread.cxx.

References desktop::RequestHandler::SetDowning().

Referenced by desktop::Desktop::Init().

Variable Documentation

const char desktop::aCmdLineHelp[]

Definition at line 43 of file cmdlinehelp.cxx.

const char desktop::aCmdLineHelp_version[]
Initial value:
=
"%PRODUCTNAME %PRODUCTVERSION%PRODUCTEXTENSION %BUILDID\n"
"\n"

Definition at line 40 of file cmdlinehelp.cxx.

bool desktop::bAccept = false
static

Definition at line 140 of file appinit.cxx.

Referenced by desktop::Desktop::createAcceptor().

const char desktop::ITEM_DESCRIPTOR_COMMANDURL[] = "CommandURL"
static

Definition at line 78 of file migration.cxx.

const char desktop::ITEM_DESCRIPTOR_CONTAINER[] = "ItemDescriptorContainer"
static

Definition at line 79 of file migration.cxx.

const char desktop::ITEM_DESCRIPTOR_LABEL[] = "Label"
static

Definition at line 80 of file migration.cxx.

ExecuteGlobals* desktop::pExecGlobals = nullptr
static

Definition at line 1228 of file app.cxx.

Referenced by desktop::Desktop::doShutdown().

oslSignalHandler desktop::pSignalHandler = nullptr
static

Definition at line 170 of file app.cxx.

const char desktop::XDG_CONFIG_PART[] = "/.config/"
static

Definition at line 444 of file migration.cxx.

Referenced by desktop::MigrationImpl::preXDGConfigDir().