Spire.Office for Java 4.9.5 is released

2021-09-29 02:15:00

We are glad to announce the release of Spire.Office 4.9.5 for Java. This version brings some new features. For instance, Spire.PDF for Java supports setting padding for grid cells; Spire.Presentation enhances the conversion from PowerPoint to PDF. In addition, a lot of bugs have been successfully fixed. More details are listed as follows.

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

Here is a list of changes made in this release

Spire.PDF for Java

Category ID Description
New feature SPIREPDF-4568 Supports setting padding for grid cells.
PdfGridCell pdfGridCell = grid.getRows().get(1).getCells().get(0);
pdfGridCell.getStyle().setCellPadding(new PdfPaddings(10,10,10,10));
Bug SPIREPDF-3855 Fixes the issue that the content was missing after converting PDF to Word.
Bug SPIREPDF-4548 Fixes the issue that the stamp was missing after converting PDF to HTML.
Bug SPIREPDF-4554 Fixes the issue that the images were missing after converting PDF to PDFA1A.
Bug SPIREPDF-4591 Fixes the issue that the application threw the error "NullPointerException" when loading the file.
Bug SPIREPDF-4605 Fixes the issue that setting the transparent color did not take effect.
Bug SPIREPDF-4595 Fixes the issue that the inserted image was not displayed correctly.
Bug SPIREPDF-4608 Fixes the issue that setting the vertical alignment of grid cell text to center did not take effect.
Bug SPIREPDF-4618 Fixes the issue that the application threw the error "NullPointerException" when getting the PDF pages.
Bug SPIREPDF-4656 Fixes the issue that the application threw the error "NullPointerException" when setting the JavaScript action of the PDF.

Spire.Presentation for Java

Category ID Description
Bug SPIREPPT-1650 Fixes the issue that it failed to load PPT files with password.
Bug SPIREPPT-1655 Optimizes the time for converting the PPT file to the PDF.
Bug SPIREPPT-1664 Fixes the issue that the shape of the insert image was changed after replacing placeholders with a picture.
Bug SPIREPPT-1669 Fixes the issue that the background picture of the generated file disappeared after converting PPT to PDF.
Bug SPIREPPT-1670 Fixes the issue that the paragraph space was changed after converting PPT to PDF.
Bug SPIREPPT-1672 Fixes the issue that the generated chart was wrong after converting PPT to PDF.