Lines Matching refs:pArgs
392 static CommandLineArgs* pArgs = 0; in GetCommandLineArgs() local
393 if ( !pArgs ) in GetCommandLineArgs()
396 if ( !pArgs ) in GetCommandLineArgs()
397 pArgs = new CommandLineArgs; in GetCommandLineArgs()
400 return pArgs; in GetCommandLineArgs()
1750 CommandLineArgs* pArgs = GetCommandLineArgs(); in Exception() local
1755 …( !pArgs->IsNoRestore() ) && // some use cases of office must work without reco… in Exception()
1756 ( !pArgs->IsHeadless() ) && in Exception()
1757 ( !pArgs->IsServer() ) && in Exception()
2586 void Desktop::PreloadModuleData( CommandLineArgs* pArgs ) in PreloadModuleData() argument
2599 if ( pArgs->IsWriter() ) in PreloadModuleData()
2611 if ( pArgs->IsCalc() ) in PreloadModuleData()
2623 if ( pArgs->IsDraw() ) in PreloadModuleData()
2635 if ( pArgs->IsImpress() ) in PreloadModuleData()
2937 CommandLineArgs* pArgs = GetCommandLineArgs(); in OpenClients() local
2942 if (!pArgs->IsQuickstart()) { in OpenClients()
2945 if (pArgs->IsHelpWriter()) { in OpenClients()
2948 } else if (pArgs->IsHelpCalc()) { in OpenClients()
2951 } else if (pArgs->IsHelpDraw()) { in OpenClients()
2954 } else if (pArgs->IsHelpImpress()) { in OpenClients()
2957 } else if (pArgs->IsHelpBase()) { in OpenClients()
2960 } else if (pArgs->IsHelpBasic()) { in OpenClients()
2963 } else if (pArgs->IsHelpMath()) { in OpenClients()
3012 if ( pArgs->IsWriter() || in OpenClients()
3013 pArgs->IsCalc() || in OpenClients()
3014 pArgs->IsDraw() || in OpenClients()
3015 pArgs->IsImpress() ) in OpenClients()
3017 PreloadModuleData( pArgs ); in OpenClients()
3032 ( !pArgs->IsNoRestore() ) && in OpenClients()
3033 ( !pArgs->IsHeadless() ) && in OpenClients()
3034 ( !pArgs->IsServer() ) in OpenClients()
3150 if ( !pArgs->IsServer() ) in OpenClients()
3152 ProcessDocumentsRequest aRequest(pArgs->getCwdUrl()); in OpenClients()
3155 pArgs->GetOpenList( aRequest.aOpenList ); in OpenClients()
3156 pArgs->GetViewList( aRequest.aViewList ); in OpenClients()
3157 pArgs->GetStartList( aRequest.aStartList ); in OpenClients()
3158 pArgs->GetPrintList( aRequest.aPrintList ); in OpenClients()
3159 pArgs->GetPrintToList( aRequest.aPrintToList ); in OpenClients()
3160 pArgs->GetPrinterName( aRequest.aPrinterName ); in OpenClients()
3161 pArgs->GetForceOpenList( aRequest.aForceOpenList ); in OpenClients()
3162 pArgs->GetForceNewList( aRequest.aForceNewList ); in OpenClients()
3174 if ( pArgs->HasModuleParam() ) in OpenClients()
3179 if ( pArgs->IsWriter() && aOpt.IsModuleInstalled( SvtModuleOptions::E_SWRITER ) ) in OpenClients()
3181 else if ( pArgs->IsCalc() && aOpt.IsModuleInstalled( SvtModuleOptions::E_SCALC ) ) in OpenClients()
3183 … else if ( pArgs->IsImpress() && aOpt.IsModuleInstalled( SvtModuleOptions::E_SIMPRESS ) ) in OpenClients()
3185 else if ( pArgs->IsDraw() && aOpt.IsModuleInstalled( SvtModuleOptions::E_SDRAW ) ) in OpenClients()
3217 if ( xList->hasElements() || pArgs->IsServer() ) in OpenClients()
3220 …if ( pArgs->IsQuickstart() || pArgs->IsInvisible() || pArgs->IsBean() || Application::AnyInput( IN… in OpenClients()
3236 CommandLineArgs* pArgs = GetCommandLineArgs(); in OpenDefault() local
3237 if ( pArgs->IsNoDefault() ) return; in OpenDefault()
3238 if ( pArgs->HasModuleParam() ) in OpenDefault()
3241 if ( pArgs->IsWriter() && aOpt.IsModuleInstalled( SvtModuleOptions::E_SWRITER ) ) in OpenDefault()
3243 else if ( pArgs->IsCalc() && aOpt.IsModuleInstalled( SvtModuleOptions::E_SCALC ) ) in OpenDefault()
3245 else if ( pArgs->IsImpress() && aOpt.IsModuleInstalled( SvtModuleOptions::E_SIMPRESS ) ) in OpenDefault()
3247 else if ( pArgs->IsBase() && aOpt.IsModuleInstalled( SvtModuleOptions::E_SDATABASE ) ) in OpenDefault()
3249 else if ( pArgs->IsDraw() && aOpt.IsModuleInstalled( SvtModuleOptions::E_SDRAW ) ) in OpenDefault()
3251 else if ( pArgs->IsMath() && aOpt.IsModuleInstalled( SvtModuleOptions::E_SMATH ) ) in OpenDefault()
3253 else if ( pArgs->IsGlobal() && aOpt.IsModuleInstalled( SvtModuleOptions::E_SWRITER ) ) in OpenDefault()
3255 else if ( pArgs->IsWeb() && aOpt.IsModuleInstalled( SvtModuleOptions::E_SWRITER ) ) in OpenDefault()
3276 ProcessDocumentsRequest aRequest(pArgs->getCwdUrl()); in OpenDefault()