LibreOffice Module desktop (master) 1
|
#include <cmdlineargs.hxx>
Classes | |
struct | Supplier |
Public Member Functions | |
CommandLineArgs () | |
CommandLineArgs (Supplier &supplier) | |
CommandLineArgs (const CommandLineArgs &)=delete | |
const CommandLineArgs & | operator= (const CommandLineArgs &)=delete |
const std::optional< OUString > & | getCwdUrl () const |
bool | IsMinimized () const |
bool | IsInvisible () const |
bool | IsNoRestore () const |
bool | IsNoDefault () const |
bool | IsHeadless () const |
bool | IsQuickstart () const |
bool | IsNoQuickstart () const |
bool | IsTerminateAfterInit () const |
bool | IsNoLogo () const |
bool | IsNoLockcheck () const |
bool | IsHelp () const |
bool | IsHelpWriter () const |
bool | IsHelpCalc () const |
bool | IsHelpDraw () const |
bool | IsHelpImpress () const |
bool | IsHelpBase () const |
bool | IsHelpMath () const |
bool | IsHelpBasic () const |
bool | IsWriter () const |
bool | IsCalc () const |
bool | IsDraw () const |
bool | IsImpress () const |
bool | IsBase () const |
bool | IsGlobal () const |
bool | IsMath () const |
bool | IsWeb () const |
bool | IsVersion () const |
bool | HasModuleParam () const |
bool | WantsToLoadDocument () const |
bool | IsTextCat () const |
bool | IsScriptCat () const |
bool | IsSafeMode () const |
const OUString & | GetUnknown () const |
bool | HasSplashPipe () const |
std::vector< OUString > const & | GetAccept () const |
std::vector< OUString > const & | GetUnaccept () const |
std::vector< OUString > | GetOpenList () const |
std::vector< OUString > | GetViewList () const |
std::vector< OUString > | GetStartList () const |
std::vector< OUString > | GetForceOpenList () const |
std::vector< OUString > | GetForceNewList () const |
std::vector< OUString > | GetPrintList () const |
std::vector< OUString > | GetPrintToList () const |
const OUString & | GetPrinterName () const |
const OUString & | GetLanguage () const |
std::vector< OUString > const & | GetInFilter () const |
std::vector< OUString > | GetConversionList () const |
const OUString & | GetConversionParams () const |
OUString | GetConversionOut () const |
OUString const & | GetImageConversionType () const |
const OUString & | GetPidfileName () const |
bool | IsEmpty () const |
void | setHeadless () |
Private Member Functions | |
void | ParseCommandLine_Impl (Supplier &supplier) |
void | InitParamValues () |
Private Attributes | |
std::optional< OUString > | m_cwdUrl |
bool | m_minimized |
bool | m_invisible |
bool | m_norestore |
bool | m_headless |
bool | m_quickstart |
bool | m_noquickstart |
bool | m_terminateafterinit |
bool | m_nologo |
bool | m_nolockcheck |
bool | m_nodefault |
bool | m_help |
bool | m_writer |
bool | m_calc |
bool | m_draw |
bool | m_impress |
bool | m_global |
bool | m_math |
bool | m_web |
bool | m_base |
bool | m_helpwriter |
bool | m_helpcalc |
bool | m_helpdraw |
bool | m_helpbasic |
bool | m_helpmath |
bool | m_helpimpress |
bool | m_helpbase |
bool | m_version |
bool | m_splashpipe |
bool | m_textcat |
bool | m_scriptcat |
bool | m_safemode |
OUString | m_unknown |
bool | m_bEmpty |
bool | m_bDocumentArgs |
std::vector< OUString > | m_accept |
std::vector< OUString > | m_unaccept |
std::vector< OUString > | m_openlist |
std::vector< OUString > | m_viewlist |
std::vector< OUString > | m_startlist |
std::vector< OUString > | m_forceopenlist |
std::vector< OUString > | m_forcenewlist |
std::vector< OUString > | m_printlist |
std::vector< OUString > | m_printtolist |
OUString | m_printername |
std::vector< OUString > | m_conversionlist |
OUString | m_conversionparams |
OUString | m_conversionout |
OUString | m_convertimages |
std::vector< OUString > | m_infilter |
OUString | m_language |
OUString | m_pidfile |
Definition at line 32 of file cmdlineargs.hxx.
desktop::CommandLineArgs::CommandLineArgs | ( | ) |
Definition at line 267 of file cmdlineargs.cxx.
References InitParamValues(), and ParseCommandLine_Impl().
|
explicit |
Definition at line 274 of file cmdlineargs.cxx.
References InitParamValues(), and ParseCommandLine_Impl().
|
delete |
|
inline |
Definition at line 100 of file cmdlineargs.hxx.
References m_accept.
Referenced by desktop::Desktop::RegisterServices().
std::vector< OUString > desktop::CommandLineArgs::GetConversionList | ( | ) | const |
Definition at line 774 of file cmdlineargs.cxx.
References m_conversionlist.
Referenced by desktop::Desktop::OpenClients(), and desktop::Desktop::OpenSplashScreen().
OUString desktop::CommandLineArgs::GetConversionOut | ( | ) | const |
Definition at line 779 of file cmdlineargs.cxx.
References m_conversionout.
Referenced by desktop::Desktop::OpenClients().
|
inline |
Definition at line 113 of file cmdlineargs.hxx.
References m_conversionparams.
Referenced by desktop::Desktop::OpenClients().
|
inline |
Definition at line 57 of file cmdlineargs.hxx.
References m_cwdUrl.
Referenced by desktop::Desktop::HandleAppEvent(), desktop::Desktop::OpenClients(), and desktop::Desktop::OpenDefault().
std::vector< OUString > desktop::CommandLineArgs::GetForceNewList | ( | ) | const |
Definition at line 759 of file cmdlineargs.cxx.
References m_forcenewlist.
Referenced by desktop::Desktop::OpenClients().
std::vector< OUString > desktop::CommandLineArgs::GetForceOpenList | ( | ) | const |
Definition at line 754 of file cmdlineargs.cxx.
References m_forceopenlist.
Referenced by desktop::Desktop::OpenClients().
|
inline |
Definition at line 115 of file cmdlineargs.hxx.
References m_convertimages.
Referenced by desktop::Desktop::OpenClients().
|
inline |
Definition at line 111 of file cmdlineargs.hxx.
References m_infilter.
Referenced by desktop::Desktop::OpenClients().
|
inline |
Definition at line 110 of file cmdlineargs.hxx.
References m_language.
std::vector< OUString > desktop::CommandLineArgs::GetOpenList | ( | ) | const |
Definition at line 739 of file cmdlineargs.cxx.
References m_openlist.
Referenced by desktop::Desktop::OpenClients().
|
inline |
Definition at line 116 of file cmdlineargs.hxx.
References m_pidfile.
Referenced by desktop::Desktop::doShutdown(), and desktop::Desktop::Main().
|
inline |
Definition at line 109 of file cmdlineargs.hxx.
References m_printername.
Referenced by desktop::Desktop::OpenClients().
std::vector< OUString > desktop::CommandLineArgs::GetPrintList | ( | ) | const |
Definition at line 764 of file cmdlineargs.cxx.
References m_printlist.
Referenced by desktop::Desktop::OpenClients(), and desktop::Desktop::OpenSplashScreen().
std::vector< OUString > desktop::CommandLineArgs::GetPrintToList | ( | ) | const |
Definition at line 769 of file cmdlineargs.cxx.
References m_printtolist.
Referenced by desktop::Desktop::OpenClients(), and desktop::Desktop::OpenSplashScreen().
std::vector< OUString > desktop::CommandLineArgs::GetStartList | ( | ) | const |
Definition at line 749 of file cmdlineargs.cxx.
References m_startlist.
Referenced by desktop::Desktop::OpenClients().
|
inline |
Definition at line 101 of file cmdlineargs.hxx.
References m_unaccept.
|
inline |
Definition at line 96 of file cmdlineargs.hxx.
References m_unknown.
Referenced by desktop::Desktop::Init(), and soffice_main().
std::vector< OUString > desktop::CommandLineArgs::GetViewList | ( | ) | const |
Definition at line 744 of file cmdlineargs.cxx.
References m_viewlist.
Referenced by desktop::Desktop::OpenClients().
bool desktop::CommandLineArgs::HasModuleParam | ( | ) | const |
Definition at line 733 of file cmdlineargs.cxx.
References m_base, m_calc, m_draw, m_global, m_impress, m_math, m_web, and m_writer.
Referenced by desktop::Desktop::OpenClients(), and desktop::Desktop::OpenDefault().
|
inline |
Definition at line 99 of file cmdlineargs.hxx.
References m_splashpipe.
Referenced by desktop::Desktop::OpenSplashScreen().
|
private |
Definition at line 691 of file cmdlineargs.cxx.
References m_base, m_bDocumentArgs, m_bEmpty, m_calc, m_draw, m_global, m_headless, m_help, m_helpbase, m_helpbasic, m_helpcalc, m_helpdraw, m_helpimpress, m_helpmath, m_helpwriter, m_impress, m_invisible, m_math, m_minimized, m_nodefault, m_nolockcheck, m_nologo, m_noquickstart, m_norestore, m_quickstart, m_safemode, m_scriptcat, m_splashpipe, m_terminateafterinit, m_textcat, m_version, m_web, and m_writer.
Referenced by CommandLineArgs().
|
inline |
Definition at line 85 of file cmdlineargs.hxx.
References m_base.
Referenced by desktop::Desktop::OpenDefault(), and desktop::Desktop::OpenSplashScreen().
|
inline |
Definition at line 82 of file cmdlineargs.hxx.
References m_calc.
Referenced by desktop::Desktop::OpenClients(), desktop::Desktop::OpenDefault(), and desktop::Desktop::OpenSplashScreen().
|
inline |
Definition at line 83 of file cmdlineargs.hxx.
References m_draw.
Referenced by desktop::Desktop::OpenClients(), desktop::Desktop::OpenDefault(), and desktop::Desktop::OpenSplashScreen().
|
inline |
Definition at line 119 of file cmdlineargs.hxx.
References m_bEmpty.
|
inline |
Definition at line 86 of file cmdlineargs.hxx.
References m_global.
Referenced by desktop::Desktop::OpenDefault(), and desktop::Desktop::OpenSplashScreen().
|
inline |
Definition at line 67 of file cmdlineargs.hxx.
References m_headless.
Referenced by desktop::Desktop::Exception(), desktop::Desktop::Main(), desktop::Desktop::OpenClients(), desktop::Desktop::OpenSplashScreen(), and desktop::Desktop::RegisterServices().
|
inline |
Definition at line 73 of file cmdlineargs.hxx.
References m_help.
Referenced by desktop::Desktop::Init(), and soffice_main().
|
inline |
Definition at line 78 of file cmdlineargs.hxx.
References m_helpbase.
Referenced by desktop::Desktop::OpenClients().
|
inline |
Definition at line 80 of file cmdlineargs.hxx.
References m_helpbasic.
Referenced by desktop::Desktop::OpenClients().
|
inline |
Definition at line 75 of file cmdlineargs.hxx.
References m_helpcalc.
Referenced by desktop::Desktop::OpenClients().
|
inline |
Definition at line 76 of file cmdlineargs.hxx.
References m_helpdraw.
Referenced by desktop::Desktop::OpenClients().
|
inline |
Definition at line 77 of file cmdlineargs.hxx.
References m_helpimpress.
Referenced by desktop::Desktop::OpenClients().
|
inline |
Definition at line 79 of file cmdlineargs.hxx.
References m_helpmath.
Referenced by desktop::Desktop::OpenClients().
|
inline |
Definition at line 74 of file cmdlineargs.hxx.
References m_helpwriter.
Referenced by desktop::Desktop::OpenClients().
|
inline |
Definition at line 84 of file cmdlineargs.hxx.
References m_impress.
Referenced by desktop::Desktop::OpenClients(), desktop::Desktop::OpenDefault(), and desktop::Desktop::OpenSplashScreen().
|
inline |
Definition at line 61 of file cmdlineargs.hxx.
References m_headless, and m_invisible.
Referenced by desktop::Desktop::HandleAppEvent(), desktop::Desktop::Main(), desktop::Desktop::OpenClients(), desktop::Desktop::OpenSplashScreen(), and desktop::IpcThread::process().
|
inline |
Definition at line 87 of file cmdlineargs.hxx.
References m_math.
Referenced by desktop::Desktop::OpenDefault(), and desktop::Desktop::OpenSplashScreen().
|
inline |
Definition at line 60 of file cmdlineargs.hxx.
References m_minimized.
Referenced by desktop::Desktop::OpenSplashScreen().
|
inline |
Definition at line 66 of file cmdlineargs.hxx.
References m_nodefault.
Referenced by desktop::Desktop::OpenDefault().
|
inline |
Definition at line 72 of file cmdlineargs.hxx.
References m_nolockcheck.
Referenced by desktop::Desktop::Main().
|
inline |
Definition at line 71 of file cmdlineargs.hxx.
References m_nologo.
Referenced by desktop::Desktop::OpenSplashScreen().
|
inline |
Definition at line 69 of file cmdlineargs.hxx.
References m_noquickstart.
Referenced by desktop::Desktop::Main().
|
inline |
Definition at line 65 of file cmdlineargs.hxx.
References m_norestore.
Referenced by desktop::Desktop::Exception(), and desktop::Desktop::OpenClients().
|
inline |
Definition at line 68 of file cmdlineargs.hxx.
References m_quickstart.
Referenced by desktop::Desktop::Main(), desktop::Desktop::OpenClients(), and desktop::Desktop::OpenSplashScreen().
|
inline |
Definition at line 94 of file cmdlineargs.hxx.
References m_safemode.
Referenced by desktop::Desktop::Init().
|
inline |
Definition at line 93 of file cmdlineargs.hxx.
References m_scriptcat.
Referenced by desktop::Desktop::OpenClients().
|
inline |
Definition at line 70 of file cmdlineargs.hxx.
References m_terminateafterinit.
Referenced by desktop::Desktop::HandleAppEvent(), desktop::Desktop::Main(), and desktop::Desktop::OpenSplashScreen().
|
inline |
Definition at line 92 of file cmdlineargs.hxx.
References m_textcat.
Referenced by desktop::Desktop::OpenClients().
|
inline |
Definition at line 89 of file cmdlineargs.hxx.
References m_version.
Referenced by desktop::Desktop::Init(), and soffice_main().
|
inline |
Definition at line 88 of file cmdlineargs.hxx.
References m_web.
Referenced by desktop::Desktop::OpenDefault(), and desktop::Desktop::OpenSplashScreen().
|
inline |
Definition at line 81 of file cmdlineargs.hxx.
References m_writer.
Referenced by desktop::Desktop::OpenClients(), desktop::Desktop::OpenDefault(), and desktop::Desktop::OpenSplashScreen().
|
delete |
|
private |
Definition at line 280 of file cmdlineargs.cxx.
References desktop::CommandLineArgs::Supplier::getCwdUrl(), m_accept, m_base, m_bDocumentArgs, m_bEmpty, m_calc, m_conversionlist, m_conversionout, m_conversionparams, m_convertimages, m_cwdUrl, m_draw, m_forcenewlist, m_forceopenlist, m_global, m_help, m_helpbase, m_helpbasic, m_helpcalc, m_helpdraw, m_helpimpress, m_helpmath, m_helpwriter, m_impress, m_infilter, m_invisible, m_language, m_math, m_minimized, m_nodefault, m_nolockcheck, m_nologo, m_noquickstart, m_norestore, m_openlist, m_pidfile, m_printername, m_printlist, m_printtolist, m_quickstart, m_safemode, m_scriptcat, m_splashpipe, m_startlist, m_terminateafterinit, m_textcat, m_unaccept, m_unknown, m_version, m_viewlist, m_web, m_writer, desktop::CommandLineArgs::Supplier::next(), OUStringToOString(), and setHeadless().
Referenced by CommandLineArgs().
|
inline |
Definition at line 121 of file cmdlineargs.hxx.
References m_headless.
Referenced by lo_initialize(), and ParseCommandLine_Impl().
|
inline |
Definition at line 91 of file cmdlineargs.hxx.
References m_bDocumentArgs.
Referenced by desktop::Desktop::Main().
|
private |
Definition at line 165 of file cmdlineargs.hxx.
Referenced by GetAccept(), and ParseCommandLine_Impl().
|
private |
Definition at line 147 of file cmdlineargs.hxx.
Referenced by HasModuleParam(), InitParamValues(), IsBase(), and ParseCommandLine_Impl().
|
private |
Definition at line 164 of file cmdlineargs.hxx.
Referenced by InitParamValues(), ParseCommandLine_Impl(), and WantsToLoadDocument().
|
private |
Definition at line 163 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsEmpty(), and ParseCommandLine_Impl().
|
private |
Definition at line 141 of file cmdlineargs.hxx.
Referenced by HasModuleParam(), InitParamValues(), IsCalc(), and ParseCommandLine_Impl().
|
private |
Definition at line 175 of file cmdlineargs.hxx.
Referenced by GetConversionList(), and ParseCommandLine_Impl().
|
private |
Definition at line 177 of file cmdlineargs.hxx.
Referenced by GetConversionOut(), and ParseCommandLine_Impl().
|
private |
Definition at line 176 of file cmdlineargs.hxx.
Referenced by GetConversionParams(), and ParseCommandLine_Impl().
|
private |
Definition at line 178 of file cmdlineargs.hxx.
Referenced by GetImageConversionType(), and ParseCommandLine_Impl().
|
private |
Definition at line 127 of file cmdlineargs.hxx.
Referenced by getCwdUrl(), and ParseCommandLine_Impl().
|
private |
Definition at line 142 of file cmdlineargs.hxx.
Referenced by HasModuleParam(), InitParamValues(), IsDraw(), and ParseCommandLine_Impl().
|
private |
Definition at line 171 of file cmdlineargs.hxx.
Referenced by GetForceNewList(), and ParseCommandLine_Impl().
|
private |
Definition at line 170 of file cmdlineargs.hxx.
Referenced by GetForceOpenList(), and ParseCommandLine_Impl().
|
private |
Definition at line 144 of file cmdlineargs.hxx.
Referenced by HasModuleParam(), InitParamValues(), IsGlobal(), and ParseCommandLine_Impl().
|
private |
Definition at line 132 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsHeadless(), IsInvisible(), and setHeadless().
|
private |
Definition at line 139 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsHelp(), and ParseCommandLine_Impl().
|
private |
Definition at line 154 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsHelpBase(), and ParseCommandLine_Impl().
|
private |
Definition at line 151 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsHelpBasic(), and ParseCommandLine_Impl().
|
private |
Definition at line 149 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsHelpCalc(), and ParseCommandLine_Impl().
|
private |
Definition at line 150 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsHelpDraw(), and ParseCommandLine_Impl().
|
private |
Definition at line 153 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsHelpImpress(), and ParseCommandLine_Impl().
|
private |
Definition at line 152 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsHelpMath(), and ParseCommandLine_Impl().
|
private |
Definition at line 148 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsHelpWriter(), and ParseCommandLine_Impl().
|
private |
Definition at line 143 of file cmdlineargs.hxx.
Referenced by HasModuleParam(), InitParamValues(), IsImpress(), and ParseCommandLine_Impl().
|
private |
Definition at line 179 of file cmdlineargs.hxx.
Referenced by GetInFilter(), and ParseCommandLine_Impl().
|
private |
Definition at line 130 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsInvisible(), and ParseCommandLine_Impl().
|
private |
Definition at line 180 of file cmdlineargs.hxx.
Referenced by GetLanguage(), and ParseCommandLine_Impl().
|
private |
Definition at line 145 of file cmdlineargs.hxx.
Referenced by HasModuleParam(), InitParamValues(), IsMath(), and ParseCommandLine_Impl().
|
private |
Definition at line 129 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsMinimized(), and ParseCommandLine_Impl().
|
private |
Definition at line 138 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsNoDefault(), and ParseCommandLine_Impl().
|
private |
Definition at line 137 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsNoLockcheck(), and ParseCommandLine_Impl().
|
private |
Definition at line 136 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsNoLogo(), and ParseCommandLine_Impl().
|
private |
Definition at line 134 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsNoQuickstart(), and ParseCommandLine_Impl().
|
private |
Definition at line 131 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsNoRestore(), and ParseCommandLine_Impl().
|
private |
Definition at line 167 of file cmdlineargs.hxx.
Referenced by GetOpenList(), and ParseCommandLine_Impl().
|
private |
Definition at line 181 of file cmdlineargs.hxx.
Referenced by GetPidfileName(), and ParseCommandLine_Impl().
|
private |
Definition at line 174 of file cmdlineargs.hxx.
Referenced by GetPrinterName(), and ParseCommandLine_Impl().
|
private |
Definition at line 172 of file cmdlineargs.hxx.
Referenced by GetPrintList(), and ParseCommandLine_Impl().
|
private |
Definition at line 173 of file cmdlineargs.hxx.
Referenced by GetPrintToList(), and ParseCommandLine_Impl().
|
private |
Definition at line 133 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsQuickstart(), and ParseCommandLine_Impl().
|
private |
Definition at line 159 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsSafeMode(), and ParseCommandLine_Impl().
|
private |
Definition at line 158 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsScriptCat(), and ParseCommandLine_Impl().
|
private |
Definition at line 156 of file cmdlineargs.hxx.
Referenced by HasSplashPipe(), InitParamValues(), and ParseCommandLine_Impl().
|
private |
Definition at line 169 of file cmdlineargs.hxx.
Referenced by GetStartList(), and ParseCommandLine_Impl().
|
private |
Definition at line 135 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsTerminateAfterInit(), and ParseCommandLine_Impl().
|
private |
Definition at line 157 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsTextCat(), and ParseCommandLine_Impl().
|
private |
Definition at line 166 of file cmdlineargs.hxx.
Referenced by GetUnaccept(), and ParseCommandLine_Impl().
|
private |
Definition at line 161 of file cmdlineargs.hxx.
Referenced by GetUnknown(), and ParseCommandLine_Impl().
|
private |
Definition at line 155 of file cmdlineargs.hxx.
Referenced by InitParamValues(), IsVersion(), and ParseCommandLine_Impl().
|
private |
Definition at line 168 of file cmdlineargs.hxx.
Referenced by GetViewList(), and ParseCommandLine_Impl().
|
private |
Definition at line 146 of file cmdlineargs.hxx.
Referenced by HasModuleParam(), InitParamValues(), IsWeb(), and ParseCommandLine_Impl().
|
private |
Definition at line 140 of file cmdlineargs.hxx.
Referenced by HasModuleParam(), InitParamValues(), IsWriter(), and ParseCommandLine_Impl().