Browse our Products

Aspose.PDF for Java 24.7 Release Notes

Improvements and Changes

KeySummaryCategory
PDFJAVA-44172Possibility of implementing auto-taggingNew Feature
PDFJAVA-44105Excel: Impr44105 oving height calculations for borderless rowsEnhancement
PDFJAVA-44173Make possible setting alignment and other options for TextStampEnhancement
PDFJAVA-37185Extracting JPEG2000 image from PDF fails with java.lang.NullPointerException exceptionBug
PDFJAVA-43947PDF to Excel: The proportions of the images are incorrect (fix row heights)Bug
PDFJAVA-44167PDF to DOCX: image indentation is incorrect.Bug
PDFJAVA-44090PDF resizing problem from 209.9 x 296.8 mm to A4Bug
PDFJAVA-43989Converting PDF to PDF-A with JPEG2000 imageBug
PDFJAVA-44002PDF to PPTX - Edges are croppedBug
PDFJAVA-43948PDF to XLSX - Not Getting all images from conversionBug
PDFJAVA-37170PDF to HTML - the comparison method violates its general contractBug
PDFJAVA-44146PDF to Excel: Vertical alignments are incorrectBug
PDFJAVA-43820Pdf -> Html conversion result wrongBug

Public API and Backwards Incompatible Changes

Added new methods:

  • com.aspose.pdf.markdownoptions.MarkdownSaveOptions.getExtractVectorGraphics()
  • com.aspose.pdf.markdownoptions.MarkdownSaveOptions.setExtractVectorGraphics(boolean)
  • com.aspose.pdf.MarkupParagraph.setText(String)
  • com.aspose.pdf.operators.SetFlat.toCommand()
  • com.aspose.pdf.Page.resize(PageSize)
  • com.aspose.pdf.Rectangle.containsLine(double,double,double,double)
  • com.aspose.pdf.Rectangle.containsPoint(double,double)
  • com.aspose.pdf.tagged.logicalstructure.ElementList.insertElement(Element,int)
  • com.aspose.pdf.tagged.logicalstructure.ElementList.removeAt(int)
  • com.aspose.pdf.tagged.logicalstructure.elements.Element.insertChild(Element,int)
  • com.aspose.pdf.tagged.logicalstructure.elements.Element.removeChild(int)
  • com.aspose.pdf.tagged.logicalstructure.elements.Element.clearChilds
  • com.aspose.pdf.tagged.logicalstructure.elements.Element.tag(XForm)
  • com.aspose.pdf.tagged.logicalstructure.elements.Element.tag(XImage)
  • com.aspose.pdf.tagged.logicalstructure.elements.Element.tag(Artifact)
  • com.aspose.pdf.tagged.logicalstructure.elements.Element.tag(Annotation)
  • com.aspose.pdf.tagged.logicalstructure.elements.MCRElement.tag(BDC)
  • com.aspose.pdf.tagged.logicalstructure.elements.MCRElement.tag(XForm)
  • com.aspose.pdf.tagged.logicalstructure.elements.MCRElement.tag(XImage)
  • com.aspose.pdf.tagged.logicalstructure.elements.MCRElement.tag(Artifact)
  • com.aspose.pdf.tagged.logicalstructure.elements.MCRElement.tag(Annotation)
  • com.aspose.pdf.tagged.logicalstructure.elements.OBJRElement.tag(BDC)
  • com.aspose.pdf.tagged.logicalstructure.elements.OBJRElement.tag(XForm)
  • com.aspose.pdf.tagged.logicalstructure.elements.OBJRElement.tag(XImage)
  • com.aspose.pdf.tagged.logicalstructure.elements.OBJRElement.tag(Artifact)
  • com.aspose.pdf.tagged.logicalstructure.elements.OBJRElement.tag(Annotation)
  • com.aspose.pdf.tagged.logicalstructure.elements.StructureElement.getPage
  • com.aspose.pdf.tagged.logicalstructure.elements.StructureElement.remove
  • com.aspose.pdf.tagged.logicalstructure.elements.StructureElement.tag(BDC)
  • com.aspose.pdf.tagged.logicalstructure.elements.StructureElement.tag(XForm)
  • com.aspose.pdf.tagged.logicalstructure.elements.StructureElement.tag(XImage)
  • com.aspose.pdf.tagged.logicalstructure.elements.StructureElement.tag(Artifact)
  • com.aspose.pdf.tagged.logicalstructure.elements.StructureElement.tag(Annotation)
  • com.aspose.pdf.tagged.logicalstructure.StructTreeRootElement.tag(BDC)
  • com.aspose.pdf.tagged.logicalstructure.StructTreeRootElement.tag(XForm)
  • com.aspose.pdf.tagged.logicalstructure.StructTreeRootElement.tag(XImage)
  • com.aspose.pdf.tagged.logicalstructure.StructTreeRootElement.tag(Artifact)
  • com.aspose.pdf.tagged.logicalstructure.StructTreeRootElement.tag(Annotation)
  • com.aspose.pdf.TextSearchOptions.getExcludeRectangles()
  • com.aspose.pdf.TextSearchOptions.setExcludeRectangles(Rectangle[])
  • com.aspose.pdf.TextStamp.getReplacementFont()
  • com.aspose.pdf.TextStamp.setReplacementFont(- com.aspose.pdf.Font)
  • com.aspose.pdf.TextStamp.getNoCharacterBehavior()
  • com.aspose.pdf.TextStamp.setNoCharacterBehavior(int)
  • com.aspose.pdf.vector.extraction.SubPathGroup.getGroupRectangle
  • com.aspose.pdf.vector.extraction.SvgExtractor.extract(Page,List[])
  • com.aspose.pdf.vector.GraphicElement.dispose()
  • com.aspose.pdf.vector.GraphicsAbsorber.dispose()
  • com.aspose.pdf.XImage.isImageMask()

