Spire.Doc for Java 12.5.1 supports ignoring header and footer comparison options when comparing documents

2024-05-29 08:43:03

We're pleased to announce the release of Spire.Doc for Java 12.5.1. This version supports ignoring header and footer comparison options when comparing documents, and also fixes some known issues such as incorrect paragraph alignment when converting HTML to Word, redundant content appeared when converting Word to PDF. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREDOC-10156 Supports ignoring headers and footers when comparing PDF documents.
CompareOptions options=new CompareOptions();
Options.IgnoreHeadersAndFooters=true;//Default is false
Bug SPIREDOC-9330
SPIREDOC-10446
Fixes the issue that the text was garbled after converting a DOCX document to a PDF document.
Bug SPIREDOC-9309 Fixes the issue that the content was messed up after converting a DOCX document to a PDF document.
Bug SPIREDOC-9349 Fixes the issue that the content appeared different when it was opened with WPS tool after loading and saving the document.
Bug SPIREDOC-10137 Fix the issue that the text direction of the vertical text box was incorrect after converting a Word document to a PDF document.
Bug SPIREDOC-10373 Fix the issue that the program threw "cannot be cast to java.lang.Float" exception when comparing Word documents.
Bug SPIREDOC-10383 Fixed the issue that the paragraph alignment was incorrect after converting HTML to Word documents.
Bug SPIREDOC-10408 Fixed the issue that the program threw "Specified argument was out of the range of valid values" exception when loading Word documents.
Bug SPIREDOC-10455 Fix the issue that paging was incorrect after converting Word documents to PDF documents using WPS rules.
Bug SPIREDOC-10459 Fixed the issue that images were rotated after converting Word documents to PDF documents.
Bug SPIREDOC-10466 Fix the issue that extra content appeared after converting Word documents to PDF documents.
Bug SPIREDOC-10481 Fix the problem that the program threw a "NullPointerException" when converting Word documents to PDF documents.
Bug SPIREDOC-10485 Fix the issue that extra blank pages appeared after converting Word documents to PDF documents using WPS rules.
Bug SPIREDOC-10513 Fix the issue that the content of the drop-down box was garbled after converting a Word document to a PDF document.
Click the link below to download Spire.Doc for Java 12.5.1: