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:
HHHHHMMMM 2024-06-14 01:13:38 +08:00 committed by GitHub
parent f60a8d87d2
commit f2015cecbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,