Spire.PDF for Java 4.9.5 supports setting padding for grid cells

2021-09-29 02:07:00

Spire.PDF for Java 4.9.5 is released. This version supports setting padding for grid cells, enhances the conversions from PDF to Word/HTML/PDFA1A and also fixes the issue occurred in the process of loading PDF files. More details are listed below.

Here is a list of changes made in this release

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.
Click the link below to download Spire.PDF for Java 4.9.5: