<?xml version="1.0" encoding="UTF-8"?>
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->
<helpdocument version="1.0">
    <meta>
        <topic id="textsharedguidestart_parametersxml" indexer="include" status="PUBLISH">
            <title id="tit">Starting $[officename] Software With Parameters</title>
            <filename>/text/shared/guide/start_parameters.xhp</filename>
        </topic>
    </meta>
<body>
    <section id="start_parameters">
        <bookmark branch="index" id="bm_id3156410">
            <bookmark_value>start parameters</bookmark_value>
            <bookmark_value>command line parameters</bookmark_value>
            <bookmark_value>parameters;command line</bookmark_value>
            <bookmark_value>arguments in command line</bookmark_value>
        </bookmark>
        <h1 id="hd_id3156410"><variable id="Title_h1"><link href="text/shared/guide/start_parameters.xhp">Starting $[officename] Software With Parameters</link></variable></h1>
        <paragraph role="paragraph" id="par_id3147009">By starting $[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.</paragraph>
        <note id="par_id3147618">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 $[officename] software technology.</note>
        <h2 id="hd_id3154898">Starting $[officename] Software From the Command Line</h2>
        <switch select="sys">
            <case select="WIN">
            <list type="ordered">
            <listitem>
                <paragraph role="listitem" id="par_id3156152">Search for <emph>Run</emph> in the Windows Start menu.</paragraph>
            </listitem>
            <listitem>
                <paragraph role="listitem" id="par_id3152472">Type the following text in the <emph>Open</emph> text field and click <emph>OK</emph>. </paragraph>
            </listitem>
            <listitem>
                <paragraph role="code" id="par_id3147561">"{install}\program\soffice.com" {parameter}</paragraph>
                <paragraph role="listitem" id="par_id3153360">Replace <emph>{install}</emph> with the path to your installation of %PRODUCTNAME software (for example, <emph>C:\Program Files\%PRODUCTNAME</emph>). Use <emph>soffice.exe</emph> instead of <emph>soffice.com</emph>, when you do not need console (e.g., you do not use command-line interface for headless operations).</paragraph>
            </listitem>
            </list>
            </case>
            <default>
            <list type="ordered">
            <listitem>
                <paragraph role="listitem" id="par_id3157152">Open a shell under Linux, *BSD, or macOS platforms.</paragraph>
            </listitem>
            <listitem>
                <paragraph role="listitem" id="par_id3147669">Type the following line of text, then press <emph>Return</emph>:</paragraph>
                <paragraph role="code" id="par_id3143561">{install}/program/soffice {parameter}</paragraph>
                <paragraph role="listitem" id="par_id3157360">Replace <emph>{install}</emph> with the path to your installation of %PRODUCTNAME software (for example, <emph>/opt/%PRODUCTNAME</emph> in UNIX)</paragraph>
            </listitem>
            </list>
            </default>
        </switch>
        <paragraph role="paragraph" id="par_id3147010">$[officename] requires write access to its user profile directory.</paragraph>
    <h2 id="hd_id3145171">Valid Command Line Parameters</h2>
    <h3 id="hd_id1016120408556191">Using without special arguments</h3>
    <paragraph role="paragraph" id="par_id215247284938">Using without any arguments opens the start center.</paragraph>
    <table id="tbl_id2016120408556132">
        <tablerow>
           <tablecell>
               <paragraph id="par_id4016121206183262" role="tablecontent"><emph>{file}</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id40161212062813818" role="tablecontent">Tries to open the file (files) in the components suitable for them.</paragraph>
           </tablecell>
       </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id40161212063110720" role="tablecontent"><emph>{file} macro://./[Library.Module.MacroName]</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id40161212063330252" role="tablecontent">Opens the file and applies specified macros from the file.</paragraph>
           </tablecell>
      </tablerow>
    </table>
    <h3 id="hd_id201612040855610">Getting help and information</h3>
    <table id="tbl_id20161204085561">
        <tablerow>
            <tablecell>
                <paragraph role="tablehead" id="par_id3148451"><variable id="parameter">Parameter</variable></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablehead" id="par_id3149167"><variable id="meaning">Meaning</variable></paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3149983" localize="false"><emph>--help / -h / -?</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3147349">Lists the available command line parameters to the console.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id2016120408595932" role="tablecontent" localize="false"><emph>--helpwriter</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id20161204091221764" role="tablecontent">Opens $[officename] built-in or online Help on Writer.</paragraph>
           </tablecell>
       </tablerow>
       <tablerow>
           <tablecell>
               <paragraph id="par_id20161204091430073" role="tablecontent" localize="false"><emph>--helpcalc</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id20161204091520522" role="tablecontent">Opens $[officename] built-in or online Help on Calc.</paragraph>
           </tablecell>
       </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id20161204091613165" role="tablecontent" localize="false"><emph>--helpdraw</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id20161204091727059" role="tablecontent">Opens $[officename] built-in or online Help on Draw.</paragraph>
           </tablecell>
       </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id2016120409175485" role="tablecontent" localize="false"><emph>--helpimpress</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id20161204091812159" role="tablecontent">Opens $[officename] built-in or online Help on Impress.</paragraph>
           </tablecell>
       </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id2016120409189173" role="tablecontent" localize="false"><emph>--helpbase</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id20161204091919599" role="tablecontent">Opens $[officename] built-in or online Help on Base.</paragraph>
           </tablecell>
       </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id20161204092016613" role="tablecontent" localize="false"><emph>--helpbasic</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id20161204092029619" role="tablecontent">Opens $[officename] built-in or online Help on Basic scripting language.</paragraph>
           </tablecell>
       </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id20161204092113738" role="tablecontent" localize="false"><emph>--helpmath</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id2016120409214276" role="tablecontent">Opens $[officename] built-in or online Help on Math.</paragraph>
           </tablecell>
      </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id31499et" localize="false"><emph>--version</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id31473et">Shows $[officename] version and quits.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id2016120409226160" role="tablecontent" localize="false"><emph>--nstemporarydirectory</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id2016120409236546" role="tablecontent">(macOS sandbox only) Returns path of the temporary directory for the current user and exits. Overrides all other arguments.</paragraph>
           </tablecell>
      </tablerow>
    </table>

    <h3 id="hd_id20161204094429235">General arguments</h3>
    <table id="tbl_id201612040855">
        <tablerow>
            <tablecell>
                <paragraph id="par_id20161204095215085" role="tablehead" localize="false"><embedvar href="text/shared/guide/start_parameters.xhp#parameter"/></paragraph>
            </tablecell>
            <tablecell>
                <paragraph id="par_id201612040953917" role="tablehead" localize="false"><embedvar href="text/shared/guide/start_parameters.xhp#meaning"/></paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3148477" localize="false"><emph>--quickstart[=no]</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3153919">Activates[Deactivates] the Quickstarter service. It can take only one parameter <emph>no</emph> which deactivates the Quickstarter service. Without parameters this service is activated.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id315917t" localize="false"><emph>--nolockcheck</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id315330t">Disables check for remote instances using the installation.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id314959o" localize="false"><emph>--infilter=InputFilterName</emph><br/><emph>[:InputFilterParam[,param]]</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id315053o">Forces an input filter type, if possible. For example:</paragraph>
                <paragraph role="tablecontent" id="par_id411550934641187" localize="false"><input>--infilter="Calc Office Open XML"</input></paragraph>
                <paragraph role="tablecontent" id="par_id501550934647297" localize="false"><input>--infilter="Text (encoded):UTF8,LF,Liberation Mono,en-US"</input>.</paragraph>
                <embed href="text/shared/guide/start_parameters.xhp#seefilters"/>

            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph id="par_id2016120409546167" role="tablecontent" localize="false"><emph>--pidfile={file}</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph id="par_id20161204101917197" role="tablecontent">Store soffice.bin pid to <emph>{file}</emph>.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3153915" localize="false"><emph>--display {display}</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3146786">Sets the <emph>DISPLAY</emph> environment variable on UNIX-like platforms to the value <emph>{display}</emph>. This parameter is only supported by the start script for $[officename] software on UNIX-like platforms.</paragraph>
            </tablecell>
        </tablerow>
    </table>

    <h3 id="hd_id20161204103115358">User/programmatic interface control</h3>
    <table id="tbl_id20170517001">
        <tablerow>
            <tablecell>
                <paragraph id="par_id20161204095214085" role="tablehead" localize="false"><embedvar href="text/shared/guide/start_parameters.xhp#parameter"/></paragraph>
            </tablecell>
            <tablecell>
                <paragraph id="par_id201612040943917" role="tablehead" localize="false"><embedvar href="text/shared/guide/start_parameters.xhp#meaning"/></paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3155126" localize="false"><emph>--nologo</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3151334">Disables the splash screen at program start.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3156276" localize="false"><emph>--minimized</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3146080">Starts minimized. The splash screen is not displayed.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3159171" localize="false"><emph>--nodefault</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3153306">Starts without displaying anything except the splash screen.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3145641" localize="false"><emph>--invisible</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3154756">Starts in invisible mode.</paragraph>
                <paragraph role="tablecontent" id="par_id3148914">Neither the start-up logo nor the initial program window will be visible. $[officename] software can be controlled, and documents and dialogs can be controlled and opened via the <link href="https://api.libreoffice.org">API</link>.</paragraph>
                <paragraph role="tablecontent" id="par_id3147341">Using the parameter, $[officename] can only be ended using the taskmanager (Windows) or the <emph>kill </emph>command (UNIX-like systems).</paragraph>
                <paragraph role="tablecontent" id="par_id3150388">It cannot be used in conjunction with <emph>--quickstart</emph>.</paragraph>
                <paragraph role="tablecontent" id="par_id3145147">More information is found in <emph>$[officename] Developer's Guide</emph>.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3149595" localize="false"><emph>--headless</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3150530">Starts in "headless mode" which allows using the application without user interface.</paragraph>
                <paragraph role="tablecontent" id="par_id3156353">This special mode can be used when the application is controlled by external clients via the <link href="https://api.libreoffice.org">API</link>.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3155903" localize="false"><emph>--norestore</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3156374">Disables restart and file recovery after a system crash.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id20161204120031515" role="tablecontent" localize="false"><emph>--safe-mode</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id20161204120122917" role="tablecontent">Starts in a safe mode, i.e. starts temporarily with a fresh user profile and helps to restore a broken configuration.</paragraph>
           </tablecell>
        </tablerow>
        <tablerow>
           <tablecell>
               <paragraph role="tablecontent" id="par_id3152479" localize="false"><emph>--accept={UNO}</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3147130">Notifies $[officename] software that upon the creation of "UNO Acceptor Threads", a "UNO Accept String" will be used.</paragraph>
                <paragraph id="par_id20161204120828147" role="tablecontent">UNO-URL is string the such kind <emph>uno:connection-type,params;protocol-name,params;ObjectName</emph>.</paragraph>
                <paragraph role="tablecontent" id="par_id3148874">More information is found in <emph>$[officename] Developer's Guide</emph>.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id315247a" localize="false"><emph>--unaccept={UNO-URL}</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id314713a">Closes an acceptor that was created with <emph>--accept={UNO-URL}</emph>. Use <emph>--unaccept=all</emph> to close all open acceptors.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id20161204121324766" role="tablecontent" localize="false"><emph>--language={lang}</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id20161204121422689" role="tablecontent">Uses specified language, if language is not selected yet for UI. The lang is a tag of the language in IETF language tag.</paragraph>
           </tablecell>
        </tablerow>
    </table>

    <h3 id="par_id201612041220386">Developer arguments</h3>
    <table id="tbl_id20170517002">
        <tablerow>
            <tablecell>
                <paragraph id="par_id20161304095215085" role="tablehead" localize="false"><embedvar href="text/shared/guide/start_parameters.xhp#parameter"/></paragraph>
            </tablecell>
            <tablecell>
                <paragraph id="par_id201612030953917" role="tablehead" localize="false"><embedvar href="text/shared/guide/start_parameters.xhp#meaning"/></paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id2016120412214434" role="tablecontent" localize="false"><emph>--terminate_after_init</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id20161204122216505" role="tablecontent">Exit after initialization complete (no documents loaded).</paragraph>
           </tablecell>
       </tablerow>
    </table>
    <switch select="sys">
        <case select="UNIX">
            <paragraph role="paragraph" id="par_id631571706947129">Unix and Linux user can invoke %PRODUCTNAME with these additional parameters for debugging purposes.</paragraph>
            <table id="tab_id371571706970240">
                <tablerow>
                    <tablecell>
                        <paragraph id="par_id491571706970241" role="tablehead">Parameter</paragraph>
                    </tablecell>
                    <tablecell>
                        <paragraph id="par_id11571706970242" role="tablehead">Meaning</paragraph>
                    </tablecell>
                </tablerow>
                <tablerow>
                    <tablecell>
                        <paragraph id="par_id51571706970244" localize="false" role="paragraph"><emph>--record</emph></paragraph>
                    </tablecell>
                    <tablecell>
                        <paragraph id="par_id11571706970245" role="paragraph">An enhanced debugger.</paragraph>
                    </tablecell>
                </tablerow>
                <tablerow>
                    <tablecell>
                        <paragraph id="par_id751571707080685" localize="false" role="paragraph"><emph>--backtrace</emph></paragraph>
                    </tablecell>
                    <tablecell>
                        <paragraph id="par_id971571707080686" role="paragraph">Prints the backtrace of the entire stack.</paragraph>
                    </tablecell>
                </tablerow>
                <tablerow>
                    <tablecell>
                        <paragraph id="par_id171571707097883" localize="false" role="paragraph"><emph>--strace</emph></paragraph>
                    </tablecell>
                    <tablecell>
                        <paragraph id="par_id621571707097884" role="paragraph">strace is a diagnostic, debugging and instructional userspace utility for Linux.</paragraph>
                    </tablecell>
                </tablerow>
                <tablerow>
                    <tablecell>
                        <paragraph id="par_id81571707115501" localize="false" role="paragraph"><emph>--valgrind</emph></paragraph>
                    </tablecell>
                    <tablecell>
                        <paragraph id="par_id281571707115502" role="paragraph">Automatically detect many memory management and threading bugs, and profile the program in detail.</paragraph>
                    </tablecell>
                </tablerow>
            </table>
            <note id="par_id571571707462064">The debug options <emph>--record</emph>, <emph>--backtrace</emph>, <emph>--strace</emph> and <emph>--valgrind</emph> cannot be used together. Please use them one by one.</note>
            </case>
            <default/>
    </switch>
    <h3 id="par_id20161204122420839">New document creation arguments</h3>
    <note id="par_id20161204122414892">The arguments create an empty document of specified kind. Only one of them may be used in one command line. If filenames are specified after an argument, then it tries to open those files in the specified component.</note>
    <table id="tbl_id20170517003">
        <tablerow>
            <tablecell>
                <paragraph id="par_id20101204095215085" role="tablehead" localize="false"><embedvar href="text/shared/guide/start_parameters.xhp#parameter"/></paragraph>
            </tablecell>
            <tablecell>
                <paragraph id="par_id201612040953987" role="tablehead" localize="false"><embedvar href="text/shared/guide/start_parameters.xhp#meaning"/></paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3150010" localize="false"><emph>--writer</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3147213">Starts with an empty Writer document.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3148616" localize="false"><emph>--calc</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3145261">Starts with an empty Calc document.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3156443" localize="false"><emph>--draw</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3154011">Starts with an empty Draw document.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3153142" localize="false"><emph>--impress</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3153222">Starts with an empty Impress document.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3155853" localize="false"><emph>--math</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3146928">Starts with an empty Math document.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3149960" localize="false"><emph>--global</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3151075">Starts with an empty Writer master document.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3154510" localize="false"><emph>--web</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3148836">Starts with an empty HTML document.</paragraph>
            </tablecell>
        </tablerow>
    </table>
    <h3 id="par_id20161204125123476">File open arguments</h3>
    <note id="par_id20161204125411030">The arguments define how following filenames are treated. New treatment begins after the argument and ends at the next argument. The default treatment is to open documents for editing, and create new documents from document templates.</note>
    <table id="tbl_id20170517004">
        <tablerow>
            <tablecell>
                <paragraph id="par_id20161204795215085" role="tablehead" localize="false"><embedvar href="text/shared/guide/start_parameters.xhp#parameter"/></paragraph>
            </tablecell>
            <tablecell>
                <paragraph id="par_id201612040955917" role="tablehead" localize="false"><embedvar href="text/shared/guide/start_parameters.xhp#meaning"/></paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3166421" localize="false"><emph>-n</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3154259">Treats following files as templates for creation of new documents.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3154372" localize="false"><emph>-o</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3150309">Opens following files for editing, regardless whether they are templates or not.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3150883" localize="false"><emph>--pt {Printername}</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3155081">Prints the following files to the printer <emph>{Printername}</emph> and ends. The splash screen does not appear.</paragraph>
                <paragraph role="tablecontent" id="par_id3153655">If the file name contains spaces, then it must be enclosed in quotation marks.</paragraph>
                <paragraph id="par_id20161204010513716" role="tablecontent">If used multiple times, only last <emph>{Printername}</emph> is effective for all documents of all <emph>--pt</emph> runs.</paragraph>
                <paragraph id="par_id2016120401061890" role="tablecontent">Also, <emph>--printer-name</emph> argument of <emph>--print-to-file</emph> switch interferes with <emph>{Printername}</emph>.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3159238" localize="false"><emph>-p</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3163666">Prints following files to the default printer, after which those files are closed. The splash screen does not appear.</paragraph>
                <paragraph role="tablecontent" id="par_id3150828">If the file name contains spaces, then it must be enclosed in quotation marks.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3151182" localize="false"><emph>--view</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3145268">Opens following files in viewer mode (read-only).</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3149403"><emph>--show[=N]</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id3153838">Opens and starts the slideshow of the following presentation documents immediately. Files are closed after the showing. <literal>N</literal> in the example refers to the slide number and, when it is provided, they start at that slide.</paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id314959p" localize="false"><emph>--convert-to OutputFileExtension</emph><br/><emph>[:OutputFilterName</emph><br/><emph>[:OutputFilterParams[,param]]]</emph><br/><emph> [--outdir output_dir]</emph></paragraph>
            </tablecell>
            <tablecell>
                <section id="convertto">
                <paragraph id="par_id2016120401222926" role="tablecontent">If <emph>--convert-to</emph> is used more than once, last value of <emph>OutputFileExtension[:OutputFilterName[:OutputFilterParams]]</emph> is effective. If <emph>--outdir</emph> is used more than once, only its last value is effective. In absence of <emph>--outdir</emph>, current working directory is used for the result. For example:</paragraph>
                <paragraph id="par_id20161204012319752" role="tablecontent" localize="false"><input>--convert-to pdf *.doc</input></paragraph>
                <paragraph role="tablecontent" id="par_id311550932952863" localize="false"><input>--convert-to pdf:writer_pdf_Export --outdir /home/user *.doc</input></paragraph>
                <paragraph role="tablecontent" id="par_id231550932985601" localize="false"><input>--convert-to "html:XHTML Writer File:UTF8" *.doc</input></paragraph>
                <paragraph role="tablecontent" id="par_id211550932999288" localize="false"><input>--convert-to "txt:Text (encoded):UTF8" *.doc</input></paragraph>
                </section>
                <section id="seefilters">
                    <paragraph role="tablecontent" id="par_id781554408625219">See the <link href="text/shared/guide/convertfilters.xhp">list of document filters</link> for file conversion.</paragraph>
                    <paragraph role="paragraph" id="par_id51634741869672">The list of <link href="text/shared/guide/lotusdbasediff.xhp">filter options for Lotus, dBase and Diff files</link>.</paragraph>
                    <paragraph role="paragraph" id="par_id1001634741874640">The list of <link href="text/shared/guide/csv_params.xhp">filter options for CSV files</link>.</paragraph>
                    <paragraph role="paragraph" id="par_id611682112346540">The list of <link href="text/shared/guide/pdf_params.xhp">filter options for PDF files</link>.</paragraph>
                </section>
            </tablecell>
        </tablerow>
        <tablerow>
            <tablecell>
                <paragraph role="tablecontent" id="par_id314959q" localize="false"><emph>--print-to-file [--printer-name printer_name] [--outdir output_dir]</emph></paragraph>
            </tablecell>
            <tablecell>
                <paragraph role="tablecontent" id="par_id315053q">Batch print files to file. If <emph>--outdir</emph> is not specified, then current working directory is used as output_dir.</paragraph>
                <paragraph id="par_id20161204012928262" role="tablecontent">If <emph>--printer-name</emph> or <emph>--outdir</emph> used multiple times, only last value of each is effective. Also, <emph>{Printername}</emph> of <emph>--pt</emph> switch interferes with <emph>--printer-name</emph>. For example:</paragraph>
                <paragraph id="par_id201612040131763" role="tablecontent" localize="false"><input>--print-to-file *.doc</input></paragraph>
                <paragraph role="tablecontent" id="par_id421550933601790" localize="false"><input>--print-to-file --printer-name nasty_lowres_printer --outdir /home/user *.doc</input></paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id20161204013415783" role="tablecontent" localize="false"><emph>--cat</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id2016120401348732" role="tablecontent">Applies filter "txt:Text" to the following text documents and dump text content to console (implies <emph>--headless</emph>). Cannot be used with <emph>--convert-to</emph>.</paragraph>
           </tablecell>
       </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id201612040137850" role="tablecontent" localize="false"><emph>-env:VAR[=VALUE]</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id2016120401398657" role="tablecontent">Set a bootstrap variable. For example, to set a non-default user profile path:</paragraph>
               <paragraph id="par_id20161204013922181" role="tablecontent" localize="false">
                   <switchinline select="sys">
                       <caseinline select="WIN"><input>soffice.com -env:UserInstallation=file:///c:/my-test-profile</input> </caseinline>
                       <caseinline select="MAC"><input>open LibreOffice.app -env:UserInstallation=file:///tmp/test</input> </caseinline>
                       <defaultinline><input>soffice -env:UserInstallation=file:///tmp/test</input></defaultinline>
                   </switchinline>
                   </paragraph>
           </tablecell>
        </tablerow>
    </table>
  <h3 id="par_id20161204014126760">Ignored switches</h3>
    <table id="tbl_id20170517005">
        <tablerow>
            <tablecell>
                <paragraph id="par_id20161200095215085" role="tablehead" localize="false"><embedvar href="text/shared/guide/start_parameters.xhp#parameter"/></paragraph>
            </tablecell>
            <tablecell>
                <paragraph id="par_id201312040953917" role="tablehead" localize="false"><embedvar href="text/shared/guide/start_parameters.xhp#meaning"/></paragraph>
            </tablecell>
        </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id2016120401411383" role="tablecontent" localize="false"><emph>-psn</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id2016120401435616" role="tablecontent">Ignored (macOS only)</paragraph>
           </tablecell>
       </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id20161204014316430" role="tablecontent" localize="false"><emph>-Embedding </emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id20161204014423695" role="tablecontent">Ignored (COM+ related; Windows only)</paragraph>
           </tablecell>
       </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id20161204014422700" role="tablecontent" localize="false"><emph>--nofirststartwizard</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id20161204014529900" role="tablecontent">Does nothing, accepted only for backward compatibility.</paragraph>
           </tablecell>
       </tablerow>
        <tablerow>
           <tablecell>
               <paragraph id="par_id20161204014532015" role="tablecontent" localize="false"><emph>--protector {arg1} {arg2}</emph></paragraph>
           </tablecell>
           <tablecell>
               <paragraph id="par_id2016120401463584" role="tablecontent">Used only in unit tests and should have two arguments.</paragraph>
           </tablecell>
      </tablerow>
  </table>
</section>
</body>
</helpdocument>
