Browse our Products

Aspose.Pdf for Java 16.12.0 Release Notes

Features and Improvements

KeySummaryCategory
PDFNEWJAVA-34602Support PDF/A_2U formatNew Feature
PDFNEWJAVA-33928Rendering a particular section of PDF document to ImageNew Feature
PDFNEWJAVA-34779PDF to PDF/A - resultant file size gets 17 times of the original PDF sizeBug
PDFNEWJAVA-34660Text replace changes text Alignment to Left AlignedBug
PDFJAVA-36288Missing methods in HtmlSaveOptions.HtmlPageMarkupSavingInfoBug
PDFJAVA-36182PDF to JPEG: incorrect text characters renderingBug
PDFJAVA-36340CallBack approach to load ResourceLoadingStrategy is showing errorsBug
PDFJAVA-36178PDF to DOCX - Right indent is not being honoredBug
PDFJAVA-36180PDF to DOCX: Paragraph indent values are not retainedBug
PDFJAVA-36281XPS to PDF - conversion process takes too much timeBug
PDFJAVA-36102PDF to PDF/A - Highlight box hides the image in PDFBug
PDFJAVA-36256PDF to PPTX - Line spacing is lostBug
PDFJAVA-36324Annotation Modified date set to 12:00 AM instead provided dateBug
PDFJAVA-36002PDF to PDF/A - Resultant file is not compliantBug
PDFJAVA-36291Chinese Locale throws ExceptionInInitializerError exceptionBug
PDFNEWJAVA-34972flatten() method throws NPEBug

Public API Changes in Aspose.PDF for Java 16.11.0

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

com.aspose.pdf.Annotation.getRectangle(boolean)

Changes in class com.aspose.pdf.ImageDevice and all the child classes(BmpDevice, EmfDevice, GifDevice, JpegDevice, PngDevice) recieved the methods: Added methods:

com.aspose.pdf.devices.ImageDevice.getCropRectangle() com.aspose.pdf.devices.ImageDevice.setCropRectangle(com.aspose.pdf.Rectangle)

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

com.aspose.pdf.devices.TiffDevice.getCropRectangle() com.aspose.pdf.devices.TiffDevice.setCropRectangle(com.aspose.pdf.Rectangle)

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

com.aspose.pdf.DocSaveOptions.getMaxDistanceBetweenTextLines() com.aspose.pdf.DocSaveOptions.setMaxDistanceBetweenTextLines(float)

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

com.aspose.pdf.Document.OptimizationOptions.isResizeImages() com.aspose.pdf.Document.OptimizationOptions.setResizeImages(boolean) com.aspose.pdf.Document.OptimizationOptions.getMaxResoultion() com.aspose.pdf.Document.OptimizationOptions.setMaxResoultion(int) com.aspose.pdf.Document.OptimizationOptions.isRemovePrivateInfo() com.aspose.pdf.Document.OptimizationOptions.setRemovePrivateInfo(boolean)

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

com.aspose.pdf.FontCollection.add(Font)

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

com.aspose.pdf.LatexLoadOptions.getResourceLoadingCallback() com.aspose.pdf.LatexLoadOptions.setResourceLoadingCallback(IResourceLoadingCallback)

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

com.aspose.pdf.PageCollection.add(java.util.List) com.aspose.pdf.PageCollection.insert(int,Iterable)

Changes in class com.aspose.pdf.PdfFormat: Added fields:

com.aspose.pdf.PdfFormat.PDF_A_2U com.aspose.pdf.PdfFormat.PDF_A_3U

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

com.aspose.pdf.PdfFormatConversionOptions.getOptimizeFileSize() com.aspose.pdf.PdfFormatConversionOptions.setOptimizeFileSize(boolean) com.aspose.pdf.PdfFormatConversionOptions.getExcludeFontsStrategy() com.aspose.pdf.PdfFormatConversionOptions.setExcludeFontsStrategy(byte)

Implemented the following class: com.aspose.pdf.PdfFormatConversionOptions.RemoveFontsStrategy Added fields:

com.aspose.pdf.PdfFormatConversionOptions.RemoveFontsStrategy.RemoveDuplicatedFonts com.aspose.pdf.PdfFormatConversionOptions.RemoveFontsStrategy.RemoveSimilarFontsWithDifferentWidths com.aspose.pdf.PdfFormatConversionOptions.RemoveFontsStrategy.SubsetFonts

Changes in class com.aspose.pdf.WarningInfo: Changes constructor: public WarningInfo(WarningType type, String message) -> public WarningInfo(/* WarningType */int type, String message)

The enum class com.aspose.pdf.WarningType has been reorganized: Added fields: 

com.aspose.pdf.WarningType.SourceFileCorruption com.aspose.pdf.WarningType.DataLoss com.aspose.pdf.WarningType.MajorFormattingLoss com.aspose.pdf.WarningType.MinorFormattingLoss com.aspose.pdf.WarningType.CompatibilityIssue com.aspose.pdf.WarningType.InvalidInputStreamType com.aspose.pdf.WarningType.UnexpectedContent Removed old namesake fields.