Spire.PDF for Java 4.11.1 supports converting PDF to images with transparent background
2021-11-04 09:52:38
We are pleased to announce the release of Spire.PDF for Java 4.11.1. This version supports converting PDF to images with transparent background, and enhances the conversion from PDF to Word. In addition, it fixes the issue that setting cell newlines did not work. More details are listed below. Here is a list of changes made in this release Category ID Description New feature SPIREPDF-4734 Supports converting PDF to images with transparent background. PdfDocument doc = new PdfDocument(); doc.loadFromFile("input.pdf"); doc.getConvertOptions().setPdfToImageOptions(0); BufferedImage image = doc.saveAsImage(0); Bug SPIREPDF-3907 Fixes the issue that the content was truncated when converting PDF to Word Bug SPIREPDF-4113…
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…
Spire.PDF for Java 4.10.2 supports extracting tables from PDF files
2021-10-20 01:56:00
We are happy to announce the release of Spire.PDF for Java 4.10.2. This version supports extracting tables from PDF files, as well as enhances the conversions from PDF to Excel/PDFA2A. In addition, it also fixes the issue occurred in the course of deleting the value of the "keyword" property. More details are listed below. Here is a list of changes made in this release Category ID Description New feature - Supports extracting tables from PDF files. PdfDocument pdf = new PdfDocument(); pdf.loadFromFile(inputFile); StringBuilder builder = new StringBuilder(); //Extract the table PdfTableExtractor extractor = new PdfTableExtractor(pdf); PdfTable[] tableLists = null; for…