Browse our Products

Aspose.PDF for Java 24.2 Release Notes

Improvements and Changes

KeySummaryCategory
PDFJAVA-43576Implement OFD to PDF conversionNew Feature
PDFJAVA-36797Unable to set StateModel for AnnotationNew Feature
PDFJAVA-41959Watermark does not apply to XFA PDF fileNew Feature
PDFJAVA-43535Discrepancies in rendering of text rotated on 90 degreesBug
PDFJAVA-43185PDF split keeping accessibility informationBug
PDFJAVA-41689PDF to JPEG: New engine degrades image qualityBug
PDFJAVA-43573PDF to DOCX - incorrect paragraph marks inside table’s cellsBug
PDFJAVA-43595PDF to DOCX - The tables have been merged incorrectlyBug
PDFJAVA-43525PDF to DOCX: Layout issues occur when opening the documentBug
PDFJAVA-43562PDF to Excel: The cell with the title should span over two columnsBug
PDFJAVA-43599PDF to DOCX - Background missing in some cellsBug
PDFJAVA-43524PDF to XLSX: Some images are disappearedBug
PDFJAVA-43526PDF to DOCX: Corrupted content in the PDF documentBug
PDFJAVA-43533PDF to XLSX: Extra column is appearedBug
PDFJAVA-43575Regression: Error message “Wrong format of page’s content” when saving some PDFsBug
PDFJAVA-42849Form fileds text rotated when filledBug
PDFJAVA-41333When extracting pages, tags are not extractedBug
PDFJAVA-43462PDF to DOCX/XLSX: Table is split into twoBug
PDFJAVA-43527PDF to XLSX: Cells are shiftedBug
PDFJAVA-43407PDF to DOCX: Text split over two lines.Bug

Public API and Backwards Incompatible Changes

Added new classes

  • com.aspose.pdf.cdr.CdrConverter
  • com.aspose.pdf.djvu.DjvuConverter
  • com.aspose.pdf.Document.CallBackGetHocrWithPage
  • com.aspose.pdf.printing.PrintPaperSources
  • com.aspose.pdf.tex.TeXLoadResult
  • com.aspose.pdf.vector.GraphicState

Added base class - com.aspose.pdf.Document.CallBackGetHocrBase for nested classes CallBackGetHocr and CallBackGetHocrWithPage

Added new methods

  • com.aspose.pdf.DocSaveOptions.isReSaveFonts()
  • com.aspose.pdf.DocSaveOptions.setReSaveFonts(boolean)
  • com.aspose.pdf.Document.convertWithFlatten(CallBackGetHocrBase)
  • com.aspose.pdf.HtmlLoadOptions.isPriorityCssPageRule()
  • com.aspose.pdf.HtmlLoadOptions.setPriorityCssPageRule(boolean)
  • com.aspose.pdf.MarkupAnnotation.clearState()
  • com.aspose.pdf.MarkupAnnotation.setReviewState(int,String)
  • com.aspose.pdf.MarkupAnnotation.setReviewState(int)
  • com.aspose.pdf.MarkupAnnotation.setMarkedState(boolean)
  • com.aspose.pdf.MarkupAnnotation.getState()
  • com.aspose.pdf.MarkupAnnotation.getStateModel()
  • com.aspose.pdf.MdLoadOptions.getPageInfo()
  • com.aspose.pdf.MdLoadOptions.setPageInfo(PageInfo)
  • com.aspose.pdf.MdLoadOptions.isPriorityCssPageRule()
  • com.aspose.pdf.MdLoadOptions.setPriorityCssPageRule(boolean)
  • com.aspose.pdf.OperatorCollection.dispose()
  • com.aspose.pdf.OperatorCollection.close()
  • com.aspose.pdf.Resources.freeMemory()
  • com.aspose.pdf.TeXLoadOptions.getLoadResult()
  • com.aspose.pdf.TextFragmentAbsorber.getRegexResults()
  • com.aspose.pdf.XFA.appendToTemplate(String,String)
  • com.aspose.pdf.XForm.dispose()
  • com.aspose.pdf.XFormCollection.freeMemory()

Removed outdated methods

  • com.aspose.pdf.TextAnnotation.getState()
  • com.aspose.pdf.TextAnnotation.setState(int)
  • com.aspose.pdf.TextAnnotation.getStateModel()

Added new constructors

  • com.aspose.pdf.printing.PrintPaperSource.#ctor(String,int)
  • com.aspose.pdf.OperatorCollection.#ctor(IPdfPrimitive,IOperatorContainer)
  • com.aspose.pdf.TextFragmentAbsorber.#ctor(java.util.regex.Pattern[],TextSearchOptions)
  • com.aspose.pdf.TextStamp.#ctor(FormattedText,TextState)

Added new field

  • com.aspose.pdf.printing.PrintPaperSourceKind.AutomaticFeed

Nested class com.aspose.pdf.Signature.SignHash has became an independent public class - com.aspose.pdf.SignHash