Spire.Office for Java 4.9.2

Spire.Office for Java 4.9.2 is released

Spire.Office for Java 4.9.2 is released. This version brings some new features, for example, Spire.PDF for Java supports converting PDF to OFD; Spire.XLS for Java supports hiding all items for pivot table field. In addition, a lot of bugs have been fixed. More details are listed below.

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

Here is a list of changes made in this release

Spire.Doc for Java

Category ID Description
Bug SPIREDOC-4614 Fixes the issue that the application threw the error "Width (0) and height (0) cannot be <= 0" when loading the file.
Bug SPIREDOC-4711 Fixes the issue that it generated garbled characters after converting TXT to Word in Linux system.
Bug SPIREDOC-5336 Fixes the issue that when comparing two same documents, the comparison showed that they had differences.
Bug SPIREDOC-5768
SPIREDOC-5768
Fixes the issue that the text across paragraphs could not be found when using regular expressions.
Bug SPIREDOC-6148 Fixes the issue that the math equation was not successfully added after adding HTML strings.
Bug SPIREDOC-6245 Fixes the issue that the application threw the error "Unknown format" when appending HTML to paragraphs.
Bug SPIREDOC-6247 Fixes the issue that it extracted garbled characters when extracting text in Linux system.
Bug SPIREDOC-6330 Fixes the issue that the content format was changed after adding watermarks.
Bug SPIREDOC-6377
SPIREDOC-6383
SPIREDOC-6594
Fixes the issue that the content was incorrect after converting Word to PDF.
Bug SPIREDOC-6387 Fixes the issue that the comparison result was incorrect when comparing documents.
Bug SPIREDOC-6388 Fixes the issue that the pagination was incorrect after converting Word to PDF.
Bug SPIREDOC-6390 Fixes the issue that the image was not rendered after converting HTML to Word.
Bug SPIREDOC-6420 Fixes the issue that the it could not set the character format for the SDT text.
Bug SPIREDOC-6427 Fixes the issue that the application hung when converting Word to PDF.
Bug SPIREDOC-6429 Fixes the issue that the background color was changed after converting TXT to JPG.
Bug SPIREDOC-6445 Fixes the issue that it failed to accept changes.
Bug SPIREDOC-6454 Fixes the issue that the table content was incorrect after converting Word to PDF.
Bug SPIREDOC-6471 Fixes the issue that the application threw the error "Key '/word/webextensions/taskpanes1.xml' already exists in list" when merging Word files.
Bug SPIREDOC-6500 Fixes the issue that the fonts were not embedded correctly after converting Word to PDF.
Bug SPIREDOC-6502 Fixes the issue that splitting cells would additionally copy the table contents.
Bug SPIREDOC-6509 Fixes the issue that the comments could not be obtained.
Bug SPIREDOC-6510 Fixes the issue that the result was incorrect when getting the protection type of a file.
Bug SPIREDOC-6511 Fixes the issue that the application threw the error "NullPointerException" when replacing bookmark content.
Bug SPIREDOC-6556 Fixes the issue that the comment could not be removed.
Bug SPIREDOC-6564 Fixes the issue that the application threw the error "style identifier" when comparing documents.
Bug SPIREDOC-6567 Fixes the issue that the Chinese characters were not rendered correctly after converting Word to PDF.
Bug SPIREDOC-6569 Fixes the issue that the application threw the error "Wrong block length" when loading a Word file.

Spire.PDF for Java

Category ID Description
New feature - Supports converting PDF to OFD.
pdf.saveToFile(output, FileFormat.OFD)
Bug SPIREPDF-3985 Fixes the issue that the fonts were incorrect after converting PDF to Word.
Bug SPIREPDF-4146 Fixes the issue that the content was missing after converting PDF to Word.
Bug SPIREPDF-4324 Fixes the issue that the application threw the error "Value cannot be null" when converting PDF to PDFA1A.
Bug SPIREPDF-4342 Fixes the issue that an image was missing after converting PDF to PDFA1A/PDFA1B.
Bug SPIREPDF-4358 Fixes the issue that the application threw the error "NullPointerExcetion" when replacing fonts in  PDF files.
Bug SPIREPDF-4359 Fixes the issue that the application threw the error "type is not supported" when replacing fonts in PDF files.
Bug SPIREPDF-4464 Fixes the issue that the output file name was incorrect after converting PDF to HTML.
Bug SPIREPDF-4473 Fixes the issue that the generated file did not conform to the standard of PDFA1B after converting PDF to PDFA1B.
Bug SPIREPDF-4478 Fixes the issue that an error prompted when opening the result file after adding digital signatures to PDF.
Bug SPIREPDF-4486 Fixes the issue that the it returned null when getting the locale after finding text.
Bug SPIREPDF-4493 Fixes the issue that the barcode added to PDF couldn't be recognized.
Bug SPIREPDF-4522 Fixes the issue that the application threw the error "NullPointerExcetion" when converting PDF to PDFA1A.
Bug SPIREPDF-4527 Fixes the issue that the signing time was incorrect when opening the result file in Foxit Reader after adding digital signatures.
Bug SPIREPDF-4530 Fixes the issue that the application threw the error "type is not supported" when getting the used fonts.
Bug SPIREPDF-4542 Fixes the issue that the application threw the error "IllegalArgumentExcep" when drawing the grid.

Spire.XLS for Java

Category ID Description
New feature SPIREXLS-3358 Supports hiding all items for pivot table field.
PivotField pivotField = (PivotField) pivotTable.getPivotFields().get("Product");
pivotField.hideAllItem(true);
Bug SPIREXLS-3347 Fixes the issue that the font was incorrect after converting Excel to PDF.
Bug SPIREXLS-3376 Fixes the issue that the content was incorrect after converting Excel to PDF.
Bug SPIREXLS-3381 Fixes the issue that it couldn't add multiple CalculatedFields to pivot table.
Bug SPIREXLS-3384 Fixes the issue that the application threw the error "parent type is error" when getting the CalculatedFields.
Bug SPIREXLS-3385 Fixes the issue that the application threw the error "DocPropsCustom root element eror" when loading the Excel file.
Bug SPIREXLS-3396 Fixes the issue that the application threw the error "Ivalid LegendPositionType string val" when loading Excel files.
Bug SPIREXLS-3398 Fixes the issue that the link address was incorrect after converting Excel to HTML.
Bug SPIREXLS-3412 Fixes the issue that the application threw the error "Index is less than 0 or more than or equal to the list count." when converting Excel to PDF.
Bug SPIREXLS-3264 Fixes the issue that the content was scaled after converting XLSX to PDF and then printing.
Bug SPIREXLS-3306 Fixes the issue that the row height was incorrect after converting XLSX to PDF.
Bug SPIREXLS-3321 Fixes the issue that the application threw the error "StringIndexOutOfBoundsException" when adding Html strings.
Bug SPIREXLS-3332 Fixes the issue that the application threw the error "Invalid pivot table data source" when converting XLSX to PDF.

Spire.Presentation for Java

Category ID Description
Bug SPIREPPT-1633 Fixes the issue that an error prompted when opening the result file after adding comments to PPTX files.
Bug SPIREPPT-1634 Fixes the issue that the added bullet char was incorrect.