LibreOfficeDev z parametrami startować

Při startowanju LibreOfficeDev z přikazoweje linki, móžeće wšelake parametry připokazać, z kotrymiž móžeće wukon wobwliwować. Wužiwanje parametrow přikazoweje linki so jenož nazhonjenym wužiwarjam poruča.

note

Za normalne wužiwanje parametry přikazoweje linki trěbne njejsu. Někotre z tych parametrow sej dokładnišu znajomosć techniskeho pozadk technologije LibreOfficeDev wužaduja.


LibreOfficeDev z přikazoweje linki startować

LibreOfficeDev sej pisanski přistup k swojemu zapisej wužiwarskeho profila wužaduje.

Płaćiwe parametry přikazoweje linki

Bjez specialnych argumentow wužiwać

Wužiwanje bjez argumentow startowy centrum wočinja.

{file}

Pospytuje dataje w komponentach wočinić, kotrež su přihódne za nje.

{file} macro://./[Library.Module.MacroName]

Wočinja dataju a nałožuje podate makra z dataje.


Pomoc a informacije dóstać

Parameter

Woznam

--help / -h / -?

Nalistuje k dispoziciji stejace parametry přikazoweje linki w konsoli.

--helpwriter

Wočinja zatwarjenu pomoc LibreOfficeDev abo pomoc online za Writer.

--helpcalc

Wočinja zatwarjenu pomoc LibreOfficeDev abo pomoc online za Calc.

--helpdraw

Wočinja zatwarjenu pomoc LibreOfficeDev abo pomoc online za Draw.

--helpimpress

Wočinja zatwarjenu pomoc LibreOfficeDev abo pomoc online za Impress.

--helpbase

Wočinja zatwarjenu pomoc LibreOfficeDev abo pomoc online za Base.

--helpbasic

Wočinja zatwarjenu pomoc LibreOfficeDev abo pomoc online za skriptowu rěč Basic.

--helpmath

Wočinja zatwarjenu pomoc LibreOfficeDev abo pomoc online za Math.

--version

Pokazuje wersiju LibreOfficeDev.

--nstemporarydirectory

(jenož sandbox macOS) Wróća šćežku nachwilneho zapisa za aktualneho wužiwarja. Přepisuje wšě druhe argumenty.


Powšitkowne argumenty

Parameter

Woznam

--quickstart[=no]

Zmóžnja [Znjemóžnja] słužbu spěšneho startowaka. Akceptuje jenož parameter no, kotryž słužbu spěšneho startowaka znjemóžnja. Bjez parametrow so tuta słužba zmóžnja.

--nolockcheck

Znjemóžnja kontrolu za zdalene instancy při instalaciji.

--infilter=InputFilterName
[:InputFilterParam[,param]]

Wunuzuje zapodawanski filtrowy typ, jeli móžno. Na přikład:

--infilter="Calc Office Open XML"

--infilter="Text (encoded):UTF8,LF,Liberation Mono,en-US".

--pidfile={file}

Store soffice.bin pid to {file}.

--display {display}

Sets the DISPLAY environment variable on UNIX-like platforms to the value {display}. This parameter is only supported by the start script for LibreOfficeDev software on UNIX-like platforms.


User/programmatic interface control

Parameter

Woznam

--nologo

Disables the splash screen at program start.

--minimized

Starts minimized. The splash screen is not displayed.

--nodefault

Starts without displaying anything except the splash screen.

--invisible

Starts in invisible mode.

Neither the start-up logo nor the initial program window will be visible. LibreOfficeDev software can be controlled, and documents and dialogs can be controlled and opened via the API.

Using the parameter, LibreOfficeDev can only be ended using the taskmanager (Windows) or the kill command (UNIX-like systems).

It cannot be used in conjunction with --quickstart.

More information is found in LibreOfficeDev Developer's Guide.

--headless

Starts 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.

--norestore

Disables restart and file recovery after a system crash.

--safe-mode

Starts in a safe mode, i.e. starts temporarily with a fresh user profile and helps to restore a broken configuration.

--accept={UNO}

Notifies LibreOfficeDev software that upon the creation of "UNO Acceptor Threads", a "UNO Accept String" will be used.

UNO-URL is string the such kind uno:connection-type,params;protocol-name,params;ObjectName.

More information is found in LibreOfficeDev Developer's Guide.

--unaccept={UNO-URL}

Closes an acceptor that was created with --accept={UNO-URL}. Use --unaccept=all to close all open acceptors.

--language={lang}

Uses specified language, if language is not selected yet for UI. The lang is a tag of the language in IETF language tag.


Developer arguments

Parameter

Woznam

--terminate_after_init

Exit after initialization complete (no documents loaded).


New document creation arguments

note

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.


Parameter

Woznam

--writer

Starts with an empty Writer document.

--calc

Starts with an empty Calc document.

--draw

Starts with an empty Draw document.

--impress

Starts with an empty Impress document.

--math

Starts with an empty Math document.

--global

Starts with an empty Writer master document.

--web

Starts with an empty HTML document.


File open arguments

note

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.


Parameter

Woznam

-n

Treats following files as templates for creation of new documents.

-o

Opens following files for editing, regardless whether they are templates or not.

--pt {Printername}

Prints the following files 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.

If used multiple times, only last {Printername} is effective for all documents of all --pt runs.

Also, --printer-name argument of --print-to-file switch interferes with {Printername}.

-p

Prints following files to the default printer, after which those files are closed. The splash screen does not appear.

If the file name contains spaces, then it must be enclosed in quotation marks.

--view

Opens following files in viewer mode (read-only).

--show[=N]

Opens and starts the slideshow of the following presentation documents immediately. Files are closed after the showing. N in the example refers to the slide number and, when it is provided, they start at that slide.

--convert-to OutputFileExtension
[:OutputFilterName
[:OutputFilterParams[,param]]]
[--outdir output_dir]

If --convert-to is used more than once, last value of OutputFileExtension[:OutputFilterName[:OutputFilterParams]] is effective. If --outdir is used more than once, only its last value is effective. In absence of --outdir, current working directory is used for the result. For example:

--convert-to pdf *.doc

--convert-to pdf:writer_pdf_Export --outdir /home/user *.doc

--convert-to "html:XHTML Writer File:UTF8" *.doc

--convert-to "txt:Text (encoded):UTF8" *.doc

See the list of document filters for file conversion.

The list of filter options for Lotus, dBase and Diff files.

The list of filter options for CSV files.

The list of filter options for PDF files.

--print-to-file [--printer-name printer_name] [--outdir output_dir]

Batch print files to file. If --outdir is not specified, then current working directory is used as output_dir.

If --printer-name or --outdir used multiple times, only last value of each is effective. Also, {Printername} of --pt switch interferes with --printer-name. For example:

--print-to-file *.doc

--print-to-file --printer-name nasty_lowres_printer --outdir /home/user *.doc

--cat

Applies filter "txt:Text" to the following text documents and dump text content to console (implies --headless). Cannot be used with --convert-to.

-env:VAR[=VALUE]

Set a bootstrap variable. For example, to set a non-default user profile path:


Ignored switches

Parameter

Woznam

-psn

Ignored (macOS only)

-Embedding

Ignored (COM+ related; Windows only)

--nofirststartwizard

Does nothing, accepted only for backward compatibility.

--protector {arg1} {arg2}

Used only in unit tests and should have two arguments.