Spire.Office for Java 5.4.2 is released

2022-04-11 00:54:29

We are excited to announce the release of Spire.Office for Java 5.4.2. This version brings some new features. For instance, Spire.Doc for Java supports converting Word documents using NewEngine, it also enhances the conversion from Word to PDF, Word to HTML, Word to OFD, XML to Word and Word to image; Spire.PDF for Java enhances the conversion from PDF to Word, PDF to PDFA; Spire.Presentation for Java enhances the conversion from PowerPoint to PDF Meanwhile, a lot of bugs have been successfully fixed. More details are listed as follow.

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

Here is a list of changes made in this release

Spire.Doc for Java

Category ID Description
New feature - Supports converting Word documents using NewEngine.
Document doc = new Document();
doc.loadFromFile(inputFile);
doc.setUseNewEngine(true);
Bug SPIREDOC-6385
SPIREDOC-7011
SPIREDOC-7380
The NewEngine method fixes the issue that the image position offset after converting Word file to PDF.
Bug SPIREDOC-6863
SPIREDOC-6879
SPIREDOC-6918
SPIREDOC-6989
SPIREDOC-6993
SPIREDOC-7004
SPIREDOC-7043
SPIREDOC-7152
SPIREDOC-7219
SPIREDOC-7319
SPIREDOC-7368
SPIREDOC-7371
SPIREDOC-7438
SPIREDOC-7481
SPIREDOC-7483
SPIREDOC-7537
The NewEngine method fixes the issue that the content format was incorrect after converting Word file to PDF.
Bug SPIREDOC-6956 The NewEngine method fixes the issue that the application threw "Exception in thread "main" class com.spire.office.packages.sprpfe" when converting Word file to PDF.
Bug SPIREDOC-6996 The NewEngine method fixes the issue that the application threw "An element with the same key already exists in the dictionary" when converting Word file to PDF.
Bug SPIREDOC-7028 The NewEngine method fixes the issue that the application threw "IllegalArgumentException" when converting Word file to PDF.
Bug SPIREDOC-7071 The NewEngine method fixes the issue that the application hanged a long time when converting Word file to PDF.
Bug SPIREDOC-7111
SPIREDOC-7569
The NewEngine method fixes the pagination was incorrect after converting Word file to PDF.
Bug SPIREDOC-7246 The NewEngine method fixes the content was lost after converting Word file to PDF.
Bug SPIREDOC-7249 The NewEngine method fixes the issue that the application threw "StackOverflowError" when converting Word file to PDF.
Bug SPIREDOC-7255
SPIREDOC-7271
SPIREDOC-7418
The NewEngine method fixes the text wrap was incorrect after converting Word file to PDF.
Bug SPIREDOC-7277
SPIREDOC-7369
SPIREDOC-7408
The NewEngine method optimizes the time consumption when converting Word file to PDF.
Bug SPIREDOC-7308 The NewEngine method fixes the image was overlapped after converting Word file to PDF.
Bug SPIREDOC-7360 The NewEngine method fixes the image was lost after converting Word file to PDF.
Bug SPIREDOC-7519 The NewEngine method fixes the issue that there was an extra blank pages after converting Word file to PDF.
Bug SPIREDOC-4270 Fixes the issue that the content was overlapped after converting word file to PDF.
Bug SPIREDOC-6749 Fixes the issue that the application threw "Specified argument was out of the range" when converting word file to PDF.
Bug SPIREDOC-7198
SPIREDOC-7415
Fixes the issue that the content format was incorrect after converting word file to PDF.
Bug SPIREDOC-7243 The NewEngine method fixes the issue that the content position was incorrect after converting word file to PDF.
Bug SPIREDOC-7259 Fixes the issue that the table position was incorrect after converting word file to PDF.
Bug SPIREDOC-7274 Fixes the issue that the font was incorrect after converting word file to PDF.
Bug SPIREDOC-7376 Fixes the issue that the table borders were lost after converting word file to PDF.
Bug SPIREDOC-7399
SPIREDOC-7487
Fixes the issue that the pagination was incorrect after converting word file to PDF.
Bug SPIREDOC-7426 Fixes the issue that there was extra underline after converting word file to Html.
Bug SPIREDOC-7436
SPIREDOC-7516
Fixes the issue that the table content was incorrect after converting word file to Html.
Bug SPIREDOC-7479 Fixes the issue that the application threw "NullPointerException" when converting word file to PDF.
Bug SPIREDOC-7480 Fixes the issue that the application threw "NullPointerException" when converting word file to Html.
Bug SPIREDOC-7484 Fixes the issue that there were extra black lines after converting word file to image.
Bug SPIREDOC-7486 Fixes the issue that the application threw "The string contains invalid characters" when converting xml to word.
Bug SPIREDOC-7488 Fixes the issue that the content was lost after converting word file to PDF.
Bug SPIREDOC-7492 Fixes the issue that the image path was unable to be found when setting setImagesPath to convert word to Html in Linux system.
Bug SPIREDOC-7513 Fixes the issue that the application threw "span' is expected Line 1, position 1160331" when loading a word file.
Bug SPIREDOC-7518 Fixes the issue that the mailMerge was failed when setting the property access to "private".
Bug SPIREDOC-7527 Fixes the issue that the application threw "StackOverflowError" when comparing word files.
Bug SPIREDOC-7532 Fixes the issue that the content format was incorrect after converting word file to OFD.

Spire.PDF for Java

Category ID Description
Bug SPIREPDF-4966
SPIREPDF-5003
Fixes the issue that the Chinese characters were garbled after converting PDF to PDFA.
Bug SPIREPDF-4969 Fixes the issue that the application threw "NullPointerException" when converting PDF to word.
Bug SPIREPDF-4971 Fixes the issue that the application threw "ArrayIndexOutOfBoundsException" when converting PDF to PDFA repeatedly.
Bug SPIREPDF-4973 Fixes the issue that the application threw " Can't append a node created by another document" when converting PDF to OFD with multithreads.
Bug SPIREPDF-4978 Fixes the issue that the application threw " NullPointerException" when getting PDF first page.
Bug SPIREPDF-4992 Fixes the issue that the content format was incorrect after converting PDF to PDFA.
Bug SPIREPDF-5010 Fixes the issue that it was unable to set font for PdfCode128ABarcode bottom text.

Spire.Presentation for Java

Category ID Description
Bug SPIREPPT-1884 Fixes the issue that the application threw "ExecutionException" when converting PPT to PDF in Mac system.
Bug SPIREPPT-1888 Optimizes the time consumption when converting PPT file to PDF.
Bug SPIREPPT-1894 Fixes the issue that the application threw "NullPointerException" when getting the numbers of chart Categories.