LibreOffice Module desktop (master)  1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
desktop::CommandLineArgs Class Reference

#include <cmdlineargs.hxx>

Collaboration diagram for desktop::CommandLineArgs:
[legend]

Classes

struct  Supplier
 

Public Member Functions

 CommandLineArgs ()
 
 CommandLineArgs (Supplier &supplier)
 
 CommandLineArgs (const CommandLineArgs &)=delete
 
const CommandLineArgsoperator= (const CommandLineArgs &)=delete
 
const boost::optional< OUString > & getCwdUrl () const
 
bool IsMinimized () const
 
bool IsInvisible () const
 
bool IsNoRestore () const
 
bool IsNoDefault () const
 
bool IsHeadless () const
 
bool IsEventTesting () 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

boost::optional< OUString > m_cwdUrl
 
bool m_minimized
 
bool m_invisible
 
bool m_norestore
 
bool m_headless
 
bool m_eventtesting
 
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
 

Detailed Description

Definition at line 33 of file cmdlineargs.hxx.

Constructor & Destructor Documentation

desktop::CommandLineArgs::CommandLineArgs ( )

Definition at line 266 of file cmdlineargs.cxx.

desktop::CommandLineArgs::CommandLineArgs ( Supplier supplier)
explicit

Definition at line 273 of file cmdlineargs.cxx.

desktop::CommandLineArgs::CommandLineArgs ( const CommandLineArgs )
delete

Member Function Documentation

std::vector< OUString > const& desktop::CommandLineArgs::GetAccept ( ) const
inline

Definition at line 103 of file cmdlineargs.hxx.

References m_accept.

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

std::vector< OUString > desktop::CommandLineArgs::GetConversionList ( ) const
OUString desktop::CommandLineArgs::GetConversionOut ( ) const

Definition at line 783 of file cmdlineargs.cxx.

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

const OUString& desktop::CommandLineArgs::GetConversionParams ( ) const
inline

Definition at line 116 of file cmdlineargs.hxx.

References m_conversionparams.

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

const boost::optional< OUString >& desktop::CommandLineArgs::getCwdUrl ( ) const
inline
std::vector< OUString > desktop::CommandLineArgs::GetForceNewList ( ) const

Definition at line 763 of file cmdlineargs.cxx.

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

std::vector< OUString > desktop::CommandLineArgs::GetForceOpenList ( ) const

Definition at line 758 of file cmdlineargs.cxx.

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

OUString const& desktop::CommandLineArgs::GetImageConversionType ( ) const
inline

Definition at line 118 of file cmdlineargs.hxx.

References m_convertimages.

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

std::vector< OUString > const& desktop::CommandLineArgs::GetInFilter ( ) const
inline

Definition at line 114 of file cmdlineargs.hxx.

References m_infilter.

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

const OUString& desktop::CommandLineArgs::GetLanguage ( ) const
inline

Definition at line 113 of file cmdlineargs.hxx.

References m_language.

std::vector< OUString > desktop::CommandLineArgs::GetOpenList ( ) const

Definition at line 743 of file cmdlineargs.cxx.

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

const OUString& desktop::CommandLineArgs::GetPidfileName ( ) const
inline

Definition at line 119 of file cmdlineargs.hxx.

References m_pidfile.

Referenced by desktop::Desktop::doShutdown(), and desktop::Desktop::Main().

const OUString& desktop::CommandLineArgs::GetPrinterName ( ) const
inline

Definition at line 112 of file cmdlineargs.hxx.

References m_printername.

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

std::vector< OUString > desktop::CommandLineArgs::GetPrintList ( ) const
std::vector< OUString > desktop::CommandLineArgs::GetPrintToList ( ) const
std::vector< OUString > desktop::CommandLineArgs::GetStartList ( ) const

Definition at line 753 of file cmdlineargs.cxx.

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

std::vector< OUString > const& desktop::CommandLineArgs::GetUnaccept ( ) const
inline

Definition at line 104 of file cmdlineargs.hxx.

References m_unaccept.

const OUString& desktop::CommandLineArgs::GetUnknown ( ) const
inline

Definition at line 99 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 748 of file cmdlineargs.cxx.

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

bool desktop::CommandLineArgs::HasModuleParam ( ) const
bool desktop::CommandLineArgs::HasSplashPipe ( ) const
inline

Definition at line 102 of file cmdlineargs.hxx.

References m_splashpipe.

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

void desktop::CommandLineArgs::InitParamValues ( )
private

Definition at line 694 of file cmdlineargs.cxx.

bool desktop::CommandLineArgs::IsBase ( ) const
inline

Definition at line 88 of file cmdlineargs.hxx.

References m_base.

Referenced by desktop::Desktop::OpenDefault(), and desktop::Desktop::OpenSplashScreen().

bool desktop::CommandLineArgs::IsCalc ( ) const
inline
bool desktop::CommandLineArgs::IsDraw ( ) const
inline
bool desktop::CommandLineArgs::IsEmpty ( ) const
inline

Definition at line 122 of file cmdlineargs.hxx.

References m_bEmpty.

bool desktop::CommandLineArgs::IsEventTesting ( ) const
inline
bool desktop::CommandLineArgs::IsGlobal ( ) const
inline

Definition at line 89 of file cmdlineargs.hxx.

References m_global.

Referenced by desktop::Desktop::OpenDefault(), and desktop::Desktop::OpenSplashScreen().

bool desktop::CommandLineArgs::IsHeadless ( ) const
inline
bool desktop::CommandLineArgs::IsHelp ( ) const
inline

Definition at line 76 of file cmdlineargs.hxx.

References m_help.

Referenced by desktop::Desktop::Init(), and soffice_main().

bool desktop::CommandLineArgs::IsHelpBase ( ) const
inline

Definition at line 81 of file cmdlineargs.hxx.

References m_helpbase.

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

bool desktop::CommandLineArgs::IsHelpBasic ( ) const
inline

Definition at line 83 of file cmdlineargs.hxx.

References m_helpbasic.

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

bool desktop::CommandLineArgs::IsHelpCalc ( ) const
inline

Definition at line 78 of file cmdlineargs.hxx.

References m_helpcalc.

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

bool desktop::CommandLineArgs::IsHelpDraw ( ) const
inline

Definition at line 79 of file cmdlineargs.hxx.

References m_helpdraw.

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

bool desktop::CommandLineArgs::IsHelpImpress ( ) const
inline

Definition at line 80 of file cmdlineargs.hxx.

References m_helpimpress.

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

bool desktop::CommandLineArgs::IsHelpMath ( ) const
inline

Definition at line 82 of file cmdlineargs.hxx.

References m_helpmath.

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

bool desktop::CommandLineArgs::IsHelpWriter ( ) const
inline

Definition at line 77 of file cmdlineargs.hxx.

References m_helpwriter.

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

bool desktop::CommandLineArgs::IsImpress ( ) const
inline
bool desktop::CommandLineArgs::IsInvisible ( ) const
inline
bool desktop::CommandLineArgs::IsMath ( ) const
inline

Definition at line 90 of file cmdlineargs.hxx.

References m_math.

Referenced by desktop::Desktop::OpenDefault(), and desktop::Desktop::OpenSplashScreen().

bool desktop::CommandLineArgs::IsMinimized ( ) const
inline

Definition at line 62 of file cmdlineargs.hxx.

References m_minimized.

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

bool desktop::CommandLineArgs::IsNoDefault ( ) const
inline

Definition at line 68 of file cmdlineargs.hxx.

References m_nodefault.

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

bool desktop::CommandLineArgs::IsNoLockcheck ( ) const
inline

Definition at line 75 of file cmdlineargs.hxx.

References m_nolockcheck.

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

bool desktop::CommandLineArgs::IsNoLogo ( ) const
inline

Definition at line 74 of file cmdlineargs.hxx.

References m_nologo.

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

bool desktop::CommandLineArgs::IsNoQuickstart ( ) const
inline

Definition at line 72 of file cmdlineargs.hxx.

References m_noquickstart.

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

bool desktop::CommandLineArgs::IsNoRestore ( ) const
inline

Definition at line 67 of file cmdlineargs.hxx.

References m_norestore.

Referenced by desktop::Desktop::Exception(), and desktop::Desktop::OpenClients().

bool desktop::CommandLineArgs::IsQuickstart ( ) const
inline
bool desktop::CommandLineArgs::IsSafeMode ( ) const
inline

Definition at line 97 of file cmdlineargs.hxx.

References m_safemode.

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

bool desktop::CommandLineArgs::IsScriptCat ( ) const
inline

Definition at line 96 of file cmdlineargs.hxx.

References m_scriptcat.

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

bool desktop::CommandLineArgs::IsTerminateAfterInit ( ) const
inline
bool desktop::CommandLineArgs::IsTextCat ( ) const
inline

Definition at line 95 of file cmdlineargs.hxx.

References m_textcat.

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

bool desktop::CommandLineArgs::IsVersion ( ) const
inline

