Differences between revisions 29 and 30
Revision 29 as of 2017-04-16 10:31:00
Size: 5275
Comment: minor language fix
Revision 30 as of 2019-11-10 13:00:58
Size: 6026
Editor: ?ThomasEqueter
Comment:
Deletions are marked like this. Additions are marked like this.
Line 78: Line 78:
== Fixing Blank PDF Export ==

Symptoms:
 * The PDF has the expected amount of pages, but no text.
 * Examining the PDF (for example in Okular, File > Properties > Fonts) shows no embedded fonts.

This can be caused by using the wrong VCL (LibreOffice desktop integration module) for the desktop environment, such as "qt5" instead of "kde5". Yes, surprisingly [[https://docs.libreoffice.org/vcl/html/pdfwriter__impl_8cxx_source.html|the PDF export depends on the VCL]].

The current VCL is shown in the Help > About LibreOffice dialog box, and can be forced with the {{{SAL_USE_VCLPLUGIN}}} environment variable. Usually LibreOffice will pick the right VCL, provided that the required package, such as {{{libreoffice-kde5}}}, is installed.

Translation(s): English - Français - Italiano - Русский


LibreOffice Logo - by Christoph Noack (CC BY-SA)

LibreOffice is an open-source cross-platform office suite, serving as a near drop-in replacement for Microsoft Office. It was forked from OpenOffice 3.3.0 and has gained ground in Linux distributions as the default office suite. It has replaced OpenOffice since Debian Wheezy and is available in jessie-backports. It has good support for .doc, .xls, .odt, .ods and other popular formats.

How to install LibreOffice

LibreOffice is the default office suite since Debian Wheezy. You can also install it manually by using the following packages:

Packages

Notes

libreoffice

This libreoffice package is a metapackage. It automatically installs all packages and dependencies needed for a fully functional LibreOffice, including its major components such as libreoffice-writer, libreoffice-calc, libreoffice-impress, libreoffice-math, libreoffice-draw, libreoffice-base.

libreoffice-gnome

Optional GNOME integration

libreoffice-kde

Optional KDE integration

To install the full LibreOffice suite, run

aptitude update
aptitude install libreoffice 

Getting the latest LibreOffice version using apt-get

apt-get install -t jessie-backports libreoffice

Java Environment

Some components of LibreOffice require a Java Environment to achieve full functionality. LibreOffice metapackage recommends default-jre: this installs openjdk-7-jre. To install java manually in LibreOffice,

  • Open Synaptic (or use your preferred method for package installation)
  • Install openjdk-7-jre

  • Open LibreOffice. Navigate to "Tools" menu > Options > LibreOffice > Advanced > Java Options

  • Activate “Use a Java runtime environment”
  • Choose your desired JRE provider
  • Restart LibreOffice (including quickstarter)

Extending functionalities

Extend LibreOffice by installing these packages:

Fixing poor look and feel in LibreOffice

If you have bigger or smaller fonts in toolbar, you can fix it by enabling quick start option :

For GNOME

echo 'OOO_FORCE_DESKTOP=gnome libreoffice --quickstart --nologo --nodefault' > ~/.config/autostart/lo.sh
chmod +x ~/.config/autostart/lo.sh

For KDE

echo 'OOO_FORCE_DESKTOP=kde libreoffice --quickstart --nologo --nodefault' >  ~/.kde/Autostart/lo.sh
chmod +x ~/.kde/Autostart/lo.sh

Fixing Interoperability Problems

See Substituting Calibri and Cambria Fonts.

Fixing Blank PDF Export

Symptoms:

  • The PDF has the expected amount of pages, but no text.
  • Examining the PDF (for example in Okular, File > Properties > Fonts) shows no embedded fonts.

This can be caused by using the wrong VCL (LibreOffice desktop integration module) for the desktop environment, such as "qt5" instead of "kde5". Yes, surprisingly the PDF export depends on the VCL.

The current VCL is shown in the Help > About LibreOffice dialog box, and can be forced with the SAL_USE_VCLPLUGIN environment variable. Usually LibreOffice will pick the right VCL, provided that the required package, such as libreoffice-kde5, is installed.

Launchers

  • Writer: /usr/bin/libreoffice -writer

  • Calc: /usr/bin/libreoffice -calc

  • Draw: /usr/bin/libreoffice -draw

  • Impress: /usr/bin/libreoffice -impress

  • Math: /usr/bin/libreoffice -math

Remote Control

Impress can be remotely controlled via an Android device with the app Impress Remote available from F-Droid. It interacts with your slideshow presentation and allows slide previews, reading speaker notes, play/pause presentation and setting timers. Connection is done through Bluetooth or WLAN.

External links