Browse our Products

Aspose.PDF for Java 25.4 Release Notes

Improvements and Changes

KeySummaryCategory
PDFJAVA-44885Preserve hyperlinks when converting from PDF to XLSXNew Feature
PDFJAVA-44938PDF to ODS: Implement image flipping supportEnhancement
PDFJAVA-44948Ability to verify the boundaries of graphical Shapes when adding to the PageEnhancement
PDFJAVA-43637Aspose.Pdf 24.2: Font is lost when adding pages to a new documentBug
PDFJAVA-44696Regression: The document converted to PDF/A_2B does not pass validation in Preflight.Bug
PDFJAVA-44546PDF resizing problem from 207 x 300 mmBug
PDFJAVA-44866PDF to Excel: An extra image appearsBug
PDFJAVA-44258Creating table: Content overflow in Table CellBug
PDFJAVA-44907PDF to Excel: Tables that cross pages result in data being split into multiple cellsBug
PDFJAVA-44849PDF to DOCX: Page right margin is absentBug
PDFJAVA-44883PDF to DOCX: Bottom padding in table cells is too small.Bug
PDFJAVA-44530Formatting not getting applied to Japanese text when inserting in PDFBug
PDFJAVA-44916Exception: Private key is not available. (DSA key)Bug
PDFJAVA-43403HTM to PDF - NegativeArraySizeException with error message “-1118738328Bug
PDFJAVA-44912PDF to ODS: Preserve hyperlinksBug
PDFJAVA-44905PDF to Excel: Data is split into two cellsBug
PDFJAVA-44932PDF to Excel: Cell is incorrectly splitBug

Public API and Backwards Incompatible Changes

Removed field:

  • com.aspose.pdf.CryptoAlgorithm.values

Added new field:

  • com.aspose.pdf.CryptoAlgorithm.ALGORITHMS
  • com.aspose.pdf.plugins.pdfa.PdfAStandardVersion.PDF_A_4
  • com.aspose.pdf.plugins.pdfa.PdfAStandardVersion.PDF_A_4E
  • com.aspose.pdf.plugins.pdfa.PdfAStandardVersion.PDF_A_4F
  • com.aspose.pdf.XmpPdfAExtensionSchema.XMLNS

Added new methods:

  • com.aspose.pdf.Document.getCustomSecurityHandler()
  • com.aspose.pdf.Document.getTaggedContent()
  • com.aspose.pdf.facades.PdfConverter.bindPdf(Document)
  • com.aspose.pdf.License.clearLicense()
  • com.aspose.pdf.MarkupAnnotation.setCreationDate(java.util.Date)
  • com.aspose.pdf.PdfFormatConversionOptions.getAutoTaggingSettings()
  • com.aspose.pdf.PdfFormatConversionOptions.setAutoTaggingSettings(AutoTaggingSettings)
  • com.aspose.pdf.vector.extraction.SubPathGroup.getElements()

Added new constructors:

  • com.aspose.pdf.Document.#ctor(byte[])
  • com.aspose.pdf.Document.#ctor(InputStream)
  • com.aspose.pdf.Document.#ctor(InputStream,String)
  • com.aspose.pdf.Document.#ctor(java.io.InputStream,String,ICustomSecurityHandler)
  • com.aspose.pdf.Document.#ctor(Stream,String,boolean,ICustomSecurityHandler)
  • com.aspose.pdf.Document.#ctor(InputStream,String,boolean)
  • com.aspose.pdf.Document.#ctor(java.io.InputStream,String,boolean,ICustomSecurityHandler)
  • com.aspose.pdf.Document.#ctor(Stream,String,ICustomSecurityHandler)
  • com.aspose.pdf.Document.#ctor(String,String,ICustomSecurityHandler)
  • com.aspose.pdf.Document.#ctor(PdfVersion)
  • com.aspose.pdf.Document.#ctor(String,String,boolean,ICustomSecurityHandler)
  • com.aspose.pdf.facades.PdfFileInfo.#ctor(java.io.InputStream,String,ICustomSecurityHandler)
  • com.aspose.pdf.facades.PdfFileInfo.#ctor(String,String,ICustomSecurityHandler)

Removed outdated constructors:

  • com.aspose.pdf.plugins.implementations.StreamDataSource.#ctor(OutputStream)

Removed outdated method:

  • com.aspose.pdf.facades.PdfAnnotationEditor.importAnnotationFromXfdf(String)
  • com.aspose.pdf.FileSpecification.close()
  • com.aspose.pdf.FileSpecification.dispose()
  • com.aspose.pdf.GoToRemoteAction.getDestination()
  • com.aspose.pdf.optimization.OptimizationOptions.getLinkDuplicateStreamsScanLevel()
  • com.aspose.pdf.optimization.OptimizationOptions.setLinkDuplicateStreamsScanLevel(int)

Renamed methods:

  • com.aspose.pdf.facades.PdfAnnotationEditor.importAnnotationsFromXfdf(String,AnnotationType[]) = > com.aspose.pdf.facades.PdfAnnotationEditor.importAnnotationFromXfdf(String,AnnotationType[])
  • com.aspose.pdf.facades.PdfAnnotationEditor.importAnnotationsFromXfdf(InputStream,AnnotationType[]) = > com.aspose.pdf.facades.PdfAnnotationEditor.importAnnotationFromXfdf(InputStream,AnnotationType[])

Added new classes:

  • com.aspose.pdf.plugins.implementations.StreamDataOutput
  • com.aspose.pdf.signatures.CompromiseCheckResult
  • com.aspose.pdf.signatures.SignaturesCompromiseDetector
  • com.aspose.pdf.signatures.SignaturesCoverage
  • com.aspose.pdf.tagged.helpers.ILogicalStructureCleaner
  • com.aspose.pdf.tagged.helpers.LogicalStructureCleaner
  • com.aspose.pdf.vector.extraction.SubPathContainer