Aspose.Pdf for Java 16.11.0 Release Notes

Features and Improvements

KeySummaryCategory
PDFNEWJAVA-33745Checking the status of ConcatenationNew Feature
PDFJAVA-36251PDF to Latex: Add languages packages by demand onlyNew Feature
PDFNEWJAVA-34524NullPointerException while creating PrinterSettings object in LinuxException
PDFJAVA-36185PDF to PDFA conversion is throwing EmptyValue Exception in multi-thread Java applicationException
PDFNEWJAVA-34367PDF to PNG - Blurry resultant imageBug
PDFNEWJAVA-35164Issue with PageCollection insert methodBug
PDFNEWJAVA-35304Arabic text is not being center aligned in a table cellBug
PDFNEWJAVA-35404Adobe Reader shows error when placing Image inside Table cellBug
PDFNEWJAVA-35508Fonts replacement issueBug
PDFNEWJAVA-35663Support of Aspose.PDF for Java on IBM i (Iseries or As/400)Bug
PDFJAVA-35924PDF to DOCX: footnote is not rendering as a single paragraphBug
PDFJAVA-35940Invisible text on the right from the redactArea becomes visibleBug
PDFJAVA-36054Not all contents are appearing in PDF documentBug
PDFJAVA-36057PDF to DOCX: Russian text is being added in resultant DOCXBug
PDFJAVA-36058PDF to DOCX: Saving as resultant DOCX grows in size exponentiallyBug
PDFJAVA-36094Exception when loading Font from FileStreamBug
PDFJAVA-36147Image squished instead of moving to next pageBug
PDFJAVA-36186KeptWithNext feature is causing content to disappearBug
PDFJAVA-36213When PDF is saved as DOCX, the AsposeTimeoutError occurs.Bug
PDFJAVA-36217Substitute font with open type fontBug
PDFJAVA-36224Specify page range information for PdfPrintRange.SelectionBug
PDFJAVA-36277PDF to PDF/A - Resultant file is not compliantBug
PDFJAVA-36294PDF to PPT - Spacing between words is removedBug

Public API Changes in Aspose.PDF for Java 16.11.0

Added the following exception classes: com.aspose.pdf.exceptions.IndexOutOfRangeException

Changes in class com.aspose.pdf.DocSaveOptions: Removed unused methods:

   public boolean isUseEmbeddedTrueTypeFonts()    public void setUseEmbeddedTrueTypeFonts(boolean)

Changes in class com.aspose.pdf.Document: Added methods:

   public boolean isAbsentFontTryToSubstitute()    public void setAbsentFontTryToSubstitute(boolean substitute)

Changes in class com.aspose.pdf.facades.PdfFileEditor Added abstract class

   public static abstract class ConcatenationProgressHandler

with abstract method

   public abstract void invoke(ProgressEventHandlerInfo eventInfo); Added class ProgressEventHandlerInfo with the following fields:    public int EventType;    public int DocumentNumber;    public int Value;    public int MaxValue;

Added enum class ProgressEventType with the following values:

   public static final int PageConcatenated = 0;    public static final int BlankPage = 1;    public static final int DocumentEmbeddedFiles = 3;    public static final int DocumentForms = 4;    public static final int DocumentOutlines = 5;    public static final int DocumentJavaScript = 6;    public static final int DocumentLogicalStructure = 7;    public static final int AllPagesCopied = 8;    public static final int DocumentConcated = 9;    public static final int TotalPercentage = 10;

Changes in class com.aspose.pdf.Font: Added method:

   public double measureString(String str, float fontSize)

Changes in class com.aspose.pdf.TextFragmentState: Added method:

   public double measureString(String str)

Changes in class com.aspose.pdf.TextState: Added method:

   public double measureString(String str)

Changes in class com.aspose.pdf.ImagePlacement: Added method:

   public Matrix getMatrix()

Changes in class com.aspose.pdf.printing.PdfPrinterSettings: Added methods:

   public void setSelectedPages(int[] pagesList)    public int[] getSelectedPages()**