Browse our Products

Aspose.PDF for Java 25.8 Release Notes

Improvements and Changes

KeySummaryCategory
PDFJAVA-45332Style support for table’s borderNew Feature
PDFJAVA-45331Getting ALT Text Description for the image in PDFNew Feature
PDFJAVA-45229Embed json mapper into Aspose.Pdf for Java libraryEnhancement
PDFJAVA-45326Adding polygon annotation with ‘cloudy’ border effectEnhancement
PDFJAVA-45325Support for the ‘cloudy’ border effect in annotationsEnhancement
PDFJAVA-44723Polyline, Polygon, and Cloud Polygon Annotations Not Visible in Chrome and MacOS PreviewBug
PDFJAVA-44977PDF to DOCX - “Specified argument was out of the range of valid values”Bug
PDFJAVA-44465HTML files failing to load in Ubuntu 24.10Bug
PDFJAVA-44050Null Pointer exception in Aspose.PDFBug
PDFJAVA-45238Exception: Timestamp token found in failed requestBug
PDFJAVA-37075java.lang.NullPointerException occurs while converting dynamic form to standardBug
PDFJAVA-45022Document.convert(OutputStream outputLogStream, PdfFormat format, ConvertErrorAction action) is not thread-safeBug
PDFJAVA-45131PDF to PDF/A-1a with setAutoTaggingSettings() throws String was not recognized as a valid DateTimeBug
PDFJAVA-37768Input MHT - an error occurred on importing MHT documentBug

Public API and Backwards Incompatible Changes

Added new methods:

  • com.aspose.pdf.Cells.add(TextFragment)
  • com.aspose.pdf.StampAnnotation.clear()
  • com.aspose.pdf.StampAnnotation.setIcon(StampIcon)
  • com.aspose.pdf.tagged.logicalstructure.elements.bls.HeaderElement.setText(String)
  • com.aspose.pdf.tagged.logicalstructure.elements.bls.HeaderElement.addEntryToTocPage(Page,TOCIElement)
  • com.aspose.pdf.tagged.logicalstructure.elements.bls.HeaderElement.addEntryToTocPage(Page,ListLIElement)
  • com.aspose.pdf.tagged.logicalstructure.elements.bls.ListLIElement.getGetElement()
  • com.aspose.pdf.tagged.logicalstructure.elements.grouping.TOCElement.linkTocPageTitleToHeaderElement(Page,HeaderElement)
  • com.aspose.pdf.tagged.logicalstructure.elements.grouping.TOCElement.preSave()
  • com.aspose.pdf.tagged.logicalstructure.elements.grouping.TOCIElement.addRef(StructureElement)
  • com.aspose.pdf.tagged.logicalstructure.elements.grouping.TOCIElement.getGetElement()

Added new Exceptions:

  • com.aspose.pdf.tagged.logicalstructure.elements.bls.HeaderElementTextConflictException
  • com.aspose.pdf.tagged.logicalstructure.elements.bls.TOCpageHasNoTitleException

Deleted outdated methods:

  • com.aspose.pdf.tagged.helpers.logicalstructure.MCRElementTextFragmentHandler.isCreatedElement()
  • com.aspose.pdf.tagged.helpers.logicalstructure.MCRElementTextFragmentHandler.setContent(String)
  • com.aspose.pdf.tagged.helpers.logicalstructure.MCRElementTextFragmentHandler.preSave()
  • com.aspose.pdf.tagged.helpers.logicalstructure.MCRElementTextFragmentHandler.save()
  • com.aspose.pdf.tagged.helpers.logicalstructure.MCRElementTextFragmentHandler.setHyperlink(Hyperlink)

Added new classes:

  • com.aspose.pdf.tagged.logicalstructure.elements.bls.MCRElementHeadingHandler
  • com.aspose.pdf.tagged.logicalstructure.elements.bls.MCRElementTextContentHandlerBase
  • com.aspose.pdf.tagged.logicalstructure.elements.grouping.ITociElement
  • com.aspose.pdf.Nullable

Refactored class with constants into enum:

  • com.aspose.pdf.StampIcon

Replaced some wrapped in array parameters into Nullable instance in some methods:

  • com.aspose.pdf.tagged.helpers.logicalstructure.MCRElementImageHandler.setImageResolution(Double[]) - > com.aspose.pdf.tagged.helpers.logicalstructure.MCRElementImageHandler.setImageResolution(Nullable)
  • com.aspose.pdf.tagged.helpers.logicalstructure.MCRElementImageHandler.setImageWidth(Double[]) - > com.aspose.pdf.tagged.helpers.logicalstructure.MCRElementImageHandler.setImageWidth(Nullable)
  • com.aspose.pdf.tagged.helpers.logicalstructure.MCRElementImageHandler.setImageHeight(Double[]) - > com.aspose.pdf.tagged.helpers.logicalstructure.MCRElementImageHandler.setImageHeight(Nullable)
  • com.aspose.pdf.tagged.logicalstructure.elements.StructureTextState.setFontSize(Float) - > - com.aspose.pdf.tagged.logicalstructure.elements.StructureTextState.setFontSize(Nullable)
  • com.aspose.pdf.tagged.logicalstructure.elements.StructureTextState.setHorizontalScaling(Float) - > com.aspose.pdf.tagged.logicalstructure.elements.StructureTextState.setHorizontalScaling(Nullable)
  • com.aspose.pdf.tagged.logicalstructure.elements.StructureTextState.setLineSpacing(Float) - > - com.aspose.pdf.tagged.logicalstructure.elements.StructureTextState.setLineSpacing(Nullable)
  • com.aspose.pdf.tagged.logicalstructure.elements.StructureTextState.setCharacterSpacing(Float) - > com.aspose.pdf.tagged.logicalstructure.elements.StructureTextState.setCharacterSpacing(Nullable)
  • com.aspose.pdf.tagged.logicalstructure.elements.StructureTextState.setWordSpacing(Float) - > com.aspose.pdf.tagged.logicalstructure.elements.StructureTextState.setWordSpacing(Nullable)