LibreOffice: Difference between revisions
imported>Makefu Created page with "LibreOffice is a multi-platform Word-processor. == uno Python Library == For getting <code>uno.py</code> python library to work the special path <code>/lib/libreoffice/progra..." |
imported>Nix m add Software/Applications subcategory |
||
Line 14: | Line 14: | ||
} | } | ||
</syntaxHighlight> | </syntaxHighlight> | ||
[[Category:Applications]] |
Revision as of 06:03, 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";
};
}