Aspose.Pdf for Java 11.6.0 Release Notes

Features and Improvements

PDFNEWJAVA-34455XPS to PDF conversion slow performance issueEnhancement
PDFNEWJAVA-34324XPS to PDF: throws unknown char exceptionException
PDFNEWJAVA-34427PCL to PDF: Unexpected font parsing exceptionException
PDFNEWJAVA-35060PDF to HTML throws internal exceptionException
PDFNEWJAVA-35280XFA to Static - Exception during conversionException
PDFNEWJAVA-34647Signing PDF document results in incorrect SignaturesBug
PDFNEWJAVA-34971HTML to PDF conversion does not honor horizontal line background colorBug
PDFNEWJAVA-35078Append Html - Page Format ChangesBug
PDFNEWJAVA-35103HTML to PDF: centered image is rendered incorrectlyBug
PDFNEWJAVA-35180HTML to PDF: image is missing in resultant PDF documentBug
PDFNEWJAVA-35446PDF to PDF/A - Output file is blankBug
PDFNEWJAVA-35613Header row styles not continuing on next pageBug
PDFNEWJAVA-35190HTML to conversion throws ClassCastExceptionBug
PDFNEWJAVA-35344XFA to Standard form: Font size and style are incorrectBug
PDFNEWJAVA-35677Multiple HtmlFragments inside table cellBug
PDFNEWJAVA-34930PDF to IMAGE: text is being rendered incorrectlyBug
PDFNEWJAVA-34612PDF is not being converted to PDF/A_1a formatBug
PDFNEWJAVA-35633PDF to PDF/A - Compliance issue and file contents are garbledBug
PDFNEWJAVA-35648XFA to standard PDF - Missing contents and formatting issuesBug
PDFNEWJAVA-35679HOCR text and position is incorrectBug
PDFNEWJAVA-34978PDF Printing - Text is fuzzy in resultant fileBug
PDFNEWJAVA-35527Text is blurred in print outputBug
PDFNEWJAVA-35603PDF to PS - Resultant file is not correctBug

Public API Changes

Added new com.aspose.pdf.ConvertTransparencyAction class with constructor: public XfaParserOptions(Dimension2D pageSize) and methods:

  • public URI getBasePath()
  • public void setBasePath(URI value)
  • public Dimension2D getPageSize()
  • public void setPageSize(Dimension2D value)
  • public boolean getSigned()
  • public void setSigned(boolean value)

Changes in class com.aspose.pdf.TextFormattingMode: added new constant:

  • public static final int MemorySaving = 2;

Changes in class com.aspose.pdf.Table: added methods:

  • public boolean isBordersIncluded()
  • public void setBordersIncluded(boolean value)

Changes in class com.aspose.pdf.PageNumberStamp: added methods:

  • public NumberingStyle int getNumberingStyle()
  • public void setNumberingStyle(NumberingStyle int value)

Changes in class com.aspose.pdf.PdfFileStamp: added methods:

  • public NumberingStyle int getNumberingStyle()
  • public void setNumberingStyle(NumberingStyle int value)

Changes in class com.aspose.pdf.XImageCollection: added methods:

  • public void addWithImageFilterType(InputStream image, ImageFilterType int filterType)
  • public void deleteByIndex(int index)

Changes in class com.aspose.pdf.OperatorCollection: added method:

  • public boolean isFastTextExtractionMode()

Changes in class com.aspose.pdf.LightweightOperatorCollection: added method:

  • public boolean isFastTextExtractionMode()

Changes in class com.aspose.pdf.BaseOperatorCollection: added method:

  • public boolean isFastTextExtractionMode()

Changes in class com.aspose.pdf.devices.DocumentDevice: added method:

  • public void binarizeBradley(InputStream inputImageStream, OutputStream outputImageStream, double threshold)

Changes in class com.aspose.pdf.InvalidCgmFileFormatException:

  • moved to package com.aspose.pdf.exceptions.*

Added new abstract com.aspose.pdf.IColorSpaceConversionStrategy class with method: public void convert(Page page);

Changes in class com.aspose.pdf.Document: added method:

  • public boolean convert(String outputLogFileName, PdfFormat int format, ConvertErrorAction int action, ConvertTransparencyAction int transparencyAction)

Added new enum com.aspose.pdf.ConvertTransparencyAction class with constants:

  • public static final int Default = 0;
  • public static final int Mask = 1;

Changes in class com.aspose.pdf.CompositingParameters: added constructor:

  • public CompositingParameters(BlendMode int blendMode, ImageFilterType int filterType, boolean isMasked) and method:
  • public boolean isMasked()