When converting PDF to word, add parameters to speed up soffice startup (#1450)
When converting PDF to word, add parameters to speed up soffice startup
This commit is contained in:
parent
f60a8d87d2
commit
f2015cecbd
1 changed files with 2 additions and 0 deletions
|
@ -140,6 +140,8 @@ public class PDFToFile {
|
||||||
new ArrayList<>(
|
new ArrayList<>(
|
||||||
Arrays.asList(
|
Arrays.asList(
|
||||||
"soffice",
|
"soffice",
|
||||||
|
"--headless",
|
||||||
|
"--nologo",
|
||||||
"--infilter=" + libreOfficeFilter,
|
"--infilter=" + libreOfficeFilter,
|
||||||
"--convert-to",
|
"--convert-to",
|
||||||
outputFormat,
|
outputFormat,
|
||||||
|
|
Loading…
Reference in a new issue