We're pleased to announce the release of Spire.Doc for Java 13.12.2. This version supports verifying whether the write-protection password is correct, and also fixes some issues that occurred when converting Word to PDF, HTML to Word, and replacing bookmarks. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New feature | - | Added a new method to support verifying whether the write-protection password is correct.
Boolean protectionPassword = document.checkWriteProtectionPassword("password");
|
| Bug | SPIREDOC-10684 SPIREDOC-11670 | Fixed an issue where text line breaks were inconsistent when converting Word to PDF. |
| Bug | SPIREDOC-11340 | Fixed an issue where paragraph indentation was inconsistent when converting HTML to Word. |
| Bug | SPIREDOC-11617 | Fixed an issue where retrieving bookmarkEnd failed. |
| Bug | SPIREDOC-11618 | Fixed an issue where a “NullPointerException” was thrown when replacing bookmarks. |
| Bug | SPIREDOC-11619 | Fixed an issue where bookmark tags were altered after bookmark replacement. |
| Bug | SPIREDOC-11624 | Fixed an issue where a “NullPointerException” was thrown during Word-to-PDF conversion. |
| Bug | SPIREDOC-11636 | Fixed an issue where equation parentheses were missing when converting Word to PDF. |
| Bug | SPIREDOC-11637 | Fixed an issue where an exception was thrown when retrieving bookmark content inside form content control. |
| Bug | SPIREDOC-11642 | Fixed an issue where detection of document write-protection passwords was inaccurate. |
| Bug | SPIREDOC-11646 | Fixed an issue where a “Text shaper failed” exception was thrown during Word-to-PDF conversion when text shaping was enabled. |
| Bug | SPIREDOC-11649 | Fixed an issue where content overlapped when converting Word to PDF. |
| Bug | SPIREDOC-11669 | Fixed an issue where a “ClassCastException” was thrown when converting HTML to Word. |
| Bug | SPIREDOC-11677 | Fixed an issue where text replacement was incorrect when setReplaceFirst was set to true. |
| Bug | SPIREDOC-11689 | Fixed an issue where tables were misaligned when converting Word to PDF. |
| Bug | SPIREDOC-11697 | Fixed an issue where images were incompletely rendered when converting Word to PDF. |
Click the link below to download Spire.Doc for Java 13.12.2: