1libreoffice(1) User Commands libreoffice(1)
2
3
4
6 libreoffice - LibreOffice office suite
7
8
10 libreoffice [--accept=accept-string] [--base] [--calc] [--convert-to
11 output_file_extension[:output_filter_name] [--outdir output_dir]
12 file]... [--display display] [--draw] [--global] [--headless]
13 [--help|-h|-?] [--impress] [--invisible] [--infilter="<filter>"]
14 [--math] [--minimized] [-n file]... [--nodefault] [--nolockcheck]
15 [--nologo] [--norestore] [-o file]... [-p file...] [--print-to-file
16 [--printer-name printer_name] [--outdir output_dir] file]... [--pt
17 printername file...] [--show Impress file]... [--unac‐
18 cept=accept-string] [--terminate_after_init] [--view file]... [--web]
19 [--writer] [file...]
20 lobase
21 localc
22 lodraw
23 lofromtemplate
24 loimpress
25 lomath
26 loweb
27 lowriter
28
29
31 LibreOffice (LO for short) is a multi-platform office productivity
32 suite. It was derived from OpenOffice.org 3.3 Beta on September 28,
33 2010.
34
35 libreoffice is a shell script that sets up the environment and passes
36 the command line arguments to the soffice.bin binary.
37
38 Alternatively, the following helper scripts start the respective mod‐
39 ule:
40
41 sbase, scalc, sdraw, simpress, smath, sofficerc, swriter
42
43
45 --accept=accept-string
46 Specifies a UNO-URL connect-string to create a UNO acceptor
47 through which other programs can connect to access the API. Note
48 that API access allows execution of arbitrary commands. The
49 syntax of a UNO-URL connect-string is: uno:connection-
50 type,params;protocol-name,params;ObjectName
51
52
53 --base Starts the wizard for a new Base document.
54
55
56 --calc Starts with a new Calc document.
57
58
59 --convert-to output_file_extension[:output_filter_name] [--outdir out‐
60 put_dir] file...
61 Batch converts files. If --outdir is not specified then the
62 current working directory is used as the output directory for
63 the converted files. It implies --headless.
64
65 Examples:
66
67 --convert-to pdf *.doc
68
69 Converts all .doc files to PDFs.
70
71 --convert-to pdf:writer_pdf_Export --outdir /home/user *.doc
72
73 Converts all .doc files to PDFs using the settings in the Writer
74 PDF export dialog and saving them in /home/user.
75
76
77 --display display
78 This option specifies the X server to use; see X(7)
79
80
81 --draw Starts with a new Draw document.
82
83
84 --global
85 Starts with a new Global document.
86
87
88 --headless
89 Starts in "headless mode", which allows using the application
90 without user a interface.
91
92 This special mode can be used when the application is controlled
93 by external clients via the API.
94
95 It implies --invisible and strictly ignores any GUI environment.
96 --quickstart does not work with this parameter.
97
98
99 --help|-h|-?
100 Lists LibreOffice command line parameters.
101
102
103 --impress
104 Starts with a new Impress document.
105
106
107 --invisible
108 Starts in invisible mode.
109
110 Neither the start-up logo nor the initial program window will be
111 visible. LO can be controlled and documents and dialogs can be
112 opened via the API.
113
114 When started with this parameter, it can only be quit using the
115 taskmanager (Windows) or the kill command (UNIX based systems).
116
117 --quickstart does not work with this parameter.
118
119
120 --infilter="<filter>"
121 Force an input filter type if possible. For example --infil‐
122 ter="Calc Office Open XML" only
123
124
125 --math Starts with a new Math document.
126
127
128 --minimized
129 Keeps the splash screen minimized.
130
131
132 -n template...
133 Creates the a new document from the given templates.
134
135
136 --nodefault
137 Starts LO without creating a new document. The next time you
138 start LO, the welcome screen is shown.
139
140 It's used together with --nologo by quick starters. Note that
141 --quickstart has no longer been supported since OpenOffice.org
142 2.0.0.
143
144
145 --nolockcheck
146 Disables the check for remote instances using the installation.
147
148
149 --nologo
150 Disables the splash screen at program start.
151
152
153 --norestore
154 Disables restart and file recovery after a system crash. It is
155 possible that LO will try to restore a file it keeps crashing
156 on, if that happens --norestore is the only way to start LO.
157
158
159 --nosplash
160 Disables the splash screen at program start.
161
162
163 -o file...
164 Opens the given files for editing, even templates.
165
166 Without -o a template file would create a new document derived
167 from that template.
168
169
170 -p file...
171 Prints the given files to the default printer and ends. The
172 splash screen does not appear.
173
174 If the file name contains spaces, then it must be enclosed in
175 quotation marks.
176
177
178 --print-to-file [--printer-name printer_name] [--outdir output_dir]
179 file...
180 Batch print files to file. If --printer-name is not specified
181 the default printer is used. If --outdir is not specified then
182 the current working directory is used as the output directory
183 for the converted files.
184
185 Examples:
186
187 --print-to-file *.doc
188
189 Prints all .doc files to the current working directory using the
190 default printer.
191
192 --print-to-file --printer-name nasty_lowres_printer --outdir
193 /home/user *.doc
194
195 Prints all .doc files to /home/user directory using the
196 nasty_lowres_printer.
197
198
199 --pt printername file...
200 Prints the given files to the printer printername and ends. The
201 splash screen does not appear.
202
203 If a file name contains spaces, then it must be enclosed in quo‐
204 tation marks.
205
206
207 --quickstart --quickstart=no
208 Starts LO with its quick starter. --quickstart disable the
209 quick starter.
210
211 Does not work with --invisible or --headless.
212
213
214 --show Impress file...
215 Opens the given Impress files, starts the presentation and quits
216 after they have finished.
217
218
219 --unaccept=accept-string
220 Closes an acceptor that was created with --accept option.
221
222 Use --unaccept=all to close all open acceptors.
223
224
225 --terminate_after_init
226 Starts LO and terminates after it registers some UNO services.
227 Doesn't show the splash during startup.
228
229
230 --view file...
231 Opens the given files read-only creating a temporary copy of
232 them at $TMPDIR.
233
234
235 --web Starts with a new HTML document.
236
237
238 --writer
239 Starts with a new Writer document.
240
241
243 See http://wiki.documentfoundation.org/BugReport for more details on
244 how to report bugs in LibreOffice.
245
247 http://www.documentfoundation.org/
248
249
251 This manual page was created by Rene Engelhard <rene@debian.org> for
252 the Debian GNU/Linux Distribution, because the original package does
253 not have one. It was updated for Novell by Petr Mladek
254 <petr.mladek@novell.com> and adapted for LibreOffice by Philipp Weis‐
255 senbacher <philipp.weissenbacher@gmail.com>.
256
257
258
259LibreOffice 2010-12-18 libreoffice(1)