Starting the $[officename] Software With Parameters/text/shared/guide/start_parameters.xhpstart parameterscommand line parametersparameters;command linearguments in command lineStarting the $[officename] Software With ParametersBy starting the $[officename] software from the command line you can assign various parameters, with which you can influence the performance. The use of command line parameters is only recommended for experienced users.For normal handling, the use of command line parameters is not necessary. A few of the parameters require a deeper knowledge of the technical background of the $[officename] software technology.Starting the $[officename] Software From the Command LineUnder Windows, select Run from the Windows Start menu, or open a Shell under UNIX® based platforms.Under Windows, type the following text in the Open text field and click OK. Under UNIX based systems, type the following line of text, then press Return:{install}\program\soffice.exe {parameter}
{install}/program/soffice {parameter}
Replace {install} with the path to your installation of the $[officename] software (for example, C:\Program Files\Office, or ~/office)Where required, replace {parameter} with one or more of the following command line parameters.Valid Command Line Parameters
ParameterMeaning-help / -h / -?Lists the available command line parameters in a dialog box
to the console.-writerStarts with an empty Writer document.-calcStarts with an empty Calc document.-drawStarts with an empty Draw document.-impressStarts with an empty Impress document.-mathStarts with an empty Math document.-globalStarts with an empty Writer master document.-webStarts with an empty HTML document.-show {filename.odp}Starts with the Impress file {filename.odp} and starts the presentation. Enters edit mode after the presentation.-minimizedStarts minimized. The splash screen is not displayed.-maximizedStarts maximized.see i72749-invisibleStarts in invisible mode.Neither the start-up logo nor the initial program window will be visible. However, the $[officename] software can be controlled and documents and dialogs opened via the API. When the $[officename] software has been started with this parameter, it can only be ended using the taskmanager (Windows) or the kill command (UNIX based systems).It cannot be used in conjunction with -quickstart.More information is found in the $[officename] Developer's Guide.-norestoreDisables restart and file recovery after a system crash.-nofirststartwizardDisables the Welcome Wizard.-quickstartActivates the Quickstarter.now on UNIX too-accept={UNO string}Notifies the $[officename] software that upon the creation of "UNO Acceptor Threads", a "UNO Accept String" will be used.More information is found in the $[officename] Developer's Guide.-envSets another environment for the program start.UFI: just guessing. Cannot find any infoUse soffice -env:UserInstallation=$(URL) where $(URL) is the URL of a folder that contains the "user" folder.this is from http://www.mail-archive.com/dev@api.openoffice.org/msg04728.html-p {filename1} {filename2} ...Prints the files {filename1} {filename2} ... to the default printer and ends. The splash screen does not appear.If the file name contains spaces, then it must be enclosed in quotation marks.-pt {Printername} {filename1} {filename2} ...Prints the files {filename1} {filename2} ... to the printer {Printername} and ends. The splash screen does not appear.If the file name contains spaces, then it must be enclosed in quotation marks.-o {filename}Opens {filename} for editing, even if it is a template.-view {filename}Creates a temporary copy of {filename} and opens it read-only.-n {filename}Creates a new document using {filename} as a template.-nologoDisables the splash screen at program start.-nodefaultStarts without displaying anything except the splash screen.-nofirststartwizardAdd this parameter to the program start command to suppress the Welcome Wizard.see i72749-display {display}Sets the DISPLAY environment variable on UNIX based platforms to the value {display}. This parameter is only supported by the start script for the $[officename] software on UNIX based platforms.-headlessStarts in "headless mode" which allows using the application without user interface.This special mode can be used when the application is controlled by external clients via the API.
see i70904 for more parameters:
-terminate_after_init
-plugin
-bean
-clientdisplay
-userid