We're pleased to announce the release of Spire.PDF for Java 10.4.4. This version supports getting the keyword font names and sizes, and also fixes the issue that the converted PDFA2B file did not pass validation. More details are listed below. Here is a list of changes made in this release Category ID Description New feature SPIREPDF-6243SPIREPDF-6638 Supports getting the keyword font names and sizes. PdfDocument pdf = new PdfDocument(); pdf.loadFromFile(inputFile); PdfPageBase page = pdf.getPages().get(0); PdfTextFinder finds = new PdfTextFinder(page); finds.getOptions().setTextFindParameter(EnumSet.of(TextFindParameter.IgnoreCase)); List<PdfTextFragment> result = finds.findAllText(page); StringBuilder str = new StringBuilder(); for (PdfTextFragment find : result) { str.append("FontName:"+find.getTextStates()[0].getFontName()); str.append("FontSize:"+find.getTextStates()[0].getFontSize()); str.append("FontFamily:"+find.getTextStates()[0].getFontFamily()); str.append("Bold:"+find.getTextStates()[0].isBold()); str.append("Italic:"+find.getTextStates()[0].isItalic());…
We are delighted to announce the release of Spire.PDF for Java 10.3.4. This version adds the PdfTextReplacer class to replace PDF text and supports adding InkAnnotation to PDF. Besides, it also optimizes the PDF digital signature time to match the system local time. More details are listed below. Here is a list of changes made in this release Category ID Description New feature SPIREPDF-4354 Adds the PdfTextReplacer class to replace PDF text. PdfDocument doc = new PdfDocument(); doc.loadFromFile("Input.pdf"); PdfPageBase page = doc.getPages().get(0); PdfTextReplacer textReplacer = new PdfTextReplacer(page); textReplacer.replaceAllText("old", "NEW"); doc.saveToFile("output.pdf"); doc.dispose(); New feature SPIREPDF-6591 Supports adding InkAnnotation to PDF. PdfDocument…
We are delighted to announce the release of Spire.PDF for Java 10.3.1. This version enhances the conversion from OFD to PDF. Besides, it fixes some known issues, such as the issue that it threw "StackOverflow" exception when using setRowSpan() twice. More details are listed below. Here is a list of changes made in this release Category ID Description Bug SPIREPDF-6548 Fixes the issue that the PDF type obtained by using pdfDocument.getConformance() was incorrect. Bug SPIREPDF-6554 Fixes the issue that it threw "StackOverflow" exception when using setRowSpan() twice. Bug SPIREPDF-6581 Fixes the issue that content was lost after converting OFD to…
We are delighted to announce the release of Spire.PDF for Java 10.2.6. This version fixes many known issues, such as the issue that the result of signature verification was incorrect. More details are listed below. Here is a list of changes made in this release Category ID Description Bug SPIREPDF-6523 Fixes the issue that the program threw java.lang.NullPointerException exception when creating a template for the first page. Bug SPIREPDF-6527 Fixes the issue that compression of PDF documents did not work. Bug SPIREPDF-6534 Fixes the issue that the program threw java.lang.NullPointerException when comparing documents. Bug SPIREPDF-6535 Fixes the issue that the…
We're glad to announce the release of Spire.PDF for Java 10.2.0. In this version, some known issues have been fixed, such as the issue that the creation time obtained from a PDF document was wrong, and the issue that redrawing extracted images to a page failed. More details are listed below. Here is a list of changes made in this release Category ID Description Bug SPIREPDF-6465 Fixes the issue that the creation time obtained from a PDF document was wrong. Bug SPIREPDF-6503 Fixes the issue that redrawing extracted images to a page failed Bug SPIREPDF-6504 Fixes the issue that the…
We are pleased to announce the release of Spire.PDF for Java 10.1.9. This version adds two new methods for decrypting PDFs. The conversion from PDF to images, XLSX and OFD to PDF has also been enhanced. Besides, some known issues are fixed successfully in this version, such as the issue that the content was garbled after replacing text. More details are listed below. Here is a list of changes made in this release Category ID Description New feature SPIREPDF-6479 Adds two new methods for decrypting PDFs. PdfDocument pdf1 =new PdfDocument(); pdf1.loadFromFile("input.pdf"); pdf1.decrypt(); pdf1.saveToFile("output.pdf"); PdfDocument pdf2 =new PdfDocument(); pdf2.loadFromFile("input.pdf"); pdf2.decrypt(ownerPassword); pdf2.saveToFile("output.pdf");…
We are excited to announce the release of Spire.PDF for Android via Java 10.1.1. This version supports converting PDF documents to SVGZ documents and comparing PDF documents. More details are listed below. Here is a list of changes made in this release Category ID Description New feature - Supports comparing PDF documents. PdfDocument pdf1 = new PdfDocument(inputFile_1); PdfDocument pdf2 = new PdfDocument(inputFile_2); PdfComparer compare = new PdfComparer(pdf1, pdf2); compare.getOptions().setPageRanges(0, pdf1.getPages().getCount() - 1, 0, pdf2.getPages().getCount() - 1); compare.compare(outputFile); New feature - Supports converting PDF documents to SVGZ documents. PdfDocument pdf = new PdfDocument(inputFile); pdf.saveToFile(outputFile, FileFormat.SVGZ); Click the link below to get…
We are delighted to announce the release of Spire.PDF for Java 10.1.5. This version fixes the issue that no resulting documents were generated after performing batch text replacement on multiple PDF documents under multi-threading. More details are listed below. Here is a list of changes made in this release Category ID Description Bug SPIREPDF-6484 Fixes the issue that no resulting documents were generated after performing batch text replacement on multiple PDF documents under multi-threading. Click the link below to download Spire.PDF for Java 10.1.5: https://www.e-iceblue.com/Download/pdf-for-java.html
Page 2 of 8
page 2