This is the list of changelogs of Spire.PDF for Java New release and hotfix. You can get the detail information of each version's new features and bug solutions.
Download Spire.PDF for Java to start a free trial:
Version: 9.12.0
Category | ID | Description |
Bug | SPIREPDF-6265 | Fixes the issue that the result document was blank when converting PDF to SVG on Linux system. |
Bug | SPIREPDF-6363 | Fixes the issue that the result document didn't meet the standard when converting PDF to PDF/A1B. |
Bug | SPIREPDF-6394 | Fixes the issue that the program threw a "NullPointerException" when converting PDF to SVG. |
Bug | SPIREPDF-6396 | Fixes the issue that the stamps were lost when printing PDF after adding stamps and locking them. |
Bug | SPIREPDF-6401 | Fixes the issue that the content was lost after converting PDF to PDF/A2A. |
Version: 9.11.3
Category | ID | Description |
Bug | SPIREPDF-5830 | Fixes the issue that extracting the contents of tables in PDF failed. |
Bug | SPIREPDF-6315 | Fixes the issue that the content was drawn repeatedly when converting PDF to PPTX on Ubuntu system. |
Bug | SPIREPDF-6323 | Fixes the issue that the program threw "No 'DCWGQU+CambriaMath' font found!" when converting PDF to Word on Linux system. |
Bug | SPIREPDF-6359 | Fixes the issue that the binding direction of the cover was incorrect when creating a booklet. |
Bug | SPIREPDF-6364 | Fixes the issue that the program threw "PDF file structure is not valid" exception when loading PDF. |
Bug | SPIREPDF-6389 | Fixes the issue that the program threw "NullPointerException" when using the appendPage() method to merge PDF documents. |
Version: 9.10.3
Category | ID | Description |
New feature | - | Synchronizes the new encryption and decryption interface to Java, and supports configuring the AES encryption algorithm.
PdfEncryptionAlgorithm.AES //Create password security policies PdfSecurityPolicy securityPolicy = new PdfPasswordSecurityPolicy("", "123456"); //Set AES encryption algorithm securityPolicy.setEncryptionAlgorithm( PdfEncryptionAlgorithm.AES_256); //Set document permissions (ownership), default is ForbidAll. securityPolicy.setDocumentPrivilege(PdfDocumentPrivilege.getForbidAll()); securityPolicy.getDocumentPrivilege().setAllowDegradedPrinting(true); securityPolicy.getDocumentPrivilege().setAllowModifyAnnotations(true); securityPolicy.getDocumentPrivilege().setAllowAssembly(true); securityPolicy.getDocumentPrivilege().setAllowModifyContents(true); securityPolicy.getDocumentPrivilege().setAllowFillFormFields(true); securityPolicy.getDocumentPrivilege().setAllowPrint(true); pdf.encrypt(securityPolicy); PdfDocument pdf = new PdfDocument(); //Pass the open password to open the PDF document pdf.loadFromFile(inputFile, "1234"); //Decrypt pdf.decrypt(); pdf.saveToFile(outputFile, FileFormat.PDF); pdf.dispose(); |
New feature | SPIREPDF-6306 | Supports setting the names of existing fields.
PdfDocument document=new PdfDocument(); document.loadFromFile("input.pdf"); PdfFormWidget formWidget = (PdfFormWidget)document.getForm(); for (int i = 0; i < formWidget.getFieldsWidget().getCount(); i++) { PdfField field = (PdfField)formWidget.getFieldsWidget().get(i); for (PdfFieldWidget widget : (Iterable extends PdfFieldWidget>) formWidget.getFieldsWidget()) { if (widget.getName() == "oldName") { widget.setName("NewName"); } } } document.saveToFile("result.pdf",FileFormat.PDF); |
Bug | SPIREPDF-6253 SPIREPDF-6313 |
Fixes the issue that the background was incorrect after converting PDF to SVG. |
Bug | SPIREPDF-6275 | Fixes the issue that the shape color was incorrect and the content was missing after converting PDF to PPTX. |
Bug | SPIREPDF-6277 | Fixes the issue that images were obstructed after converting PDF to PPTX. |
Bug | SPIREPDF-6300 | Fixes the issue that the standard validation failed after converting PDF to PDFA2B. |
Bug | SPIREPDF-6307 | Fixes the issue that stamps were lost after converting OFD to PDF. |
Bug | SPIREPDF-6324 | Fixes the issue that the program threw "NullPointerException" when loading PDF. |
Version: 9.9.6
Category | ID | Description |
New feature | SPIREPDF-6082 SPIREPDF-6178 SPIREPDF-6220 |
Provides the XlsxSpecialTableLayoutOptions interface to optimize formatting when converting PDF with tables to Excel.
PdfDocument document=new PdfDocument(); document.loadFromFile("input.pdf"); XlsxSpecialTableLayoutOptions options=new XlsxSpecialTableLayoutOptions(false, false, false); document.getConvertOptions().setPdfToXlsxOptions(options); document.saveToFile("output.pdf", FileFormat.XLSX); |
New feature | SPIREPDF-6247 | Supports converting PDF to SVGZ.
document.saveToFile("output.svgz", FileFormat.SVGZ); |
New feature | SPIREPDF-6249 | Synchronized the function of comparing the contents of PDF documents to JAVA.
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); |
Bug | SPIREPDF-6252 | Fixes the issue that the page size is inconsistent after converting PDF to SVG. |
Bug | SPIREPDF-6276 | Fixes the issue that the text is duplicated after converting PDF to PPTX. |
Bug | SPIREPDF-6280 | Fixes the issue that the program threw "PDF file structure is not valid" when loading PDF documents. |
Bug | SPIREPDF-6281 | Fixes the issue that the program threw "NullPointerException" when signing PDF. |
Version: 9.9.2
Category | ID | Description |
Bug | SPIREPDF-6241 | Fixes the issue that the characters overlapped when converting OFD to PDF. |
Version: 9.8.6
Category | ID | Description |
Bug | SPIREPDF-6104 | Fixes the issue that some borders of charts were cropped after converting PDF to SVG. |
Bug | SPIREPDF-6133 | Fixes the issue that the cell merge of the same column was incorrect after converting PDF to Excel. |
Bug | SPIREPDF-6209 | Fixes the issue that setting fonts for text boxes didn't take effect. |
Version: 9.7.8
Category | ID | Description |
New feature | SPIREPDF-5843 SPIREPDF-5854 |
Adds a new interface for converting PDF to Word.
PdfToWordConverter converter = new PdfToWordConverter(inputPath); converter.saveToDocx(OutputPath); converter.dispose(); |
New feature | SPIREPDF-6115 | Adds a new interface for setting the "crop box".
PdfDocument pdfDocument = new PdfDocument(); pdfDocument.loadFromFile("input.pdf"); PdfPageBase pdfPageBase = pdfDocument.getPages().get(0); // setting the "crop box". pdfPageBase.setCropBox(new Rectangle2D.Float(0,0,400,800)); pdfDocument.saveToFile("output.pdf", FileFormat.PDF); |
New feature | SPIREPDF-6167 | Adds a new interface for setting margins when printing documents.
PdfDocument pdf = new PdfDocument(); pdf.loadFromFile(inputFile); PrintSettings setting = pdf.getPrintSettings(); pdf.getPrintSettings().setPaperMargins(30,30, 30, 30); setting.setPrinter("Microsoft XPS Document Writer"); pdf.getPrintSettings().printToFile(outputFile); pdf.print(); pdf.close(); |
Bug | SPIREPDF-3556 | Fixes the issue that the chart axis was missing coordinates after converting PDF to Word. |
Bug | SPIREPDF-4980 | Fixes the issue that the content was incorrect after converting PDF to Word using flow layout. |
Bug | SPIREPDF-5047 | Fixes the issue that the font name with multiple suffixes after converting PDF to Word. |
Bug | SPIREPDF-5067 | Fixes the issue that the characters garbled when viewing converted PDF to Word with Office 365. |
Bug | SPIREPDF-6085 | Fixes the issue that the application threw exception: java.lang.NullPointerException when loading a PDF. |
Bug | SPIREPDF-6102 | Fixes the issue that viewing the converted PDFA document would prompt for missing fonts. |
Bug | SPIREPDF-6104 | Fixes the issue that the borders were cropped after converting PDF to SVG. |
Bug | SPIREPDF-6105 | Fixes the issue that the PdfDocument.setCustomFontsFolders() method was not effective when converting PDF to PDFA. |
Bug | SPIREPDF-6112 | Fixes the issue that the application threw excepttion:"PDF file structure is not valid" when loading a PDF. |
Bug | SPIREPDF-6147 SPIREPDF-6175 |
Fixes the issue that the bold font effect was unclear when converting PDF to OFD. |
Bug | SPIREPDF-6154 | Fixes the issue that the application threw exception: "For input string: 'e-'" when merging documents and converting to PDFA1A. |
Bug | SPIREPDF-6187 | Fixes the issue that the application threw NullPointerException when rotating a previously rotated document back to its original position. |
Version: 9.7.0
Category | ID | Description |
New feature | - | Adds the new interface for converting PDF to Word.
PdfToWordConverter converter(inputPath); converter.saveToDocx(OutputPath); converter.dispose(); |
New feature | - | Adds the new method for converting PDF to HTML.
pdfDocument.getConvertOptions().setPdfToHtmlOptions(bool useEmbeddedSvg, bool useEmbeddedImg) pdfDocument.getConvertOptions().setPdfToHtmlOptions(bool useEmbeddedSvg, bool useEmbeddedImg, int maxPageOneFile) |
Bug | SPIREPDF-6008 | Fixes the issue that the font size was changed in PowerPoint documents converted from PDF. |
Bug | SPIREPDF-6035 | Fixes the issue that the setting of the crop frame didn't work. |
Bug | SPIREPDF-6046 | Fixes the issue that the keyword search failed. |
Bug | SPIREPDF-6049 | Fixes the issue that the exception threw "Parameter 'emSize' 0.0 is invalid" when searching keywords. |
Bug | SPIREPDF-6050 | Fixes the issue that the content overlapped when converting PDF to HTML. |
Bug | SPIREPDF-6061 | Fixes the issue that the exception threw "No have this JpegTablesMode" when adding images. |
Bug | SPIREPDF-6073 | Fixes the issue that the content was cropped after converting PDF to images. |
Bug | SPIREPDF-6083 | Fixes the issue that the vertical alignment and bottom alignment of text were incorrect in the grid. |
Version: 9.6.2
Category | ID | Description |
Bug | SPIREPDF-5885 | Fixes the issue that that the added text box was not displayed when the document was opened by WPS tools. |
Bug | SPIREPDF-5966 | Fixes the issue that that the program threw java.lang.ClassCastException when converting OFD to PDF. |
Bug | SPIREPDF-5979 | Fixes the issue that program threw a java.lang.NullPointerException when converting OFD to PDF. |
Bug | SPIREPDF-6015 | Fixes the issue that the data was wrong after converting PDF to Excel. |
Bug | SPIREPDF-6026 | Fixes the issue that the font name was incorrect after converting PDF to Word. |
Version: 9.5.6
Category | ID | Description |
Bug | SPIREPDF-5976 | Fixes the issue that the text was truncated when filling cells. |
Bug | SPIREPDF-5984 | Fixes the issue that the application threw "NullPointerException" when converting OFD to PDF. |