Spire.Doc for Java 10.9.8 supports word level comparison when comparing Word documents

2022-09-30 06:22:38

We are pleased to announce the release of Spire.Doc for Java 10.9.8. This version supports word level comparison when comparing Word documents. Besides, it enhances the conversion from Word to PDF. Moreover, some known issues are fixed, such as the issue that the page numbers were not displayed correctly after updating TOC(table of contents). More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREDOC-7817 Supports word level comparison when comparing Word documents.
Document doc1 = new Document();
doc1.loadFromFile(folder + "a.docx");
Document doc2 = new Document();
doc2.loadFromFile(folder + "b.docx");
CompareOptions options = new CompareOptions();
options.setLevel(ComparisonLevel.Word);
doc1.compare(doc2, "E-iceblue",options);
doc1.saveToFile(result, FileFormat.Docx);
Bug SPIREDOC-7268 Fixes the issue that setting table row height to auto type did not work when saving to DOC format documents.
Bug SPIREDOC- 7835 Fixes the issue that TOC contents were not aligned after updating TOC(table of contents).
Bug SPIREDOC-8018 Fixes the issue that the table layout was incorrect when converting Word to PDF.
Bug SPIREDOC-8038 Fixes the issue that the total page count was displayed incorrectly when converting Word to PDF.
Bug SPIREDOC-8092 Fixes the issue that the embedded document could not be opened when clicking on the image displayed by the OLE object after adding an OLE object using OleLinkType.Link.
Bug SPIREDOC-8095 Fixes the issue that the page numbers were not displayed correctly after updating TOC(table of contents).
Bug SPIREDOC-8098 Fixes the issue that setting case insensitivity did not work when finding text via regex.
Bug SPIREDOC-8162 Fixes the issue that the update directory program throws NullPointerException.
Bug SPIREDOC-8190 Fixes the issue that the text wrapping was incorrect when converting Word to PDF
Bug SPIREDOC-8199 Fixes the issue that the rotation angle of the watermark was incorrect when converting Word to PDF.
Bug SPIREDOC-8200 Fixes the issue that the program threw an error (Argument width[0] or height[0] cannot be less or equal to zero) when converting Word to PDF.
Bug SPIREDOC-8231 Fixes the issue that The table did not span pages correctly when converting Word to PDF.
Bug SPIREDOC-8273 Fixes the issue that the program threw an exception (Error reading WMF metafile) when loading document.
Bug SPIREDOC-8282 Fixes the issue that the content layout was incorrect when converting Word to PDF
Bug SPIREDOC-8285 Fixes the issue that the file format of docm was recognized as docx.
Bug SPIREDOC-8303 Fixes the issue that the result of detecting whether a file of docm was encrypted was incorrect.
Bug SPIREDOC-8369 Fixes the issue that the program threw an exception (GC overhead limit exceeded) when converting Word to PDF.
Click the link to download Spire.Doc for Java 10.9.8: