Spire.Office for Java 9.8.0 is released

2024-08-27 09:27:35

We are pleased to announce the release of Spire.Office for Java 9.8.0. In this new version, Spire.XLS for Java supports embedding images in cells; Spire.Doc for Java optimizes the clarity of images when converting Word documents to HTML. Besides, some known issues are fixed successfully in this update. More details are listed below.

Click the link to download Spire.Office for Java 9.8.0:

Here is a list of changes made in this release

Spire.XLS for Java

Category ID Description
New feature SPIREXLS-5147 Provides the hideCategoriTags method to support hiding category labels.
Chart chart = sheet.getCharts().get(0);
String[] labels = chart.getCategoryLabels();
chart.hideCategoryLabels(new String[]
{ labels [0], labels [1], ...}
); 
New feature SPIREXLS-5338 Supports embedding images in cells.
worksheet.getCellRange("B1").insertOrUpdateCellImage("D:\\vs1.png",true);
Bug SPIREXLS-5331 Fixes the issue that caused incorrect content when saving an Excel document and opening it in Microsoft Excel 2016.
Bug SPIREXLS-5337 Fixes the issue that resulted in incorrect pivot table data calculation.

Spire.PDF for Java

Category ID Description
Bug SPIREPDF-6851 Fixes the issue that the program threw "NullPointerException" when converting PDF to SVG.
Bug SPIREPDF-6881 Fixes the issue that some punctuation marks were missing when extracting table text.
Bug SPIREPDF-6895 Fixes the issue that the content was lost when converting OFD to PDF.
Bug SPIREPDF-6923 Fixes the issue that the program threw "doc-0/res/doc-0/res/res7651308984730378845.png cannot be found!" when converting OFD to PDF.
Bug SPIREPDF-6924 Fixes the issue that the program threw "ArrangStoreException" while reading Tiff files.
Bug SPIREPDF-6939 Fixes the issue that the program threw "NullPointerException" when converting PDF to Word.
Bug SPIREPDF-6947 Fixes the issue that the font styles were incorrect when converting PDF to PPTX.

Spire.Doc for Java

Category ID Description
Optimization SPIREDOC-10600 Improves clarity of images when converting Word documents to HTML.
Bug SPIREDOC-10546
SPIREDOC-10601
Fixes the issue that the images were lost when converting HTML to Word.
Bug SPIREDOC-10562 Fixes the problem that the program threw "Unknown boolex value" exception when converting Word to PDF.
Bug SPIREDOC-10688 Fixes the issue that the table borders were lost when the saved Doc document was opened in WPS tool.