更新LibreOffice路径

This commit is contained in:
tangfutang 2018-07-24 19:33:34 +08:00
parent a28e6b065a
commit 0cf3e615ec

View File

@ -27,7 +27,7 @@ public class WordToPDFUtil {
logger.info("============ת»»pdf¿ªÊ¼============");
try{
String path = QuartzPropertiesUtil.get("libreOffice_path");
String cmd = path+"\\soffice --headless -invisible --convert-to pdf "+srcPath+" --outdir "+desPath;
String cmd = path+"soffice --headless -invisible --convert-to pdf "+srcPath+" --outdir "+desPath;
logger.info("python:"+cmd);
process = Runtime.getRuntime().exec(cmd);
String cmdMsg = "";