Spire.Office for Java 3.1.1

Spire.Office for Java 3.1.1 is released

We're pleased to announce the release of Spire.Office for Java 3.1.1. This version includes two new features, i.e. Spire.Doc adds OfficeMath.toMathMLCode() to get MathML code string and Spire.PDF supports getting the BleedBox/CropBox/ArtBox/TrimBox properties of PDF page. Meanwhile, a series of issues occurred when converting and manipulating Word, PDF and Excel files have been fixed. See the content below for more details.

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

Spire.Doc for Java

New Features:

  • Adds OfficeMath.toMathMLCode() to get MathML code string.

Bug Fixes:

  • Fixes the issue that it threw an exception when getting the images.
  • Fixes the issue that it threw an exception when updating TOC.
  • Fixes the issue that it threw an exception when loading a document.
  • Fixes the issue that the formulas became larger after updating TOC.
  • Fixes the issue that the images have extra borders after converting odt to docx.
  • Fixes the issue that it threw "ClassCastException" when loading a document.
  • Fixes the issue that the format of content was incorrect when converting Word to PDF.
  • Fixes the issue that the result file cannot be opened after cleaning the section breaks in doc file.
  • Fixes the issue that the text overlapped after converting Word to PDF.
  • Fixes the issue that the application threw ArgumentException when converting Word to PDF.
  • Fixes the issue that the result file could not be opened after merging files.
  • Fixes the issue that the shape was missing after converting Word to Image.
  • Fixes the issue that the image was generated in double copies when converting Word to PDF

Spire.PDF for Java

New Features:

  • Supports getting the BleedBox/CropBox/ArtBox/TrimBox properties of PDF page.
  • page.getBleedBox();
    page.getCropBox();
    page.getArtBox();
    page.getTrimBox();
    

Bug Fixes:

  • Fixes the issue that caused the "hyperlink can't be added" and "wrong location of added hyperlink" errors when adding hyperlinks in PDF documents.
  • Fixes the issue that adding background image in PDF cost long time.
  • Fixes the issue that executing the setAfterOpenAction(action) method to add action and executing setAfterOpenAction(null) method to concel the action didn't take effect.

Spire.XLS for Java

Bug Fixes:

  • Fixes the issue that it threw an exception when converting an excel document to PDF.
  • Fixes the issue that it couldn't get the properties of an Excel document.