Browse our Products

Aspose.PDF for Java 25.7 Release Notes

Improvements and Changes

KeySummaryCategory
PDFJAVA-45201Implement PDF ChatGPT PluginNew Feature
PDFJAVA-43955Unable to convert HTML to PDF when there is CSS scriptBug
PDFJAVA-45038Wrong convert PDF to png (result dark page)Bug
PDFJAVA-45146IndexOutOfBoundsException occurs in TextDefaults in threadsBug
PDFJAVA-44778Regression: Redacting PDF produces the corrupted fileBug
PDFJAVA-44940Line dash style ignored when importing XFDFBug
PDFJAVA-45143PDF to DOCX: Headers and footers appear in the middle of the pageBug
PDFJAVA-45138PDF to DOCX – Word is incorrectly split by an extra spaceBug
PDFJAVA-45151Empty FileName in the document object for some casesBug
PDFJAVA-45222Each subsequent iteration slows down the opening of the HTML documentBug
PDFJAVA-45144The size of the output PDF file is 0 bytes after signing incorrectlyBug
PDFJAVA-45150FileName is empty after save the documentBug
PDFJAVA-45149HIncorrect FileName value for the documentTMLBug
PDFJAVA-44601NullReferenceException is thrown by the API while searching textBug
PDFJAVA-45194During HTML to PNG conversion using the System.Drawing library, the circle is displaced and ends up overlapping the textBug
PDFJAVA-44924Regression: Document saving time degradationBug
PDFJAVA-45047PDF to DOCX: Large gap between text and imageBug
PDFJAVA-44787PDF to DOCX: Misaligned content in outputBug
PDFJAVA-45202PDF to DOCX - Font size is incorrectBug
PDFJAVA-42421PDF to DOCX: Recognize numbered listsBug
PDFJAVA-45100PDF to DOCX: Text line split into four partsBug

Public API and Backwards Incompatible Changes

Added new methods:

  • com.aspose.pdf.comparison.diff.DiffUtils.findCommonEndParts(String,String,int)
  • com.aspose.pdf.devices.ImageDevice.getBitmap(Page)
  • com.aspose.pdf.facades.DocumentPrivilege.getValue()
  • com.aspose.pdf.Operator.createFromCommandName(int,ICommand)
  • com.aspose.pdf.operators.DP.setPropertiesDictionary(Dictionary<String, CommandParameter>)
  • com.aspose.pdf.TextReplaceOptions.getRectangle()
  • com.aspose.pdf.TextReplaceOptions.setRectangle(Rectangle)
  • com.aspose.pdf.TextReplaceOptions.getFontSizeAdjustmentAction()
  • com.aspose.pdf.TextReplaceOptions.setFontSizeAdjustmentAction(FontSizeAdjustment)

Deleted outdated methods:

  • com.aspose.pdf.comparison.diff.DiffUtils.findCommonEndParts(String,String)
  • com.aspose.pdf.Operator.reset()
  • com.aspose.pdf.operators.BDC.getPropertiesDictionary()
  • com.aspose.pdf.operators.BDC.getPropertiesName()
  • com.aspose.pdf.operators.BMC.toCommand()

Added new constructors:

  • com.aspose.pdf.Document.#ctor(java.io.InputStream,CertificateEncryptionOptions)
  • com.aspose.pdf.Document.#ctor(java.io.InputStream,CertificateEncryptionOptions,boolean)
  • com.aspose.pdf.Document.#ctor(String,CertificateEncryptionOptions)
  • com.aspose.pdf.Document.#ctor(String,CertificateEncryptionOptions,boolean)
  • com.aspose.pdf.facades.BDCProperties.#ctor(CommandParameter)
  • com.aspose.pdf.facades.BDCProperties.#ctor(Nullable<Integer>,String)
  • com.aspose.pdf.facades.BDCProperties.#ctor(Nullable<Integer>,String,String)
  • com.aspose.pdf.operators.BDC.#ctor(String,CommandParameter)
  • com.aspose.pdf.operators.DP.#ctor(String,Dictionary<String, CommandParameter>)

Deleted outdated constructors:

  • com.aspose.pdf.facades.BDCProperties.#ctor(Integer[])

Added new classes:

  • com.aspose.pdf.plugins.ofd.Ofd
  • com.aspose.pdf.plugins.pdfchatgpt.models.ChatCompletion
  • com.aspose.pdf.plugins.pdfchatgpt.models.ChatRequest
  • com.aspose.pdf.plugins.pdfchatgpt.models.Choice
  • com.aspose.pdf.plugins.pdfchatgpt.models.Message
  • com.aspose.pdf.plugins.pdfchatgpt.models.Role
  • com.aspose.pdf.plugins.pdfchatgpt.models.Usage
  • com.aspose.pdf.plugins.pdfchatgpt.PdfChatGpt
  • com.aspose.pdf.plugins.pdfchatgpt.PdfChatGptConsts
  • com.aspose.pdf.plugins.pdfchatgpt.PdfChatGptOptions
  • com.aspose.pdf.plugins.pdfchatgpt.PdfChatGptRequestOptions
  • com.aspose.pdf.TextReplaceOptions.ReplaceAdjustment

Added new fields:

  • com.aspose.pdf.plugins.Plugin.Ofd
  • com.aspose.pdf.plugins.Plugin.PdfChatGpt

Refactored class com.aspose.pdf.TextReplaceOptions.ReplaceAdjustment to work with binary operations