Spire.Office for Java 11.2.0 is released
We’re pleased to announce the release of Spire.Office for Java 11.2.0. In this version, Spire.PDF enhances the conversion from PDF to Word; Spire.Doc supports deleting blank or specified pages in Word documents; Spire.XLS supports determining password protection while loading Excel files from stream. Meanwhile, a large number of known issues has been resolved. More details are provided below.
Click the link to download Spire.Office for Java 11.2.0:
Below is a summary of the changes included in this release.
Spire.PDF for Java
Category
ID
Description
Bug Fix
SPIREPDF-5896
Fixed the issue where image content appeared blurry when converting PDF to Word.
Bug Fix
SPIREPDF-7700 SPIREPDF-7914
Fixed the issue where incorrect conversion results occurred in PDF to Word.
Bug Fix
SPIREPDF-7933
Fixed the issue where loading PDF documents resulted in a "file structure is not valid" error.
Bug Fix
SPIREPDF-7895 SPIREPDF-7905
Optimized the overload method (setBackgroundImage(PdfImage image)) for setting background images.
Spire.Doc for Java
Category
ID
Description
New feature
SPIREDOC-11791
Supports deleting blank or specified pages in Word documents.
doc.RemoveBlankPages();
doc.RemovePages(new List<int> {0,1,3});
Bug Fix
SPIREDOC-10683
Optimizes the issue with inconsistent page breaks when converting Word to PDF.
Bug Fix
SPIREDOC-11183
Fixes the issue where a StringIndexOutOfBoundsException was thrown when converting Word to PDF.
Bug Fix
SPIREDOC-11695
Fixes the error when opening modified and saved Word documents.
Bug Fix
SPIREDOC-11715
Fixes the issue where extra "<0x202c>" appeared when converting Word to HTML.
Bug Fix
SPIREDOC-11726
Fixes the incorrect effect when setting setEmbedFontsInFile(true) .
Bug Fix
SPIREDOC-11729
Fixes the issue where a StackOverflowError was thrown when converting Word to PDF.
Bug Fix
SPIREDOC-11732
Fixes the issue with incorrect content retrieved by getText() .
Bug Fix
SPIREDOC-11756
Fixes the incorrect watermark and image positions when loading and saving Word documents.
Bug Fix
SPIREDOC-11786
Fixes the issue of extra blank pages when extracting pages with extractPages() .
Bug Fix
SPIREDOC-11800
Fixes the loss of background color when converting RTF to Word.
Bug Fix
SPIREDOC-11821
Fixes the incorrect effect when setting chart.getLegend().setShow(false) .
Bug Fix
SPIREDOC-11822
Fixes the NullReferenceException thrown when using Replace() on specific Word documents.
Spire.XLS for Java
Category
ID
Description
New Feature
SPIREXLS-6079
Supports Workbook.isPasswordProtected(stream) to determine password protection via file stream.
Bug Fix
SPIREXLS-6070
Fixes the issue where the chart count was incorrect after copying cells.
Bug Fix
SPIREXLS-6072
Deprecated the old conditional format adding method and replaced it with XlsConditionalFormats.
XlsConditionalFormats format1 = sheet.getConditionalFormats().add();
format1.addRange(sheet.getCellRange("A2:A11"));
Bug Fix
SPIREXLS-6080
Fixes the issue where the slicer effect was incorrect after modifying a table.
Bug Fix
SPIREXLS-6081
Fixes the issue where formula calculations were incorrect.
Bug Fix
SPIREXLS-6083
Fixes a NullPointerException that occurred when loading and saving Excel files.
Bug Fix
SPIREXLS-6096
Fixes the issue where images are displayed incorrectly when converting Excel to PDF.
Spire.Presentation for Java
Category
ID
Description
Bug Fix
SPIREPPT-3074
Fixed the issue where adding a formula resulted in "The node to be removed is not a child of this node" error.
Bug Fix
SPIREPPT-3075
Fixed the issue where isPasswordProtected() returned an incorrect result.