Spire.Doc for Java 4.10.3 supports loading and saving .wps and .wpt files

2021-10-22 08:51:03

We are happy to announce the release of Spire.Doc for Java 4.10.3. This version supports loading and saving .wps and .wpt files. Moreover, it enhances the conversion from Word to PDF, Word to html, as well as Doc to Docx. In addition, it fixes the issues that the application threw error when merging Word files or loading a Word document. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREDOC-6743 Supports loading and saving .wps and .wpt files.
Document document = new Document();
document.loadFromFile(inputFile, FileFormat.WPS);
//document.loadFromFile(inputFile, FileFormat.WPT);
document.saveToFile(outputFile, FileFormat.WPS);
//document.saveToFile(outputFile, FileFormat.WPT);
Bug SPIREDOC-5839 Fixes the issue that the line break was incorrect after converting Word to PDF.
Bug SPIREDOC-6107
SPIREDOC-6572
SPIREDOC-6671
SPIREDOC-6715
Fixes the issue that the comparison result was incorrect after comparing two Word documents.
Bug SPIREDOC-5768
SPIREDOC-5768
Fixes the issue that the text across paragraphs could not be found when using regular expressions.
Bug SPIREDOC-6171 Fixes the issue that the charts were not rendered correctly after converting Word to PDF.
Bug SPIREDOC-6379
SPIREDOC-6745
Fixes the issue that the field was not updated correctly after mail merge.
Bug SPIREDOC-6391 Fixes the issue that the image position was incorrect after converting Word to PDF.
Bug SPIREDOC-6428 Fixes the issue that it failed to set the value of the DocProperty field in the header.
Bug SPIREDOC-6462
SPIREDOC-6559
SPIREDOC-6620
Fixes the issue that the content was incorrect after converting Word to PDF.
Bug SPIREDOC-6546 Fixes the issue that table border was not displayed correctly when opening the result file in WPS.
Bug SPIREDOC-6552 Fixes the issue that the changes markup was incorrect after converting Word to HTML and back to Word.
Bug SPIREDOC-6581 Fixes the issue that the image was missing after converting Word to PDF.
Bug SPIREDOC-6583
SPIREDOC-6661
SPIREDOC-6767
SPIREDOC-6769
Fixes the issue that the content was incorrect after accepting the changes.
Bug SPIREDOC-6589 Fixes the issue that the application threw the error "IllegalArgumentException" when loading a Word document.
Bug SPIREDOC-6614 Fixes the issue that the text overlapped after converting Word to PDF.
Bug SPIREDOC-6631 Fixes the issue that the application threw the error "An element with the same key already exists in the dictionary" when merging Word files.
Bug SPIREDOC-6647 Fixes the issue that the application threw the error "ArrayIndexOutOfBoundsException" when accepting changes.
Bug SPIREDOC-6662 Fixes the issue that the application threw the error "NullPointerException" when getting bookmarks after accepting changes.
Bug SPIREDOC-6663 Fixes the issue that the table borders were missing when opening result file in WPS after converting Doc to Docx.
Bug SPIREDOC-6669 Fixes the issue that the application threw the error "IllegalArgumentException" when converting Word to HTML.
Bug SPIREDOC-6670 Fixes the issue that there was extra image after converting Word to HTML and back to Word.
Bug SPIREDOC-6672 Fixes the issue that the result file couldn't be printed in Mac OS after converting Word to PDF.
Bug SPIREDOC-6702 Fixes the issue that the application threw the error "Value was either too large or too small for an Int32" when loading a Word document.
Bug SPIREDOC-6703 Fixes the issue that the table width was changed after converting Word to PDF.
Bug SPIREDOC-6704 Fixes the issue that there were extra images after converting Word to PDF.
Bug SPIREDOC-6705 Fixes the issue that the application threw the error "'span' is expected Line 1, position 67" when loading a Word document.
Bug SPIREDOC-6712 Fixes the issue that the application threw the error "StackOverFlowError" when updating the TOC.
Bug SPIREDOC-6753 Fixes the issue that the application threw the error "Input String was not in the correct format" when updating the TOC.
Bug SPIREDOC-6792 Fixes the issue that the application threw the error "No have this value 104" when loading a Word document.
Bug SPIREDOC-6797 Fixes the issue that the application threw the error "No have this value 5" when loading a Word document.
Click the link to download Spire.Doc for Java 4.10.3: