| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
| <html> |
| <head> |
| |
| <meta http-equiv="CONTENT-TYPE" |
| content="text/html; charset=windows-1252"> |
| <title>Available/deprecated command line arguments in OpenOffice (Lastest changes: November 5th 2002)</title> |
| |
| <meta name="GENERATOR" content="StarOffice 6.0 (Win32)"> |
| |
| <meta name="CREATED" content="20021030;15341512"> |
| |
| <meta name="CHANGED" content="20021030;15573159"> |
| </head> |
| <body lang="en-US"> |
| <p><b>These are the available/deprecated command line arguments in |
| OpenOffice.</b><br> |
| (Lastest changes: November 5th 2002)<br> |
| <br> |
| <b><br> |
| appserver</b><br> |
| <br> |
| Obsolete, not used anymore.<br> |
| <br> |
| <br> |
| <b>-embedding</b><br> |
| <br> |
| Obsolete, not used anymore.<br> |
| <br> |
| <br> |
| <b>-minimized</b><br> |
| <br> |
| This argument only controls the visibility of the intro bitmap during |
| startup. There is no code that minimizes the first window after startup.<br> |
| <br> |
| <br> |
| <b>-invisible</b><br> |
| <br> |
| The office doesn't show the intro bitmap during startup and doesn't |
| open the first default document. After startup there is no visible UI |
| although using the Office API it is possible to open visible |
| documents/dialogs. The only way to shutdown the office is through the |
| Office API or using the task manager / kill command.<br> |
| <b><br> |
| <br> |
| -norestore</b><br> |
| <br> |
| Don't restart office and restore all opened documents automatically |
| after an exception. <br> |
| <br> |
| <br> |
| <b>-bean</b><br> |
| <br> |
| Obsolete, currently it only controls the creation of the default |
| document. In the past this argument influenced the registration, crash |
| mail and other features.<br> |
| <br> |
| <br> |
| <b>-server</b><br> |
| <br> |
| This argument is like -invisible, additionally the ucb component is |
| configured using the configuration key |
| /org.openoffice.ucb.Configuration/ContentProviders/['Server']/SecondaryKeys/['Office']/ProviderData |
| instead of |
| /org.openoffice.ucb.Configuration/ContentProviders/['Local']/SecondaryKeys/['Office']/ProviderData |
| to support a remote file system. This configuration data is NOT included |
| in OpenOffice so normally you cannot use it. Please use -invisible |
| instead. <br> |
| There are some limitations for this command line argument. All "open", |
| "print", "print to" commands on the command line are ignored. No default |
| document is opened. After startup there is no visible UI although using |
| the Office API it is possible to open visible documents/dialogs. The |
| only way to shutdown the office is through the Office API or using the |
| task manager / kill command.<br> |
| <br> |
| <br> |
| <b>-quickstart</b><br> |
| <br> |
| Specifies that the quickstarter service should be activated during |
| startup. The office doesn't show the intro bitmap during startup. If you |
| use this option for a 2nd office this command is send to the running |
| office and activates the quickstarter.<br> |
| <br> |
| <br> |
| <b>-terminate_after_init</b><br> |
| <br> |
| The office terminates after it registers some uno services. The office |
| doesn't show the intro bitmap during startup.<br> |
| <br> |
| <br> |
| <b>-accept=</b><br> |
| <br> |
| This command line parameter provides an uno accept string to the |
| office. The accept string is used to create an acceptor thread.<br> |
| "socket," = Uses the socket implementation to create an acceptor. |
| Currently used by scripting clients to access the StarOffice API.<br> |
| <br> |
| <br> |
| <b>-userid=</b><br> |
| <br> |
| The parameter specifies an user directory which should be used by the |
| office. Overriding the infos from soffice.ini/bootstrap.ini and |
| sversion.ini.<br> |
| <br> |
| <br> |
| <b>-p ... </b><br> |
| <br> |
| "Print" command to print all following files on the default printer. |
| The office doesn't show the intro bitmap during startup. <br> |
| <br> |
| <br> |
| <b>-pt ... </b><br> |
| <br> |
| "Print to" command to specify an additional printer for output. The |
| office doesn't show the intro bitmap during startup.<br> |
| <br> |
| <br> |
| <b>-o (supported from src642)</b><br> |
| <br> |
| Always open files on command line for editing even if they are |
| templates.<br> |
| <br> |
| <br> |
| <b>-n (supported from src642)</b><br> |
| <br> |
| Always create a new document based on the given file (use document as a |
| template).<br> |
| <br> |
| <br> |
| <b>-nologo (supported from srx643)</b><br> |
| <br> |
| The office doesn't show the intro bitmap during startup.<br> |
| <br> |
| <br> |
| <b>-view ... (supported from srx644)</b></p> |
| <p>The documents specified will be loaded in 'read-only' mode. The |
| files will be copied to the temp directory and removed from it when the |
| office is closed.<br> |
| <br> |
| <br> |
| <b>-nolockcheck (supported from srx644)</b></p> |
| <p>Suppress checking for a locked user installation (an unlocked |
| installation will be locked nevertheless).<br> |
| <br> |
| <br> |
| <b>-headless (supported from srx644)<br> |
| <br> |
| </b><span style="">The headless mode makes it possible to script an |
| Office without any user interface and user interface interaction. It is |
| a special mode used typically by external scripting clients. The Office |
| has no user interface and the lifetime must be controlled by the |
| external scripting client.<br> |
| </span><br> |
| <br> |
| <span style="font-weight: bold;">-writer/-calc/-draw/-impress/-math/-global/-web |
| (supported from srx644)<br> |
| <br> |
| </span>These parameters open a new document of the given type:<br> |
| </p> |
| <table border="1" style="width: 40%;" cellpadding="2" cellspacing="2"> |
| <tbody> |
| <tr> |
| <td><span style="font-weight: bold;">Parameter </span><br> |
| </td> |
| <td><span style="font-weight: bold;">Document type</span><br> |
| </td> |
| </tr> |
| <tr> |
| <td>-writer </td> |
| <td>Empty writer document<br> |
| </td> |
| </tr> |
| <tr> |
| <td style="vertical-align: top;">-calc<br> |
| </td> |
| <td style="vertical-align: top;">Empty calc document<br> |
| </td> |
| </tr> |
| <tr> |
| <td style="vertical-align: top;">-draw<br> |
| </td> |
| <td style="vertical-align: top;">Empty draw document<br> |
| </td> |
| </tr> |
| <tr> |
| <td style="vertical-align: top;">-impress<br> |
| </td> |
| <td style="vertical-align: top;">Empty impress document<br> |
| </td> |
| </tr> |
| <tr> |
| <td style="vertical-align: top;">-math<br> |
| </td> |
| <td style="vertical-align: top;">Empty math document<br> |
| </td> |
| </tr> |
| <tr> |
| <td style="vertical-align: top;">-global<br> |
| </td> |
| <td style="vertical-align: top;">Empty global document<br> |
| </td> |
| </tr> |
| <tr> |
| <td style="vertical-align: top;">-web<br> |
| </td> |
| <td style="vertical-align: top;">Empty HTML document<br> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <p><br> |
| <b>Additional information:</b><br> |
| <br> |
| The intro bitmap is not shown if the office uses the remote vcl library.<br> |
| <br> |
| <br> |
| <b>-display </b><br> |
| <br> |
| Set the DISPLAY environment variable on Unix. This is only supported by |
| the office startup script that should normally be used.</p> |
| <p><br> |
| <br> |
| </p> |
| </body> |
| </html> |