Browse our Products

Aspose.PDF for Java 24.11 Release Notes

Improvements and Changes

KeySummaryCategory
PDFJAVA-43543Converting a file to format PdfFormat.PDF_A_3B increase the sizeEnhancement
PDFJAVA-39791Display of annotation in present as crossed rectangle - Mac OSBug
PDFJAVA-42167PDF to PDF/A: File size increasedBug
PDFJAVA-44163Resized output file cannot be opened via Adobe AcrobatBug
PDFJAVA-44116PDF to PNG - Operation is not valid due to the current state of the objectBug
PDFJAVA-42336PDF resizing sometimes leads to empty pagesBug
PDFJAVA-44195Error while converting pdf page to markdownBug
PDFJAVA-39001Table column heading alignment problemBug
PDFJAVA-35563HTML to PDF results incomplete textBug
PDFJAVA-40556Line break occurs between words after HTML to PDF conversionBug
PDFJAVA-44454PDF to DOCX: Table header is split into four lines during conversionBug
PDFJAVA-39000Extra space during HTML to PDFBug
PDFJAVA-37637Incorrect text after HTML to PDF conversionBug
PDFJAVA-35023HTML to PDF - Incorrect contents renderingBug
PDFJAVA-44389PDF to DOCX: Underline formatting is not recognizedBug
PDFJAVA-38019Problem with Hyperlinks during PDF to HTMLBug
PDFJAVA-43495java.lang.NoClassDefFoundError when converting html to pdf with wrong img src - Java 17Bug
PDFJAVA-37236HTML to PDF - the Hebrew text is being written in Left-to-WriteBug
PDFJAVA-44537PDF to DOCX: Part of the content is moved to the next page.Bug
PDFJAVA-43972Extracting several pages from document will add unreadable faded characters in generated documentBug
PDFJAVA-36516Compliance problems with PDF/A_3U after conversionBug
PDFJAVA-44276PDF to HTML: “Value cannot be null” exception raisedBug
PDFJAVA-40998HighlightAnnotation misalignmentBug
PDFJAVA-43572Html to Pdf Transformation Failing - JDK 17Bug
PDFJAVA-43966Issue converting PDF to PDF/A_2BBug

Public API and Backwards Incompatible Changes

Added new classes:

  • com.aspose.pdf.CryptographicStandard
  • com.aspose.pdf.RegexManager

Added new constructors:

  • com.aspose.pdf.ExternalSignature.ctor(X509Certificate2, DigestHashAlgorithm)
  • com.aspose.pdf.ExternalSignature.ctor(String,DigestHashAlgorithm)
  • com.aspose.pdf.PKCS7Detached.ctor(java.io.InputStream,DigestHashAlgorithm)
  • com.aspose.pdf.PKCS7Detached.ctor(String,String,DigestHashAlgorithm)
  • com.aspose.pdf.PKCS7Detached.ctor(DigestHashAlgorithm)
  • com.aspose.pdf.facades.PdfFileSignature.getSignaturesInfo()
  • com.aspose.pdf.GraphInfo.getX()
  • com.aspose.pdf.GraphInfo.getY()
  • com.aspose.pdf.Signature.getSignatureAlgorithmInfo()
  • com.aspose.pdf.SignHash.invoke(byte[],DigestHashAlgorithm)
  • com.aspose.pdf.tagged.logicalstructure.elements.Element.appendChild(Element,boolean)
  • com.aspose.pdf.tagged.logicalstructure.elements.Element.insertChild(Element,int,boolean)
  • com.aspose.pdf.tagged.logicalstructure.elements.StructureElement.changeParentElement(StructureElement,boolean)
  • com.aspose.pdf.tagged.logicalstructure.elements.StructureElement.removeAndMoveItsChildObjectsToItsParent

Added new methods:

  • com.aspose.pdf.facades.PdfFileSignature.getSignaturesInfo()
  • com.aspose.pdf.GraphInfo.getX()
  • com.aspose.pdf.GraphInfo.getY()
  • com.aspose.pdf.Signature.getSignatureAlgorithmInfo()
  • com.aspose.pdf.SignHash.invoke(byte[],DigestHashAlgorithm)
  • com.aspose.pdf.tagged.logicalstructure.elements.Element.appendChild(Element,boolean)
  • com.aspose.pdf.tagged.logicalstructure.elements.Element.insertChild(Element,int,boolean)
  • com.aspose.pdf.tagged.logicalstructure.elements.StructureElement.changeParentElement(StructureElement,boolean)
  • com.aspose.pdf.tagged.logicalstructure.elements.StructureElement.removeAndMoveItsChildObjectsToItsParent

Removed outdated methods:

  • com.aspose.pdf.operators.CurveTo.getPoints()
  • com.aspose.pdf.optimization.OptimizationOptions.setLinkDuplicateStreams(boolean)
  • com.aspose.pdf.optimization.OptimizationOptions.isLinkDuplicateStreams()
  • com.aspose.pdf.optimization.OptimizationOptions.isAllowReusePageContent()
  • com.aspose.pdf.Page.addImage(InputStream,Rectangle,Rectangle,CompositingParameters,boolean)

Marked as Deprecated:

  • com.aspose.pdf.optimization.OptimizationOptions.setLinkDuplcateStreams(boolean)
  • com.aspose.pdf.optimization.OptimizationOptions.getLinkDuplcateStreams()

Renamed methods:

  • com.aspose.pdf.optimization.OptimizationOptions.getAllowReusePageContent() to isAllowReusePageContent()
  • com.aspose.pdf.optimization.OptimizationOptions.getRemoveUnusedStreams() to isRemoveUnusedStreams()
  • com.aspose.pdf.optimization.OptimizationOptions.getRemoveUnusedObjects() to isRemoveUnusedObjects()
  • com.aspose.pdf.optimization.OptimizationOptions.getCompressImages() to isCompressImages()
  • com.aspose.pdf.optimization.OptimizationOptions.getResizeImages() to isResizeImages()
  • com.aspose.pdf.optimization.OptimizationOptions.getUnembedFonts() to isUnembedFonts()
  • com.aspose.pdf.optimization.OptimizationOptions.getSubsetFonts() to isSubsetFonts()
  • com.aspose.pdf.optimization.OptimizationOptions.getRemovePrivateInfo() to isRemovePrivateInfo()

Added new fields:

  • com.aspose.pdf.operators.CurveTo.X1
  • com.aspose.pdf.operators.CurveTo.Y1
  • com.aspose.pdf.operators.CurveTo.X2
  • com.aspose.pdf.operators.CurveTo.Y2
  • com.aspose.pdf.operators.CurveTo.X3
  • com.aspose.pdf.operators.CurveTo.Y3

Replaced method:

  • com.aspose.pdf.ExternalSignature.getCertificate with public field com.aspose.pdf.ExternalSignature#Certificate