实用指南:Spire.Office for Java 10.8

Spire.Office for Java is an enterprise-grade Java Office API suite, combining six powerful libraries: Spire.Doc, Spire.XLS, Spire.Presentation, Spire.PDF , Spire.Barcode, and Spire.OCR. This unified solution enables creation, editing, conversion, and printing of Word, Excel, PowerPoint, and PDF files, alongside with barcode generation/scanning and OCR text recognition.

As a fully independent Office Java library, Spire.Office for Java requires no Microsoft Office installation. It delivers seamless, cross-platform functionality, streamlining complex workflows like report generation, spreadsheet manipulation, scanned text extraction, and barcode decoding—all within a single toolkit designed for enterprise Java applications.

Here is a list of changes made in this release

Spire.Doc for Java

CategoryIDDescription
BugSPIREDOC-10205Fixed the issue where the minus sign in formulas appeared as a square box when converting Word to PDF.
BugSPIREDOC-10730Fixed the issue where updating TOC (Table of Contents) fields failed.
BugSPIREDOC-11196Fixed the issue where certain characters became garbled when converting Word to PDF.
BugSPIREDOC-11372Fixed the issue where chart trend lines were lost when converting Word to PDF.
BugSPIREDOC-11378Fixed the issue where bookmarks were lost when splitting Word documents.
BugSPIREDOC-11400Fixed the "NullPointerException" thrown when loading a document using FixedLayoutDocument.
BugSPIREDOC-11413Fixed the issue where revision tracking was not recorded during text replacement.
BugSPIREDOC-11414 SPIREDOC-11460Fixed the issue where accepting revisions had no effect.
BugSPIREDOC-11419Fixed the "Specified argument was out of the range of valid values" exception when retrieving list numbering.
BugSPIREDOC-11424Fixed the "NullPointerException" thrown when converting Word to PDF.
BugSPIREDOC-11427Fixed the issue where header images were stretched when converting Word to PDF.
BugSPIREDOC-11437Fixed the "Specified argument was out of the range of valid values" exception when loading a Word document.
BugSPIREDOC-11447Fixed the issue where content was incomplete when converting Word to PDF.
BugSPIREDOC-11461Fixed the issue where images were lost when converting HTML to Word.

Spire.XLS for Java

CategoryIDDescription
New featureSPIREXLS-5879Supported converting Excel to HTML while preserving comments.
HTMLOptions options = new HTMLOptions();
options.isSaveComment(true);
BugSPIREXLS-5820Fixed incorrect checkboxes when converting Excel to PDF.
BugSPIREXLS-5887Fixed the issue where non-compliant defaultColWidthPt attribute was added when saving Excel documents according to the OpenXML specification.
BugSPIREXLS-5897Fixed incorrect conversion of plain text to `` tag content when converting a worksheet to HTML.
BugSPIREXLS-5901Fixed incorrect text alignment when converting Excel to PDF.
BugSPIREXLS-5905Fixed text truncation issues when converting Excel to PDF.
BugSPIREXLS-5906Fixed incorrect column widths when converting XLSX to XLSM.
BugSPIREXLS-5916Fixed "NullPointerException" thrown when saving Excel documents.

Spire.Presentation for Java

CategoryIDDescription
OptimizationSPIREPPT-2896Optimized memory usage and processing time when converting PPTX to PDF.
BugSPIREPPT-2877Fixed the issue where adding a LaTeX formula resulted in incorrect rendering.
BugSPIREPPT-2890Fixed the issue where adding a blank paragraph caused incorrect shape height.
BugSPIREPPT-2907Fixed the issue where converting ODP to PDF caused the program to throw a "StackOverflowError".
BugSPIREPPT-2910Fixed the issue where text was lost when converting PPTX to images.
BugSPIREPPT-2920 SPIREPPT-2923Fixed the issue where chart data was incorrect when converting slides to images.
BugSPIREPPT-2931Fixed the issue where adding the formula "\to" caused the program to throw a "NullPointerException".

Spire.PDF for Java

CategoryIDDescription
OptimizationSPIREPDF-6325Optimized memory consumption when converting PDF to OFD.
BugSPIREPDF-7393Fixed the memory overflow issue caused by circular use of PdfTextReplacer to replace text.
BugSPIREPDF-7535Fixed the issue of lost transparency when converting SVG to PDF.
BugSPIREPDF-7613Fixed the issue where the output document could not be generated when converting HTML to PDF.
BugSPIREPDF-7445Fixed the issue that full-width English symbols and letters were garbled when converting SVG to PDF.
posted @ 2025-09-08 20:23  yfceshi  阅读(12)  评论(0)    收藏  举报