We’re pleased to announce the release of Spire.Office for Java 10.8.0. This version mainly fixed many known issues that occurred when converting or processing Word, Excel, PowerPoint, and PDF files. For example, Spire.Doc for Java fixed the issue where updating TOC fields failed; Spire.PDF for Java fixed a memory overflow occurred when repeatedly using PdfTextReplacer. More details are listed below.
Click the link to download Spire.Office for Java 10.8.0:
Here is a list of changes made in this release
Spire.Doc for Java
| Category | ID | Description |
| Bug | SPIREDOC-10205 | Fixed the issue where the minus sign in formulas appeared as a square box when converting Word to PDF. |
| Bug | SPIREDOC-10730 | Fixed the issue where updating TOC (Table of Contents) fields failed. |
| Bug | SPIREDOC-11196 | Fixed the issue where certain characters became garbled when converting Word to PDF. |
| Bug | SPIREDOC-11372 | Fixed the issue where chart trend lines were lost when converting Word to PDF. |
| Bug | SPIREDOC-11378 | Fixed the issue where bookmarks were lost when splitting Word documents. |
| Bug | SPIREDOC-11400 | Fixed the "NullPointerException" thrown when loading a document using FixedLayoutDocument. |
| Bug | SPIREDOC-11413 | Fixed the issue where revision tracking was not recorded during text replacement. |
| Bug | SPIREDOC-11414 SPIREDOC-11460 | Fixed the issue where accepting revisions had no effect. |
| Bug | SPIREDOC-11419 | Fixed the "Specified argument was out of the range of valid values" exception when retrieving list numbering. |
| Bug | SPIREDOC-11424 | Fixed the "NullPointerException" thrown when converting Word to PDF. |
| Bug | SPIREDOC-11427 | Fixed the issue where header images were stretched when converting Word to PDF. |
| Bug | SPIREDOC-11437 | Fixed the "Specified argument was out of the range of valid values" exception when loading a Word document. |
| Bug | SPIREDOC-11447 | Fixed the issue where content was incomplete when converting Word to PDF. |
| Bug | SPIREDOC-11461 | Fixed the issue where images were lost when converting HTML to Word. |
Spire.XLS for Java
| Category | ID | Description |
| New feature | SPIREXLS-5879 | Supported converting Excel to HTML while preserving comments.
HTMLOptions options = new HTMLOptions(); options.isSaveComment(true); |
| Bug | SPIREXLS-5820 | Fixed incorrect checkboxes when converting Excel to PDF. |
| Bug | SPIREXLS-5887 | Fixed the issue where non-compliant defaultColWidthPt attribute was added when saving Excel documents according to the OpenXML specification. |
| Bug | SPIREXLS-5897 | Fixed incorrect conversion of plain text to `` tag content when converting a worksheet to HTML. |
| Bug | SPIREXLS-5901 | Fixed incorrect text alignment when converting Excel to PDF. |
| Bug | SPIREXLS-5905 | Fixed text truncation issues when converting Excel to PDF. |
| Bug | SPIREXLS-5906 | Fixed incorrect column widths when converting XLSX to XLSM. |
| Bug | SPIREXLS-5916 | Fixed "NullPointerException" thrown when saving Excel documents. |
Spire.Presentation for Java
| Category | ID | Description |
| Optimization | SPIREPPT-2896 | Optimized memory usage and processing time when converting PPTX to PDF. |
| Bug | SPIREPPT-2877 | Fixed the issue where adding a LaTeX formula resulted in incorrect rendering. |
| Bug | SPIREPPT-2890 | Fixed the issue where adding a blank paragraph caused incorrect shape height. |
| Bug | SPIREPPT-2907 | Fixed the issue where converting ODP to PDF caused the program to throw a "StackOverflowError". |
| Bug | SPIREPPT-2910 | Fixed the issue where text was lost when converting PPTX to images. |
| Bug | SPIREPPT-2920 SPIREPPT-2923 | Fixed the issue where chart data was incorrect when converting slides to images. |
| Bug | SPIREPPT-2931 | Fixed the issue where adding the formula "\to" caused the program to throw a "NullPointerException". |
Spire.PDF for Java
| Category | ID | Description |
| Optimization | SPIREPDF-6325 | Optimized memory consumption when converting PDF to OFD. |
| Bug | SPIREPDF-7393 | Fixed the memory overflow issue caused by circular use of PdfTextReplacer to replace text. |
| Bug | SPIREPDF-7535 | Fixed the issue of lost transparency when converting SVG to PDF. |
| Bug | SPIREPDF-7613 | Fixed the issue where the output document could not be generated when converting HTML to PDF. |
| Bug | SPIREPDF-7445 | Fixed the issue that full-width English symbols and letters were garbled when converting SVG to PDF. |