Spire.Office for Java 8.3.5 is released

2023-03-16 09:24:34

We are glad to announce the release of Spire.Office for Java 8.3.5. In this version, Spire.PDF for Java optimizes the function of compressing documents and it also enhances the conversion from PDF to Excel; Spire.Doc for Java enhances the conversion form Word to PDF; Spire.XLS for Java enhances the conversion from Excel to PDF. Moreover, many known issues are fixed in this version. More details are listed below.

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

Here is a list of changes made in this release

Spire.PDF for Java

Category ID Description
New feature SPIREPDF-5706 Optimizes the function of compressing documents.
PdfCompressor compressor = new PdfCompressor(inputFile);
compressor.getOptions().getImageCompressionOptions().setResizeImages(true);
compressor.getOptions().getImageCompressionOptions().setImageQuality(ImageQuality.Low);
compressor.compressToFile(outputFile);
Bug SPIREPDF-5655 Fixes the issue that the characters did not display correctly when converting PDF to Excel files.
Bug SPIREPDF-5767 Fixes the issue that it failed to delete annotations.
Bug SPIREPDF-5776 Fixes the issue that it failed to delete square and circle annotations.
Bug SPIREPDF-5778 Fixes the issue that cell content was lost when the cell was set not to wrap.

Spire.Doc for Java

Category ID Description
Bug SPIREDOC-8858 Fixes the issue that WPS tool viewing inconsistent line breaks when converting Word to PDF.
Bug SPIREDOC-8950 Fixes the issue that paging inconsistency when converting Word to PDF.
Bug SPIREDOC-9011 Fixes the issue that the program threw java.lang.NullPointerException when replacing bookmarks.
Bug SPIREDOC-9016 Fixes the issue that incorrect display of Chinese symbols with WPS tool when converting Word to PDF.
Bug SPIREDOC-9028 Fixes the issue that the program threw java.lang.ClassCastException when loading Word documents.
Bug SPIREDOC-9055 Fixes the issue that no marks left for editing content revisions after setting ProtectionType.Allow_Only_Revisions.

Spire.XLS for Java

Category ID Description
Bug SPIREXLS-4423 Fixes the issue that the referenced data path was incorrect after setting formula multiple times.
Bug SPIREXLS-4426 Fixes the issue that it didn't take effect when setting DataValidation for a cell range area.
Bug SPIREXLS-4429 Fixes the issue that the application threw "Index is less than 0 or more" when loading an Excel document.
Bug SPIREXLS-4501 Optimized the size of the resulting PDF document converted from Excel.
Workbook workbook = new Workbook();
workbook.loadFromFile("1.xlsx");
workbook.getConverterSetting().setJPEGQuality(40);
workbook.saveToFile("1.pdf", FileFormat.PDF).
Bug SPIREXLS-4453 Fixed the issue that the result of automatic width adjustment was inconsistent with Microsoft Excel.
Bug SPIREXLS-4456 Fixed the issue that the calculation result of Concat function nested in Filter function was incorrect.
Bug SPIREXLS-4461 Fixed the issue that it threw a java.lang.NumberFormatException exception when importing data tables containing null values into sheets.
Bug SPIREXLS-4462 Fixed the issue that merged rows were lost after adding filters.
Bug SPIREXLS-4469
SPIREXLS-4483
Fixed the issue that the calculation result of Filter function was incorrect.
Bug SPIREXLS-4477 Fixed the issue that only the first sheet was affected when sorting multiple sheets together.
Bug SPIREXLS-4478 Fixed the issue that shapes were changed after conversion from Excel to PDF.
Bug SPIREXLS-4479 Fixed the issue that the displayed values of cells were incorrect after setting number formats and auto-fitting column widths.
Bug SPIREXLS-4487 Fixed the issue that a java.lang.NullPointerException exception was thrown when loading Excel documents.
Bug SPIREXLS-4488 Fixed the issue that the effect of clearing filter criteria was incorrect.