From 52ecb214785b69d35e1125f53846ca1d92897148 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Fri, 20 May 2022 11:35:04 +0200 Subject: [PATCH] #1353 doc preview --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index d8752b5c..b1c62950 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,9 @@ libwps-tools gzip unrtf catdvi djview djview3 uuid uuid-dev xz libemail-outlook- ### Inline displaying of office documents (optional) If LibreOffice binary `libreoffice` is present in the server, office documents (.odt, .ods,...) are displayed inline. +The command must be runable by the web app's user. Test it in advance, e.g: + +`sudo -u www-data libreoffice --convert-to pdf my_document.odt` `libreoffice` package is available in the most of Linux distributions, e.g. on Debain based systems: