LibreOffice: Difference between revisions

From NixOS Wiki
imported>Nix
m add Software/Applications subcategory
imported>Nix
m Nix moved page Libreoffice to LibreOffice: match official casing
(No difference)

Revision as of 07:53, 20 September 2021

LibreOffice is a multi-platform Word-processor.

uno Python Library

For getting uno.py python library to work the special path /lib/libreoffice/program needs to be included into the python path as well as the URE_BOOTSTRAP variable must be set.

let
  office = libreoffice-fresh-unwrapped;
in {
  environment.sessionVariables = {
    PYTHONPATH = "${office}/lib/libreoffice/program";
    URE_BOOTSTRAP = "vnd.sun.star.pathname:${office}/lib/libreoffice/program/fundamentalrc";
  };
}