Update doc
This commit is contained in:
parent
1aa7e4adeb
commit
24c926b32f
@ -804,6 +804,7 @@ IMG;
|
|||||||
// Export to PDF using LibreOffice
|
// Export to PDF using LibreOffice
|
||||||
if ($conf->global->MAIN_ODT_AS_PDF == 'libreoffice')
|
if ($conf->global->MAIN_ODT_AS_PDF == 'libreoffice')
|
||||||
{
|
{
|
||||||
|
// Install prerequisites: apt install soffice libreoffice-common libreoffice-writer libreoffice-java-common
|
||||||
// using windows libreoffice that must be in path
|
// using windows libreoffice that must be in path
|
||||||
// using linux/mac libreoffice that must be in path
|
// using linux/mac libreoffice that must be in path
|
||||||
// Note PHP Config "fastcgi.impersonate=0" must set to 0 - Default is 1
|
// Note PHP Config "fastcgi.impersonate=0" must set to 0 - Default is 1
|
||||||
@ -840,7 +841,7 @@ IMG;
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// deprecated old method
|
// deprecated old method using odt2pdf.sh (native, jodconverter, ...)
|
||||||
$tmpname=preg_replace('/\.odt/i', '', $name);
|
$tmpname=preg_replace('/\.odt/i', '', $name);
|
||||||
|
|
||||||
if (!empty($conf->global->MAIN_DOL_SCRIPTS_ROOT))
|
if (!empty($conf->global->MAIN_DOL_SCRIPTS_ROOT))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user