Browse our Products

Aspose.PDF for Java 25.2 Release Notes

Improvements and Changes

KeySummaryCategory
PDFJAVA-44475Get ascent and descent of a text given font and size with Aspose.PDFNew Feature
PDFJAVA-44702Unable to sign PDF document with DSA certificateNew Feature
PDFJAVA-38845Center align output HTMLNew Feature
PDFJAVA-44703Support signing PDF documents using ECDSANew Feature
PDFJAVA-38480PDF to HTML - content is not full widthNew Feature
PDFJAVA-44767Ability to convert PDF into the PDF/X-4 file formatNew Feature
PDFJAVA-44478Empty page count issueEnhancement
PDFJAVA-44768Ability to verify digital signatures with the same namesEnhancement
PDFJAVA-44769Possibility of adding a TextBoxField with several widget annotationsEnhancement
PDFJAVA-44772Ability to edit values in the ExtGState subdictionary of the resource dictionaryEnhancement
PDFJAVA-44713Regression: Incorrect rendering of some languages in EPUB fileBug
PDFJAVA-44303Setting text on textFragment place cuts of the textBug
PDFJAVA-44630PDF to PDF/A conversion: NullPointerException occursBug
PDFJAVA-44626Problems while resizing pagesBug
PDFJAVA-44625Problems while resizing pagesBug
PDFJAVA-39796Exception when load htmlBug
PDFJAVA-37026SVG to PDF - incomplete rendering of the iconBug
PDFJAVA-43613Document.save() hangs if HtmlFragment contains base64 imageBug
PDFJAVA-44322Aspose.PDF hangs when converting HTML to PDF with base64 encoded imgBug
PDFJAVA-36883Bookmarks missing after PDF file concatenationBug
PDFJAVA-44627ExceptionInInitializerError with HeadlessException on Aspose.PDF 24.12 in CI EnvironmentBug
PDFJAVA-44533PDF to DOCX - error in UbuntuBug
PDFJAVA-35424PDF/A file is not properly being validatedBug
PDFJAVA-39903Content missing in generated HTMLBug
PDFJAVA-34687PDF to DOCX - Hyperlinks are missing in resultant fileBug
PDFJAVA-43192Issues with text formatting and line breaksBug

Public API and Backwards Incompatible Changes

Added new classes:

  • com.aspose.pdf.dataeditor.CosPdfDictionary
  • com.aspose.pdf.exceptions.ConvertException
  • com.aspose.pdf.exceptions.SignatureLengthMismatchException
  • com.aspose.pdf.facades.SignatureName

Added new methods:

  • com.aspose.pdf.dataeditor.CosPdfPrimitive.toCosPdfDictionary()
  • com.aspose.pdf.dataeditor.ICosPdfPrimitive.toCosPdfDictionary()
  • com.aspose.pdf.EpubLoadOptions.getEngineType()
  • com.aspose.pdf.EpubLoadOptions.setEngineType(EngineType)
  • com.aspose.pdf.facades.PdfFileSignature.getSignatureNames()
  • com.aspose.pdf.facades.PdfFileSignature.getSignatureNames(boolean)
  • com.aspose.pdf.facades.PdfFileSignature.coversWholeDocument(SignatureName)
  • com.aspose.pdf.facades.PdfFileSignature.getRevision(SignatureName)
  • com.aspose.pdf.facades.PdfFileSignature.removeSignature(SignatureName)
  • com.aspose.pdf.facades.PdfFileSignature.removeSignature(SignatureName,boolean)
  • com.aspose.pdf.facades.PdfFileSignature.getSignerName(SignatureName)
  • com.aspose.pdf.facades.PdfFileSignature.getDateTime(SignatureName)
  • com.aspose.pdf.facades.PdfFileSignature.getReason(SignatureName)
  • com.aspose.pdf.facades.PdfFileSignature.getLocation(SignatureName)
  • com.aspose.pdf.facades.PdfFileSignature.getContactInfo(SignatureName)
  • com.aspose.pdf.facades.PdfFileSignature.verifySignature(SignatureName)
  • com.aspose.pdf.facades.PdfFileSignature.verifySignature(SignatureName,ValidationOptions,ValidationResult[])
  • com.aspose.pdf.facades.PdfFileSignature.extractImage(SignatureName)
  • com.aspose.pdf.facades.PdfFileSignature.extractCertificate(SignatureName)
  • com.aspose.pdf.Font.getAscentPoint(String,float)
  • com.aspose.pdf.Font.getDescentPoint(String,float)
  • com.aspose.pdf.HtmlSaveOptions.getFlowLayoutParagraphFullWidth()
  • com.aspose.pdf.HtmlSaveOptions.setFlowLayoutParagraphFullWidth(boolean)
  • com.aspose.pdf.ImageStamp.getXIndent()
  • com.aspose.pdf.ImageStamp.setXIndent(double)
  • com.aspose.pdf.ImageStamp.getYIndent()
  • com.aspose.pdf.ImageStamp.setYIndent(double)
  • com.aspose.pdf.Page.isBlank(double,boolean)
  • com.aspose.pdf.Signature.isAvoidEstimatingSignatureLength()
  • com.aspose.pdf.Signature.setAvoidEstimatingSignatureLength(boolean)
  • com.aspose.pdf.Signature.getDefaultSignatureLength()
  • com.aspose.pdf.Signature.setDefaultSignatureLength(int)

Added new constructors:

  • com.aspose.pdf.dataeditor.DictionaryEditor.#ctor(Resources)
  • com.aspose.pdf.TextBoxField.#ctor(Page,Rectangle[])

Marked the following methods as deprecated:

  • com.aspose.pdf.facades.PdfFileSignature.getSignNames(boolean)
  • com.aspose.pdf.facades.PdfFileSignature.getBlankSignNames()
  • com.aspose.pdf.facades.PdfFileSignature.isCoversWholeDocument(String)
  • com.aspose.pdf.facades.PdfFileSignature.coversWholeDocument(String)
  • com.aspose.pdf.facades.PdfFileSignature.getRevision(String)
  • com.aspose.pdf.facades.PdfFileSignature.removeSignature(String)
  • com.aspose.pdf.facades.PdfFileSignature.removeSignature(String,boolean)
  • com.aspose.pdf.facades.PdfFileSignature.getSignerName(String)
  • com.aspose.pdf.facades.PdfFileSignature.getDateTime(String)
  • com.aspose.pdf.facades.PdfFileSignature.getReason(String)
  • com.aspose.pdf.facades.PdfFileSignature.getLocation(String)
  • com.aspose.pdf.facades.PdfFileSignature.getContactInfo(String)
  • com.aspose.pdf.facades.PdfFileSignature.verifySignature(String)
  • com.aspose.pdf.facades.PdfFileSignature.verifySignature(String,ValidationOptions,ValidationResult[])
  • com.aspose.pdf.facades.PdfFileSignature.extractImage(String)

Marked the following constuctor as deprecated:

  • com.aspose.pdf.CheckboxField.#ctor()