Spire.Doc for Java 10.7.4 supports setting the comparison level when comparing Word documents

2022-07-13 08:49:31

We are happy to announce the release of Spire.Doc for Java 10.7.4. This version supports setting the comparison level when comparing Word documents. Besides, it enhances the conversion from Word files to PDF files and images. Moreover, some known issues are fixed, such as the issue that the content was incorrect after merging two Word files. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature - Support setting the comparison level when comparing Word files.
Document doc1 = new Document();
doc1.loadFromFile("input1.docx");
Document doc2 = new Document();
doc2.loadFromFile("input2.docx");
//setting comparison level
CompareOptions options = new CompareOptions();
options.setLevel(ComparisonLevel.Character);
doc1.compare(doc2,"user");
doc1.saveToFile("result.docx", FileFormat.Docx_2013);
Bug SPIREDOC-7530 Fixes the issue that the content was incorrect after merging two Word files.
Bug SPIREDOC-7625 Fixes the issue that the result was incorrect after comparing two Word files.
Bug SPIREDOC-7674 Fixes the issue that the picture position was incorrect after converting Word files to PDF.
Bug SPIREDOC-7776 Fixes the issue that the content was incorrect after converting Word files to images.
Bug SPIREDOC-7799
SPIREDOC-7818
SPIREDOC-7890
SPIREDOC-7891
Fixes the issue that the content position was changed after converting Word files to PDF.
Bug SPIREDOC-7818
SPIREDOC-7971
Fixes the issue that the obtained word count was incorrect.
Bug SPIREDOC-7840 Fixes the issue that the saved doc format file was incorrect after adding comments.
Bug SPIREDOC-7891 Fixes the issue that some text content was lost after converting Word files to PDF.
Bug SPIREDOC-7921 Fixes the issue that the content was incorrect after converting Word files to PDF.
Bug SPIREDOC-7940 Fixes the issue that the line wrapping position was changed after converting Word files to PDF.
Bug SPIREDOC-7953 Fixes the issue that the application threw "IndexOutOfBoundsException" when accepting changes and clearing the comments.
Bug SPIREDOC-7970 Fixes the issue that the application threw "The local name for elements or attributes cannot be null or an empty string" when appending HTML.
Bug SPIREDOC-7983 Fixes the issue that the application threw "IllegalStateException" when converting Word files to PDF.
Bug SPIREDOC-8003 Fixes the issue that there was an error when detecting with the virus scanning tool.
Bug SPIREDOC-8077 Fixes the issue that the application threw "WindowsPreferences.WindowsRegOpenKey(int,[B,int)" when using on the higher JDK version, such as jdk11, jdk17.
Click the link to download Spire.Doc for Java 10.7.4: