Aspose.Pdf for Java 11.9.0 Release Notes

Features and Improvements

KeySummaryCategory
PDFJAVA-35961Indentation is missing in TOCEnhancement
PDFJAVA-36018Changing image dpi in PDF document distort the imageEnhancement
PDFNEWJAVA-34615PDF to PDF/A - Some images appear as black in resultant fileBug
PDFNEWJAVA-35826PDF to PDF/A - Resultant file is not PDF/A_1a compliantBug
PDFNEWJAVA-35647XFA to standard PDF - Contents are missingBug
PDFNEWJAVA-35787PDF to PDF/A - Exception during conversionBug
PDFNEWJAVA-35299PDF to PNG: incorrect background of some elementsBug
PDFNEWJAVA-35419Unable to read metadataBug
PDFNEWJAVA-35437PDF to PNG: Blue background instead of violetBug
PDFNEWJAVA-34211Nullpointer Exception on some Linux Systems when validating PDF/ABug
PDFNEWJAVA-35278HTML to PDF: Incorrect TextArea’s font size in LinuxBug
PDFNEWJAVA-34995PDF to HTML with embedded resources loses the imageBug
PDFJAVA-36053License Error: The signature is invalidBug

Public API Changes

  • Added default constructor public Color() to the class com.aspose.pdf.Color:
  • The class com.aspose.pdf.Paragraphs becomes implemented Iterable
  • Conversions from Epub format and from/to Latex format are temporarily disabled till the next release.
  • The legacy engine (package aspose.pdf.*) is moved from the build to another jar file (aspose.pdf.legacy-11.9.0.jar) with deleting all the methods bind with it.
  • License and AssemblyConstants classes for the legacy jar were moved into the package: com.aspose.pdf.legacy All the other classes from the package aspose.pdf.* were not changed.

Deleted public void bindPdf(aspose.pdf.Pdf pdf) method from following classes:

  • com.aspose.pdf.facades.Facade;
  • com.aspose.pdf.facades.PdfAnnotationEditor;
  • com.aspose.pdf.facades.PdfBookmarkEditor;
  • com.aspose.pdf.facades.PdfContentEditor;
  • com.aspose.pdf.facades.PdfConverter;
  • com.aspose.pdf.facades.PdfExtractor;
  • com.aspose.pdf.facades.PdfFileSignature;
  • com.aspose.pdf.facades.PdfPageEditor;
  • com.aspose.pdf.facades.PdfXmpMetadata;

Changes in class com.aspose.pdf.facades.Stamp

  • deleted method: public void bindPdf (aspose.pdf.Pdf pdf, int pageNumber)

“LegacyEngine is not supported now”

  • Using com.aspose.pdf.LoadFormat.XML throws the exception ApplicationException with the text: This constant will be completely deleted in the next release.

Changes in class com.aspose.pdf.Document:

  • deleted constuctor: public Document(aspose.pdf.Pdf pdf)

Changes in class com.aspose.pdf.Document.OptimizationOptions:

added methods:

  • public int getMaximumImageDimension()
  • public void setMaximumImageDimension(int dimension)
  • public int getResolution()
  • public void setResolution(int dpi)

Changes in class com.aspose.pdf.DocumentWeb:

  • deleted constructor:public DocumentWeb(aspose.pdf.Pdf pdf)

Changes in class com.aspose.pdf.Annotation:

  • deleted method:public Page getPage() com.aspose.pdf.Paragraphs