Added new classes:

  • com.aspose.pdf.comparison.ComparisonUtils
  • com.aspose.pdf.comparison.outputgenerator.OutputTextStyle
  • com.aspose.pdf.comparison.sidebysidecomparison.ComparisonMode
  • com.aspose.pdf.comparison.sidebysidecomparison.fragmentsprocessor.ExtractedFragmentsProcessorBase
  • com.aspose.pdf.comparison.sidebysidecomparison.fragmentsprocessor.IgnoreSpacesFragmentsProcessor
  • com.aspose.pdf.comparison.sidebysidecomparison.fragmentsprocessor.ParseSpacesFragmentsProcessor
  • com.aspose.pdf.comparison.sidebysidecomparison.FragmentWithSpaces
  • com.aspose.pdf.comparison.sidebysidecomparison.SideBySideComparisonOptions
  • com.aspose.pdf.comparison.sidebysidecomparison.TextFragmentRectanglesComparer
  • com.aspose.pdf.DocumentExtensions
  • com.aspose.pdf.TextStamp.NoCharacterAction

Added new fields:

  • com.aspose.pdf.exceptions.TaggedPdfExceptionCode.Element_CouldNotBeMapped
  • com.aspose.pdf.UnifiedSaveOptions.IsMultiThreading

Added new constructors:

  • com.aspose.pdf.Document.#ctor(Stream,- com.aspose.pdf.LoadOptions)
  • com.aspose.pdf.Document.#ctor(String,boolean)
  • com.aspose.pdf.facades.BDCProperties.#ctor()
  • com.aspose.pdf.facades.BDCProperties.#ctor(String,String)

Removed outdated methods:

  • com.aspose.pdf.facades.BDCProperties.setMCID(Integer[])
  • com.aspose.pdf.Operator.getParameters()
  • com.aspose.pdf.operators.DP.getPropertiesName()
  • com.aspose.pdf.operators.DP.setPropertiesName(IPdfName)
  • com.aspose.pdf.operators.EI.toString()
  • com.aspose.pdf.tagged.logicalstructure.ElementListImplementation.removeElement(Element)

Changed parameter’s type:

  • com.aspose.pdf.RichTextBoxField.setJustify(int) => com.aspose.pdf.RichTextBoxField.setJustify(Justification)