Definition at line 92 of file cmdlineargs.hxx.

References m_version.

Referenced by desktop::Desktop::Init(), and soffice_main().

bool desktop::CommandLineArgs::IsWeb ( ) const
inline

Definition at line 91 of file cmdlineargs.hxx.

References m_web.

Referenced by desktop::Desktop::OpenDefault(), and desktop::Desktop::OpenSplashScreen().

bool desktop::CommandLineArgs::IsWriter ( ) const
inline
const CommandLineArgs& desktop::CommandLineArgs::operator= ( const CommandLineArgs )
delete
void desktop::CommandLineArgs::ParseCommandLine_Impl ( Supplier supplier)
private
void desktop::CommandLineArgs::setHeadless ( )
inline

Definition at line 124 of file cmdlineargs.hxx.

References m_headless.

Referenced by lo_initialize().

bool desktop::CommandLineArgs::WantsToLoadDocument ( ) const
inline

Definition at line 94 of file cmdlineargs.hxx.

References m_bDocumentArgs.

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

Member Data Documentation

std::vector< OUString > desktop::CommandLineArgs::m_accept
private

Definition at line 169 of file cmdlineargs.hxx.

Referenced by GetAccept().

bool desktop::CommandLineArgs::m_base
private

Definition at line 151 of file cmdlineargs.hxx.

Referenced by IsBase().

bool desktop::CommandLineArgs::m_bDocumentArgs
private

Definition at line 168 of file cmdlineargs.hxx.

Referenced by WantsToLoadDocument().

bool desktop::CommandLineArgs::m_bEmpty
private

Definition at line 167 of file cmdlineargs.hxx.

Referenced by IsEmpty().

bool desktop::CommandLineArgs::m_calc
private

Definition at line 145 of file cmdlineargs.hxx.

Referenced by IsCalc().

std::vector< OUString > desktop::CommandLineArgs::m_conversionlist
private

Definition at line 179 of file cmdlineargs.hxx.

OUString desktop::CommandLineArgs::m_conversionout
private

Definition at line 181 of file cmdlineargs.hxx.

OUString desktop::CommandLineArgs::m_conversionparams
private

Definition at line 180 of file cmdlineargs.hxx.

Referenced by GetConversionParams().

OUString desktop::CommandLineArgs::m_convertimages
private

Definition at line 182 of file cmdlineargs.hxx.

Referenced by GetImageConversionType().

boost::optional< OUString > desktop::CommandLineArgs::m_cwdUrl
private

Definition at line 130 of file cmdlineargs.hxx.

Referenced by getCwdUrl().

bool desktop::CommandLineArgs::m_draw
private

Definition at line 146 of file cmdlineargs.hxx.

Referenced by IsDraw().

bool desktop::CommandLineArgs::m_eventtesting
private

Definition at line 136 of file cmdlineargs.hxx.

Referenced by IsEventTesting(), and IsInvisible().

std::vector< OUString > desktop::CommandLineArgs::m_forcenewlist
private

Definition at line 175 of file cmdlineargs.hxx.

std::vector< OUString > desktop::CommandLineArgs::m_forceopenlist
private

Definition at line 174 of file cmdlineargs.hxx.

bool desktop::CommandLineArgs::m_global
private

Definition at line 148 of file cmdlineargs.hxx.

Referenced by IsGlobal().

bool desktop::CommandLineArgs::m_headless
private

Definition at line 135 of file cmdlineargs.hxx.

Referenced by IsHeadless(), IsInvisible(), and setHeadless().

bool desktop::CommandLineArgs::m_help
private

Definition at line 143 of file cmdlineargs.hxx.

Referenced by IsHelp().

bool desktop::CommandLineArgs::m_helpbase
private

Definition at line 158 of file cmdlineargs.hxx.

Referenced by IsHelpBase().

bool desktop::CommandLineArgs::m_helpbasic
private

Definition at line 155 of file cmdlineargs.hxx.

Referenced by IsHelpBasic().

bool desktop::CommandLineArgs::m_helpcalc
private

Definition at line 153 of file cmdlineargs.hxx.

Referenced by IsHelpCalc().

bool desktop::CommandLineArgs::m_helpdraw
private

Definition at line 154 of file cmdlineargs.hxx.

Referenced by IsHelpDraw().

bool desktop::CommandLineArgs::m_helpimpress
private

Definition at line 157 of file cmdlineargs.hxx.

Referenced by IsHelpImpress().

bool desktop::CommandLineArgs::m_helpmath
private

Definition at line 156 of file cmdlineargs.hxx.

Referenced by IsHelpMath().

