Hello,
Thank you for your inquiry.
I tested your Word file with Spire.Doc for java 4.8.0 and the latest version (Spire.Doc for Java Version:4.12.7), but none of them reproduced your issue. For your situation,I suggest you first try again with the latest version(
Spire.Doc for Java Version:4.12.7). If the issue still exists after trying, please provide the following information for our reference. Thanks in advance.
1) Your test environment, such as OS info (E.g. Windows 7, 64-bit) and region setting (E.g. China, Chinese).
2) Your JDK version, such as 1.8.
In addition, we provide the PS method for converting Word to PDF. The sample code is as follows, please try it.
- Code: Select all
Document document = new Document();
document.loadFromFile(sourcePath);
ToPdfParameterList ps = new ToPdfParameterList();
ps.setUsePSCoversion(true);
document.saveToFile(resultPath,ps);
Sincerely,
Annika
E-iceblue support team