Browse our Products

Aspose.PDF for Java 22.5 Release Notes

Improvements and Changes

KeySummaryCategory
PDFJAVA-40492PDF to PDF_A_1A - implement option to remove transparency color to avoid large output file sizeNew Feature
PDFJAVA-41589PDF to PDFA: Image loses qualityNew Feature
PDFJAVA-41565‘Cannot instantiate Artifact class’ exception is thrown while creating table in PDFBug
PDFJAVA-41440PdfContentEditor closes a document that it has not openedBug
PDFJAVA-41590PDF to TIFF: Conversion returns empty streamBug
PDFJAVA-41463Adding image using PdfFileMend incorrectly rotatedBug
PDFJAVA-37784Signature Description Error occurred while setting licenseBug
PDFJAVA-41581PDF to DOCX: Bullet list items are not recognizedBug
PDFJAVA-41580PDF to DOCX: Bottom margin is too bigBug
PDFJAVA-41512PDF to Excel: Some text is hidedBug
PDFJAVA-41646PDF to DOCX: NullPointerException in EnchantedFlow modeBug
PDFJAVA-41612PDF to DOCX: Line is not visibleBug
PDFJAVA-41546PDF to DOCX: Content moved to next pageBug
PDFJAVA-41582PDF to Excel: Some cells are mergedBug
PDFJAVA-41583PDF to XLSX: Text is moved to another cell when exporting to ExcelBug
PDFJAVA-41505PDF to XLSX: Error message when opening output documentBug

Public API and Backwards Incompatible Changes

Added new methods

  • com.aspose.pdf.InkAnnotation.changeAfterResize(Matrix)
  • com.aspose.pdf.LineAnnotation.changeAfterResize(Matrix)
  • com.aspose.pdf.PolyAnnotation.changeAfterResize(Matrix)
  • com.aspose.pdf.TextAnnotation.changeAfterResize(Matrix)
  • com.aspose.pdf.Page.getUserUnit()
  • com.aspose.pdf.Page.setUserUnit(double)
  • com.aspose.pdf.PdfFormatConversionOptions.isTransferInfo()
  • com.aspose.pdf.PdfFormatConversionOptions.setTransferInfo(boolean)

Classes converted to enum

  • com.aspose.pdf.AFRelationship
  • com.aspose.pdf.LoadFormat
  • com.aspose.pdf.SaveFormat
  • com.aspose.pdf.PdfFormat

Method parameters changed

  • com.aspose.pdf.Document.validate(String,int) -> com.aspose.pdf.Document.validate(String,PdfFormat)
  • com.aspose.pdf.Document.convert(String,int,int) -> com.aspose.pdf.Document.convert(String,PdfFormat,int)
  • com.aspose.pdf.Document.validate(OutputStream,int) -> com.aspose.pdf.Document.validate(OutputStream,PdfFormat)
  • com.aspose.pdf.Document.convert(String,int,int,int) -> com.aspose.pdf.Document.convert(String,PdfFormat,int,int)
  • com.aspose.pdf.Document.convertInternal(Stream,int,int) -> com.aspose.pdf.Document.convertInternal(Stream,PdfFormat,int)
  • com.aspose.pdf.Document.convert(OutputStream,int,int) -> com.aspose.pdf.Document.convert(OutputStream,PdfFormat,int)
  • com.aspose.pdf.Document.save(String,int) -> com.aspose.pdf.Document.save(String,SaveFormat)
  • com.aspose.pdf.Document.save(OutputStream,int) -> com.aspose.pdf.Document.save(OutputStream,SaveFormat)
  • com.aspose.pdf.facades.Form.setConvertTo(int) -> com.aspose.pdf.facades.Form.setConvertTo(PdfFormat)
  • com.aspose.pdf.facades.FormEditor.setConvertTo(int) -> com.aspose.pdf.facades.FormEditor.setConvertTo(PdfFormat)
  • com.aspose.pdf.facades.PdfFileEditor.setConvertTo(int) -> com.aspose.pdf.facades.PdfFileEditor.setConvertTo(PdfFormat)
  • com.aspose.pdf.facades.PdfFileStamp.setConvertTo(int) -> com.aspose.pdf.facades.PdfFileStamp.setConvertTo(PdfFormat)
  • com.aspose.pdf.facades.PdfFileStampWeb.setConvertTo(int) -> com.aspose.pdf.facades.PdfFileStampWeb.setConvertTo(PdfFormat)
  • com.aspose.pdf.FileSpecification.setAFRelationship(int) -> com.aspose.pdf.FileSpecification.setAFRelationship(AFRelationship)
  • com.aspose.pdf.PdfFormatConversionOptions.setFormat(int) -> com.aspose.pdf.PdfFormatConversionOptions.setFormat(PdfFormat)
  • com.aspose.pdf.PdfFormatConversionOptions.#ctor(String,int,int) -> com.aspose.pdf.PdfFormatConversionOptions.#ctor(String,PdfFormat,int)
  • com.aspose.pdf.PdfFormatConversionOptions.#ctor(String,int) -> M:com.aspose.pdf.PdfFormatConversionOptions.#ctor(String,PdfFormat)
  • com.aspose.pdf.PdfFormatConversionOptions.#ctor(int) -> com.aspose.pdf.PdfFormatConversionOptions.#ctor(PdfFormat)
  • com.aspose.pdf.PdfFormatConversionOptions.#ctor(int,int) -> com.aspose.pdf.PdfFormatConversionOptions.#ctor(PdfFormat,int)
  • com.aspose.pdf.PdfFormatConversionOptions.#ctor(String,int,int,int) -> com.aspose.pdf.PdfFormatConversionOptions.#ctor(String,PdfFormat,int,int)
  • com.aspose.pdf.PdfFormatConversionOptions.#ctor(OutputStream,int,int) -> com.aspose.pdf.PdfFormatConversionOptions.#ctor(OutputStream,PdfFormat,int)

Added new constant in class com.aspose.pdf.TableBroken

  • public static final int IsInNextPage = 3;

The following methods become deprecated

  • com.aspose.pdf.facades.PdfFileSecurity.getAllowExceptions()
  • com.aspose.pdf.facades.PdfFileSecurity.setAllowExceptions(boolean)

Redesign com.aspose.pdf.PdfFileSecurity API to prevent exceptions ignoring in the following methods

  • encryptFile(String,String,DocumentPrivilege,int)
  • encryptFile(String,String,DocumentPrivilege,int,int)
  • decryptFile(String)
  • setPrivilege(DocumentPrivilege)
  • setPrivilege(String,String,DocumentPrivilege)
  • changePassword(String,String,String)
  • changePassword(String,String,String,DocumentPrivilege,int)
  • changePassword(String,String,String,DocumentPrivilege,int,int)