Aspose.PDF for Java 21.12 Release Notes

Improvements and Changes

PDFJAVA-41158Create example fixup (Rotate fixup)New Feature
PDFJAVA-40889Reduce memory allocations when converting PDF filesNew Feature
PDFJAVA-41159Increase performance while adding textEnhancement
PDFJAVA-40978Not process pdf document if Xmx less then 3048 (Aspose.Pdf v20.12)Enhancement
PDFJAVA-41070PDF to Excel: Recognize background colors of table cellsEnhancement
PDFJAVA-41092PDF to ODS: Recognize background colors of table cellsEnhancement
PDFJAVA-41073PDF to XLSX: Preserve text colorEnhancement
PDFJAVA-41091PDF to ODS: Preserve text colorEnhancement
PDFJAVA-40735PDF to Docx: Recognize background colors of table cells in Enchanted Flow modeEnhancement
PDFJAVA-40946HTML to PDF: MS Mincho gets replacedBug
PDFJAVA-40900WholeWordsHyphenation works as ShiftRestOfLine in case replacement value is longBug
PDFJAVA-40898Text overlapping issue after replacementBug
PDFJAVA-40688Aspose.pdf converts Chinese pdf into pictures, is there an example of configuring Chinese fonts?Bug
PDFJAVA-38079PDF to DOCX - Table is not recognizedBug
PDFJAVA-36193PDF to Excel: multi-line cell data rendering issueBug

Public API and Backwards Incompatible Changes

Added new methods

  • com.aspose.pdf.Document.convert(int,
  • com.aspose.pdf.Document.convert(int,,boolean,Object[])
  • com.aspose.pdf.Document.convert(int,String)
  • com.aspose.pdf.Document.convert(int,String,boolean,Object[])
  • com.aspose.pdf.MemoryExtender.isOptimizedMemoryStreamByDefault()
  • com.aspose.pdf.MemoryExtender.isOptimizedMemoryStreamByDefault(boolean)
  • com.aspose.pdf.Rectangle.toPoints()
  • com.aspose.pdf.TextBuilder.appendText(java.util.List)

Changed type of parameter

  • com.aspose.pdf.RedactionAnnotation.setFontSize(int) -> com.aspose.pdf.RedactionAnnotation.setFontSize(double)

Added new class

  • com.aspose.pdf.Fixup