News Category

Spire.Office for Java 4.11.3 is released

2021-11-18 06:18:00

We are excited to announce the release of Spire.Office for Java 4.11.3. This version brings some new features, for instance, Spire.PDF for Java supports converting PDF to images with transparent background; Spire.XLS for Java supports to get the created time and the last saved time of Excel file; Spire.Doc for Java enhances the conversions from Word to PDF/images/HTML, as well as from HTML to Word. Meanwhile, a lot of bugs have been successfully fixed. More details are listed as follow.

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

Here is a list of changes made in this release

Spire.PDF for Java

Category ID Description
New feature SPIREPDF-4734 Supports converting PDF to images with transparent background.
PdfDocument doc = new PdfDocument();
doc.loadFromFile("input.pdf");
doc.getConvertOptions().setPdfToImageOptions(0);
BufferedImage image = doc.saveAsImage(0); 
Bug SPIREPDF-3907 Fixes the issue that the content was truncated when converting PDF to Word
Bug SPIREPDF-4113
SPIREPDF-4638
SPIREPDF-4651
Fixes the issue that the application hanged when converting PDF to images
Bug SPIREPDF-4588
SPIREPDF-4743
Fixes the issue that the application threw NullPointerException
Bug SPIREPDF-4612 Fixes the issue that the format was incorrect after adding text in grid cell
Bug SPIREPDF-4663 Fixes the issue that the size of the images obtained was incorrect
Bug SPIREPDF-4706 Fixes the issue that the application threw "String index out of range: 4" when converting PDF to Word
Bug SPIREPDF-4713 Fixes the issue that the application threw "Value cannot be null" when loading a PDF file
Bug SPIREPDF-4714 Fixes the issue that setting cell newlines did not work
Bug SPIREPDF-4729 Fixes the issue that the application threw "ClassCastException" when merging PDFs
Bug SPIREPDF-4735 Fixes the issue that the content was incorrect after splitting a PDF document
Bug SPIREPDF-4755 Fixes the issue that the application threw "NumberFormatException" when merging PDFs

Spire.XLS for Java

Category ID Description
New feature SPIREXLS-3488 Supports to get the created time and the last saved time of Excel file.
BuiltInDocumentProperties properties1 = workbook.getDocumentProperties();
properties1.getCreatedTime();
properties1.getLastSaveTime();
Bug SPIREXLS-3427 Fixes the issue that the conditional formats did not take effect when converting an Excel file to PDF
Bug SPIREXLS-3444 Fixes the issue that setting PivotTable layout mode to Outline mode did not take effect
Bug SPIREXLS-3445 Fixes the issue that setting diagonal border color did not take effect
Bug SPIREXLS-3484 Fixes the issue that the legend's name was incorrect after loading and saving an Excel file
Bug SPIREXLS-3507 Fixes the issue that the application threw "java.lang.NullPointerException" when converting an Excel file to PDF

Spire.Doc for Java

Category ID Description
Bug SPIREDOC-6646 Fixes the issue that the text overlapped after converting Word to PDF.
Bug SPIREDOC-6664 Fixes the issue that the bookmark was missing after splitting the table cells.
Bug SPIREDOC-6668 Fixes the issue that it didn't get the correct comment content.
Bug SPIREDOC-6675 Fixes the issue that content was missing after replacing text with equations.
Bug SPIREDOC-6698 Fixes the issue that it didn't get the correct paragraph text.
Bug SPIREDOC-6708 Fixes the issue that the table border was missing after comparing two Word documents.
Bug SPIREDOC-6709
SPIREDOC-6716
SPIREDOC-6829
Fixes the issue that the content was incorrect after converting Word to PDF.
Bug SPIREDOC-6717 Fixes the issue that position of the header image was changed after converting Word to PDF.
Bug SPIREDOC-6721 Fixes the issue that the application threw the error "NullPointerException" when converting Word to PDF.
Bug SPIREDOC-6779 Fixes the issue that there was extra text after converting Word to HTML.
Bug SPIREDOC-6796 Fixes the issue that the pagination was incorrect after converting Word to PDF.
Bug SPIREDOC-6799
SPIREDOC-6854
Fixes the issue that the date content was changed after converting Word to PDF.
Bug SPIREDOC-6817 Fixes the issue that the page number position was incorrect after converting Word to PDF.
Bug SPIREDOC-6821 Fixes the issue that the table border was missing after converting HTML to Word.
Bug SPIREDOC-6822 Fixes the issue that the application threw the error "NullPointerException" when getting the comments.
Bug SPIREDOC-6848 Fixes the issue that the application threw the error "IllegalArgumentException" when converting Word to PDF.
Bug SPIREDOC-6855 Fixes the issue that the content was garbled after converting Word to PDF.
Bug SPIREDOC-6857 Fixes the issue that it didn't accept the changes in the footer.
Bug SPIREDOC-6901 Fixes the issue that some images were missing after converting Word to PDF.