BUG+FIX (win platform) - OfficeUtils , missing win32 executable name of OpenOffice
Opened this issue · 0 comments
GoogleCodeExporter commented
org.artofsolving.jodconverter.util.PlatformUtils.OfficeUtils.java
change from:
public static File getOfficeExecutable(File officeHome) {
if (PlatformUtils.isMac()) {
return new File(officeHome, "MacOS/soffice.bin");
} else {
return new File(officeHome, "program/soffice.bin");
}
}
to:
public static File getOfficeExecutable(File officeHome) {
if (PlatformUtils.isMac()) {
return new File(officeHome, "MacOS/soffice.bin");
} else if (PlatformUtils.isWindows() ) {
return new File(officeHome, "program/soffice.exe");
} else {
return new File(officeHome, "program/soffice.bin");
}
}
Original issue reported on code.google.com by naar...@gmail.com
on 4 Oct 2014 at 7:28