lowriter

word processor component of LibreOffice

TLDR

Start Writer
$ lowriter
Open document
$ lowriter [document.odt]
Convert to PDF
$ lowriter --convert-to pdf [document.odt]
Convert to DOCX
$ lowriter --convert-to docx [document.odt]
Batch convert multiple files
$ lowriter --convert-to pdf --outdir [output/] [*.odt]
Print document
$ lowriter -p [document.odt]

SYNOPSIS

lowriter [options] [files...]

DESCRIPTION

lowriter is the word processor component of LibreOffice. It provides full-featured document editing, formatting, and publishing capabilities compatible with Microsoft Word formats.The command line interface enables batch conversions and scripting.

PARAMETERS

--convert-to format

Convert to specified format.
--outdir dir
Output directory for conversions.
-p
Print document.
--pt printer
Print to specific printer.
--headless
Run without GUI.
--view
Open in read-only mode.

SUPPORTED FORMATS

$ Input:  ODT, DOC, DOCX, RTF, TXT, HTML
Output: PDF, ODT, DOCX, RTF, TXT, HTML

INSTALL

sudo apt install libreoffice-writer
sudo dnf install libreoffice-writer
sudo apk add libreoffice-writer
sudo zypper install libreoffice-writer

CAVEATS

GUI requires display (use --headless for servers). Conversion quality depends on format complexity. Large documents may need increased memory.

HISTORY

LibreOffice Writer evolved from OpenOffice.org Writer, which originated from StarWriter by Star Division (acquired by Sun Microsystems in 1999). LibreOffice forked in 2010.

SEE ALSO

libreoffice(1), unoconv(1)