Aspose.Pdf for Java 11.7.0 Release Notes

Features and Improvements

KeySummaryCategory
PDFNEWJAVA-34913PDF to PNG - conversion process takes too much timeEnhancement
PDFNEWJAVA-34818PDF to HTML - Lines width issuesBug
PDFNEWJAVA-34957HTML to PDF results into incorrect outputBug
PDFNEWJAVA-35583PDF to PDF/A_3a - Resultant file is not PDFA compliantBug
PDFNEWJAVA-35729PDF to PDF/A - Resultant file is not PDFA compliantBug
PDFNEWJAVA-34396HTML to PDF - Formatting issues in resultant fileBug
PDFNEWJAVA-35224PDF to HTML - Exception during conversion processBug
PDFNEWJAVA-35329API throws NullPointerException upon page copyBug
PDFNEWJAVA-35510PDF to DOC - Blank page being appended and contents in footer are missingBug
PDFNEWJAVA-35564PDF to PDFA conversion throws internal ExceptionBug
PDFNEWJAVA-35608SVG to PDF - SVG image is not appearing in PDF fileBug
PDFNEWJAVA-35641PDF to DOCX - Field value appears in subsequent lineBug
PDFNEWJAVA-35736HTMl to PDF - Exception during conversionBug
PDFNEWJAVA-35765HTML to PDF: formatting issueBug
PDFNEWJAVA-35602PDF to DOCX - Contents are not appearing properlyBug
PDFNEWJAVA-35776PDF to HTML: extra white lines on background - regressionBug
PDFNEWJAVA-34531Exception while loading PDF file in multiple threadsBug
PDFNEWJAVA-35257PDF to PDFA2a - compliance failureBug
PDFNEWJAVA-35264PDF to PDFA3a - conversion fails complianceBug
PDFNEWJAVA-35631HTML to PDF - Page contents are overlapping eachotherBug
PDFNEWJAVA-35822PDF to PDF/A - Header in Resultant file gets corruptedBug
PDFNEWJAVA-35805Redaction throws NullPointer ExceptionBug
PDFNEWJAVA-34859HTML to PDF is not working in multithreadingBug
PDFNEWJAVA-35565Exception during PDF printingBug
PDFNEWJAVA-35330PDF to HTML: some text is missing in resultant HTMLBug
PDFNEWJAVA-35520PDF to PDFA2b: Text overlapping and spacing issueBug
PDFJAVA-35948PDF to PDFA1b: resultant PDFA document failing the complianceBug
PDFJAVA-35875HTML to PDF: incorrect text positionBug
PDFJAVA-35882PDF to DOCX - Tab indent is being ignoredBug

Public API Changes

Changes in class com.aspose.pdf.PdfAction: moved method:

  • public void execute(IDocument document)

Changes in class com.aspose.pdf.ExplicitDestination: moved method:

  • com.aspose.pdf.ExplicitDestination.createDestination(com.aspose.pdf.Document,int,int,double[])

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

  • public static XYZExplicitDestination createDestination(Page page, double left, double top, double zoom, boolean considerRotation)
  • public static XYZExplicitDestination createDestinationToUpperLeftCorner(Page page, double zoom)
  • public static XYZExplicitDestination createDestinationToUpperLeftCorner(Page page)

Changes in class com.aspose.pdf.ColumnAdjustment: added field:

  • public static final int AutoFitToWindow = 2;

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

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

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.HtmlSaveOptions: added methods:

  • public boolean getUseZOrder()
  • public void setUseZOrder(boolean value)
  • public boolean getConvertMarkedContentToLayers()
  • public void setConvertMarkedContentToLayers(boolean value)
  • public float getMinimalLineWidth()
  • public void setMinimalLineWidth(float value)
  • public boolean getPreventGlyphsGrouping()
  • public void setPreventGlyphsGrouping(boolean value)

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

  • public int getPagesCount()
  • public void setPagesCount(int value)

Added new class com.aspose.pdf.PdfFormatConversionOptions with the following structure:

enum:

  • internal enum class PuaProcessingStrategy with constants (None = 0; SurroundPuaTextWithEmptyActualText = 1;SubstitutePuaSymbols = 2; )
  • internal enum class SegmentAlignStrategy with constants (None = 0; RestoreSegmentBounds = 1; )

constructors:

  • public PdfFormatConversionOptions(/* PdfFormat */int format)
  • public PdfFormatConversionOptions(/* PdfFormat /int format, / ConvertErrorAction */int action)
  • public PdfFormatConversionOptions(OutputStream outputLogStream, /* PdfFormat /int format, / ConvertErrorAction */int action)
  • public PdfFormatConversionOptions(String outputLogFileName, /* PdfFormat */int format)
  • public PdfFormatConversionOptions(String outputLogFileName, /* PdfFormat /int format, / ConvertErrorAction */int action)
  • public PdfFormatConversionOptions(String outputLogFileName, /* PdfFormat /int format, / ConvertErrorAction /int action, / ConvertTransparencyAction*/int transparencyAction)

methods:

  • public boolean getAlignText()
  • public void setAlignText(boolean value)
  • public /* ConvertErrorAction */int getErrorAction()
  • public void setErrorAction(/* ConvertErrorAction */int value)
  • public /* PdfFormat */int getFormat()
  • public void setFormat(/* PdfFormat */int value)
  • public String getLogFileName()
  • public void setLogFileName(String value)
  • public OutputStream getLogStream()
  • public void setLogStream(OutputStream value)
  • public /* PuaProcessingStrategy */int getPuaTextProcessingStrategy()
  • public void setPuaTextProcessingStrategy(/* PuaProcessingStrategy */int value)
  • public /* ConvertTransparencyAction */int getTransparencyAction()
  • public void setTransparencyAction(/* ConvertTransparencyAction */int value)
  • public static PdfFormatConversionOptions getDefault()

field:

  • public /* SegmentAlignStrategy */byte AlignStrategy;