Spire.Office for Java 10.12.0 is released

Spire.Office for Java 10.12.0 is released

2025-12-30 08:00:55

We are pleased to announce the release of Spire.Office for Java 10.12.0. In this version, Spire.Doc for Java supports verifying whether the write-protection password is correct; Spire.PDF for Java reduces the file size of split PDF documents; Spire.XLS for Java optimizes the logic for handling long text in headers. This version also addresses a number of known issues and minor fixes across other components. Details are provided below.

Click the link to download Spire.Office for Java 10.12.0:

Below is a summary of the changes included in this release.

Spire.Doc for Java

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.

Spire.XLS for Java

Category ID Description
Adjustment SPIREXLS-5909 Optimized the logic for handling text exceeding 253 characters in headers. When the limit is exceeded, an error message is now displayed: "The text string for header is too long.
Bug SPIREXLS-6033 Fixed the issue where loading an Excel document caused a StringIndexOutOfBoundsException.
Bug SPIREXLS-6039 SPIREXLS-6040 Fixed the issue where copying a worksheet containing curves threw a NullPointerException.
Bug SPIREXLS-6041 Fixed the issue where Excel-to-PDF conversion resulted in an error: "Error in Cell: AH125-null"70S シルバー&サイズ=-".
Bug SPIREXLS-6042 SPIREXLS-6052 Fixed the issue where false positive virus detections occurred by Huorong and Avira antivirus software when scanning the JAR file.

Spire.PDF for Java

Category ID Description
Bug SPIREPDF-7837 Fixed an issue where the size of individual PDF files generated after splitting a PDF was larger than that of the original PDF.
Bug SPIREPDF-7844 Fixed an issue where the retrieved value of combo boxes was incorrect.
Bug SPIREPDF-7857 Fixed an issue where retrieving the checked state of checkboxes threw an ArrayIndexOutOfBoundsException.
Bug SPIREPDF-7859 Fixed an issue where accessing a PDF page threw a NullPointerException.
Bug SPIREPDF-7865 Fixed an issue where converting OFD to PDF threw an exception “ofd.xml not found!”.

Spire.Presentation for Java

Category ID Description
Bug SPIREPPT-3025 Fixed the issue where the formula "\square" in PowerPoint was displayed incorrectly on Mac.

Coupon Code Copied!

Christmas Sale

Celebrate the season with exclusive savings

Save 10% Sitewide

Use Code:

View Campaign Details