bool desktop::CommandLineArgs::m_helpwriter
private

Definition at line 152 of file cmdlineargs.hxx.

Referenced by IsHelpWriter().

bool desktop::CommandLineArgs::m_impress
private

Definition at line 147 of file cmdlineargs.hxx.

Referenced by IsImpress().

std::vector< OUString > desktop::CommandLineArgs::m_infilter
private

Definition at line 183 of file cmdlineargs.hxx.

Referenced by GetInFilter().

bool desktop::CommandLineArgs::m_invisible
private

Definition at line 133 of file cmdlineargs.hxx.

Referenced by IsInvisible().

OUString desktop::CommandLineArgs::m_language
private

Definition at line 184 of file cmdlineargs.hxx.

Referenced by GetLanguage().

bool desktop::CommandLineArgs::m_math
private

Definition at line 149 of file cmdlineargs.hxx.

Referenced by IsMath().

bool desktop::CommandLineArgs::m_minimized
private

Definition at line 132 of file cmdlineargs.hxx.

Referenced by IsMinimized().

bool desktop::CommandLineArgs::m_nodefault
private

Definition at line 142 of file cmdlineargs.hxx.

Referenced by IsNoDefault().

bool desktop::CommandLineArgs::m_nolockcheck
private

Definition at line 141 of file cmdlineargs.hxx.

Referenced by IsNoLockcheck().

bool desktop::CommandLineArgs::m_nologo
private

Definition at line 140 of file cmdlineargs.hxx.

Referenced by IsNoLogo().

bool desktop::CommandLineArgs::m_noquickstart
private

Definition at line 138 of file cmdlineargs.hxx.

Referenced by IsNoQuickstart().

bool desktop::CommandLineArgs::m_norestore
private

Definition at line 134 of file cmdlineargs.hxx.

Referenced by IsNoRestore().

std::vector< OUString > desktop::CommandLineArgs::m_openlist
private

Definition at line 171 of file cmdlineargs.hxx.

OUString desktop::CommandLineArgs::m_pidfile
private

Definition at line 185 of file cmdlineargs.hxx.

Referenced by GetPidfileName().

OUString desktop::CommandLineArgs::m_printername
private

Definition at line 178 of file cmdlineargs.hxx.

Referenced by GetPrinterName().

std::vector< OUString > desktop::CommandLineArgs::m_printlist
private

Definition at line 176 of file cmdlineargs.hxx.

std::vector< OUString > desktop::CommandLineArgs::m_printtolist
private

Definition at line 177 of file cmdlineargs.hxx.

bool desktop::CommandLineArgs::m_quickstart
private

Definition at line 137 of file cmdlineargs.hxx.

Referenced by IsQuickstart().

bool desktop::CommandLineArgs::m_safemode
private

Definition at line 163 of file cmdlineargs.hxx.

Referenced by IsSafeMode().

bool desktop::CommandLineArgs::m_scriptcat
private

Definition at line 162 of file cmdlineargs.hxx.

Referenced by IsScriptCat().

bool desktop::CommandLineArgs::m_splashpipe
private

Definition at line 160 of file cmdlineargs.hxx.

Referenced by HasSplashPipe().

std::vector< OUString > desktop::CommandLineArgs::m_startlist
private

Definition at line 173 of file cmdlineargs.hxx.

bool desktop::CommandLineArgs::m_terminateafterinit
private

Definition at line 139 of file cmdlineargs.hxx.

Referenced by IsTerminateAfterInit().

bool desktop::CommandLineArgs::m_textcat
private

Definition at line 161 of file cmdlineargs.hxx.

Referenced by IsTextCat().

std::vector< OUString > desktop::CommandLineArgs::m_unaccept
private

Definition at line 170 of file cmdlineargs.hxx.

Referenced by GetUnaccept().

OUString desktop::CommandLineArgs::m_unknown
private

Definition at line 165 of file cmdlineargs.hxx.

Referenced by GetUnknown().

bool desktop::CommandLineArgs::m_version
private

Definition at line 159 of file cmdlineargs.hxx.

Referenced by IsVersion().

std::vector< OUString > desktop::CommandLineArgs::m_viewlist
private

Definition at line 172 of file cmdlineargs.hxx.

bool desktop::CommandLineArgs::m_web
private

Definition at line 150 of file cmdlineargs.hxx.

Referenced by IsWeb().

bool desktop::CommandLineArgs::m_writer
private

Definition at line 144 of file cmdlineargs.hxx.

Referenced by IsWriter().


The documentation for this class was generated from the following files: