We are happy to announce the release of Spire.PDF for Java 4.12.1. This version supports converting PDF to linearized PDF, and supports that the text of cell is not wrapped when converting PDF to Excel file.Besides, it enhances the conversion from PDF to OFD, PDF to PDFA. In addition, it fixes some known issues such as the image content was incorrect after compressing the images in PDF file. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New feature | SPIREPDF-4781 | Supports that the text of cell is not wrapped when converting PDF to Excel file
//The fourth parameter controls whether the text is wrapped doc.getConvertOptions().setPdfToXlsxOptions(new XlsxLineLayoutOptions(false, false, false, false)); |
| New feature | - | Supports converting PDF to linearized PDF.
PdfToLinearizedPdfConverter converter = new PdfToLinearizedPdfConverter(inputPath); converter.toLinearizedPdf(OutputPath); |
| Bug | SPIREPDF-4760 | Fixes the issue that the application threw an error "java.lang.NullPointerException" when copying page content |
| Bug | SPIREPDF-4770 | Fixes the issue that the application threw an error "java.lang.ClassCastException" when copying page content |
| Bug | SPIREPDF-4771 | Fixes the issue that the application threw an error "java.lang.NullPointerException" when converting to PDFA file |
| Bug | SPIREPDF-4774 | Fixes the issue that converting PDF to OFD stream failed |
| Bug | SPIREPDF-4789 | Fixes the issue that the image content was incorrect after compressing the images in PDF file |
| Bug | SPIREPDF-4794 | Fixes the issue that there was extra space on the right side of the converted OFD document page |
Click the link below to download Spire.PDF for Java 4.12.1: