Difference between revisions of "Framework/Article/Command Line Arguments"
From Apache OpenOffice Wiki
(→Command line arguments) |
(→Command line arguments) |
||
Line 25: | Line 25: | ||
| Start the quickstart service (only available on Windows and OS/2 platform). | | Start the quickstart service (only available on Windows and OS/2 platform). | ||
|- | |- | ||
− | | -nologo | + | | '''-nologo''' |
| Don't show the splash screen. | | Don't show the splash screen. | ||
|- | |- | ||
− | | -lockcheck | + | | '''-lockcheck''' |
| Don't check for remote instances using a .lock file in the user folder. | | Don't check for remote instances using a .lock file in the user folder. | ||
|- | |- | ||
− | | -nodefault | + | | '''-nodefault''' |
| Don't start with an empty document. | | Don't start with an empty document. | ||
|- | |- | ||
− | | -headless | + | | '''-headless''' |
| Suppresses any modal dialog so OpenOffice.org can run without user interaction. This is NOT designed to run OOo as a "background" process. The Office still starts and open document views. It's the task of a developer to use the API correctly to assure that no UI is shown. | | Suppresses any modal dialog so OpenOffice.org can run without user interaction. This is NOT designed to run OOo as a "background" process. The Office still starts and open document views. It's the task of a developer to use the API correctly to assure that no UI is shown. | ||
|} | |} |
Revision as of 07:59, 29 September 2010
Command line arguments
The general command line of OpenOffice.org is defined as:
Usage: soffice.exe [options] [documents]
Command | Purpose |
-minimized | keeps start up bitmap minimized |
-invisible | Initially no start up screen, no default document and UI is shown. It's possible to show documents via API. This option is not designed to use OOo as a "background" process. The API developer has to make sure that the views are opened non-visible. |
norestore | Suppress restart/restore after a fatal error. |
-quickstart | Start the quickstart service (only available on Windows and OS/2 platform). |
-nologo | Don't show the splash screen. |
-lockcheck | Don't check for remote instances using a .lock file in the user folder. |
-nodefault | Don't start with an empty document. |
-headless | Suppresses any modal dialog so OpenOffice.org can run without user interaction. This is NOT designed to run OOo as a "background" process. The Office still starts and open document views. It's the task of a developer to use the API correctly to assure that no UI is shown. |