We are delighted to announce the release of Spire.Office for Java 8.12.0. In this version, Spire.XLS for Java supports retrieving embedded images added with WPS tools; Spire.PDF for Java enhances the conversion from PDF to SVG, PDF/A1B, and PDF/A2A. In addition, many known issues are fixed in this version. More details are listed below.
Click the link to download Spire.Office for Java 8.12.0:
Here is a list of changes made in this release
Spire.XLS for Java
Category | ID | Description |
New feature | SPIREXLS-4971 | Adds the worksheet.getCellImages() method to retrieve embedded images added with WPS tools.
Workbook workbook = new Workbook(); workbook.loadFromFile("sample.xlsx"); Worksheet sheet = workbook.getWorksheets().get(0); ExcelPicture[] picture = sheet.getCellImages(); for (int i = 0; i < picture.length; i++) { ExcelPicture ep = picture[i]; BufferedImage image = ep.getPicture(); ImageIO.write(image,"PNG", new File(outputFile + String.format("pic_%d.png",i))); } |
Bug | SPIREXLS-4971 | Fixes the issue that the program threw an exception "Index is less than 0 or more than or equal to the list count." when getting inline pictures added with WPS tools. |
Bug | SPIREXLS-4996 | Fixes the issue that the program suspended when loading Excel documents. |
Bug | SPIREXLS-5010 | Fixes the issue that the font size of the retrieved text was incorrect. |
Bug | SPIREXLS-5021 | Fixes the issue that the coordinate axes data of charts in the saved Excel document were incorrect. |
Bug | SPIREXLS-5024 | Fixes the issue that the program threw a java.lang.StringIndexOutOfBoundsException when converting an XLSM document to PDF. |
Bug | SPIREXLS-4966 | Fixes the issue that the application threw the "java.lang.NullPointerException" exception when converting worksheets to HTML documents. |
Bug | SPIREXLS-4967 | Fixes the issue that excessive "0" characters occurred in the text content when converting Excel documents to HTML documents. |
Bug | SPIREXLS-4968 | Fixes the issue that the cell content was partially lost when converting Excel to PDF after setting the cell to auto-fit row height. |
Bug | SPIREXLS-4970 | Fixes the issue that incorrect content was obtained from merged cells. |
Bug | SPIREXLS-4975 | Fixes the issue that incorrect results were returned by string searches. |
Bug | SPIREXLS-4977 | Fixes the issue that the chart references were updated incorrectly when copying worksheets. |
Bug | SPIREXLS-4990 | Fixes the issue that incorrect DisplayedText values were obtained. |
Spire.PDF for Java
Category | ID | Description |
Bug | SPIREPDF-6265 | Fixes the issue that the result document was blank when converting PDF to SVG on Linux system. |
Bug | SPIREPDF-6363 | Fixes the issue that the result document didn't meet the standard when converting PDF to PDF/A1B. |
Bug | SPIREPDF-6394 | Fixes the issue that the program threw a "NullPointerException" when converting PDF to SVG. |
Bug | SPIREPDF-6396 | Fixes the issue that the stamps were lost when printing PDF after adding stamps and locking them. |
Bug | SPIREPDF-6401 | Fixes the issue that the content was lost after converting PDF to PDF/A2A. |