We are excited to announce the release of Spire.Office for Java 10.3.0. In this version, Spire.Doc for Java supports setting default font; Spire.XLS for Java enhances the conversion from Excel to HTML; Spire.Presentation for Java supports setting the number of threads used to convert PowerPoint to PDF; Spire.PDF for Java optimizes OFD to PDF conversion time. Besides, a lot of known issues are fixed successfully in this version. More details are listed below.
Click the link to download Spire.Office for Java 10.3.0:
Here is a list of changes made in this release
Spire.Doc for Java
| Category | ID | Description |
| New feature | SPIREDOC-10918 | Support setting default font, which are only used when the requested font is not found in the font cache.
doc.setDefaultSubstitutionFontName("simsun");
|
| Bug | SPIREDOC-11058 | Fixes the issue that the images were unclear when converting Word to HTML. |
| Bug | SPIREDOC-11096 | Fixes the issue that the program hangs when adding table of contents in Word |
| Bug | SPIREDOC-11098 | Fixes the issue that the program threw the "ClassCastException" exception thrown when converting Word to HTML stream. |
| Bug | SPIREDOC-11103 | Fixes the issue that the GIF images were lost when converting Word to HTML. |
| Bug | SPIREDOC-11107 | Fixes the issue that the program threw the "NullPointerException" exception when converting Word to PDF. |
| Bug | SPIREDOC-11124 | Fixes the issue that the program threw the "OutOfMemoryError" exception when converting Word to HTML. |
Spire.XLS for Java
| Category | ID | Description |
| Bug | SPIREXLS-5698 | Fixes the issue that the decimal parts were lost when setting cell font size. |
| Bug | SPIREXLS-5699 | Fixes the issue that the embedded image failed to display when converting Excel document to HTML document. |
| Bug | SPIREXLS-5720 | Fixes the issue that the program threw the exception 'NullPointerException' when loading Excel document. |
Spire.Presentation for Java
| Category | ID | Description |
| New feature | SPIREPPT-2760 | Adds the setThreadScount (int count) method to set the number of threads used for converting PowerPoint to PDF.
presentation.getSaveToPdfOption().setThreadsCount(1); |
Spire.PDF for Java
| Category | ID | Description |
| Optimization | SPIREPDF-7379 | Optimizes OFD to PDF conversion time. |
| Bug | SPIREPDF-6909 SPIREPDF-6950 |
Fixes the issue that extra blank columns appeared when extracting tables. |
| Bug | SPIREPDF-7387 | Fixes the issue that the Chinese punctuation was garbled after converting SVG to PDF. |
| Bug | SPIREPDF-7392 | Fixes the issue that the program threw an exception "file structure is not valid" when loading a PDF document. |
| Bug | SPIREPDF-7403 | Fixes the issue that text replacement using PdfTextReplacer was incorrect. |
| Bug | SPIREPDF-7410 | Fixes the issue that the program threw an exception "PDF structure is not valid" when merging PDF documents. |