We're pleased to announce the release of Spire.Doc for Java 14.2.4. This version supports deleting blank or specified pages in Word documents. Meanwhile, some issues that occurred when converting Word to PDF, HTML, or RTF, and extracting pages or text have also been successfully fixed. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New feature | SPIREDOC-11791 | Supports deleting blank or specified pages in Word documents.
doc.RemoveBlankPages();
doc.RemovePages(new List<int> {0,1,3});
|
| Bug Fix | SPIREDOC-10683 | Optimizes the issue with inconsistent page breaks when converting Word to PDF. |
| Bug Fix | SPIREDOC-11183 | Fixes the issue where a StringIndexOutOfBoundsException was thrown when converting Word to PDF. |
| Bug Fix | SPIREDOC-11695 | Fixes the error when opening modified and saved Word documents. |
| Bug Fix | SPIREDOC-11715 | Fixes the issue where extra "<0x202c>" appeared when converting Word to HTML. |
| Bug Fix | SPIREDOC-11726 | Fixes the incorrect effect when setting setEmbedFontsInFile(true). |
| Bug Fix | SPIREDOC-11729 | Fixes the issue where a StackOverflowError was thrown when converting Word to PDF. |
| Bug Fix | SPIREDOC-11732 | Fixes the issue with incorrect content retrieved by getText(). |
| Bug Fix | SPIREDOC-11756 | Fixes the incorrect watermark and image positions when loading and saving Word documents. |
| Bug Fix | SPIREDOC-11786 | Fixes the issue of extra blank pages when extracting pages with extractPages(). |
| Bug Fix | SPIREDOC-11800 | Fixes the loss of background color when converting RTF to Word. |
| Bug Fix | SPIREDOC-11821 | Fixes the incorrect effect when setting chart.getLegend().setShow(false). |
| Bug Fix | SPIREDOC-11822 | Fixes the NullReferenceException thrown when using Replace() on specific Word documents. |
Click the link below to download Spire.Doc for Java 14.2.4: