Aspose.PDF for Java 18.5 Release Notes

Features and Improvements

KeySummaryCategory
PDFJAVA-37766DefaultFontName setting when saving Pdf as PdfFeature
PDFJAVA-37767Implement functionality to get all fonts from documentFeature
PDFJAVA-37678NullPointerException when saving PDF as HTMLBug
PDFJAVA-37705Aspose.Pdf 18.4 throws exception “Incomplete private key - missing CRT.” when signing document with .pfx fileBug
PDFJAVA-33941PDF to HTML: Extra space is being rendered with commosBug
PDFJAVA-34720Text goes beyond the page after replacingBug
PDFJAVA-34535PDF to HTML - Hyperlinks are removed in resultant fileBug

Public API Changes

Added new methods: com.aspose.pdf.ArtifactCollection.isReadOnly() com.aspose.pdf.ArtifactCollection.addItem(Artifact) com.aspose.pdf.ArtifactCollection.clear() com.aspose.pdf.ArtifactCollection.containsItem(Artifact) com.aspose.pdf.ArtifactCollection.copyToTArray(Artifact[],int) com.aspose.pdf.ArtifactCollection.removeItem(Artifact) com.aspose.pdf.ArtifactCollection.contains(Artifact) com.aspose.pdf.ArtifactCollection.remove(Artifact) com.aspose.pdf.Document.IDocumentFontUtilities.getAllFonts com.aspose.pdf.Heading.cloneWithSegments() com.aspose.pdf.MemoryCleaner.clearStaticInstances() com.aspose.pdf.PdfSaveOptions.getDefaultFontName() com.aspose.pdf.PdfSaveOptions.setDefaultFontName(String) com.aspose.pdf.Rectangle.contains(Point) com.aspose.pdf.Rectangle.center() com.aspose.pdf.TextFragment.cloneWithSegments()

Renamed method: com.aspose.pdf.IDocument.getPdfaFormat() -> com.aspose.pdf.IDocument.getPdfFormat()

Added new constructor for the class com.aspose.pdf.text.SimpleFontSubstitution: public SimpleFontSubstitution(String originalFontName, String substitutionFontName, boolean isForcedBySaveOption)

Added new fiels in the class com.aspose.pdf.ImageFileType: public static final int Base64 = 3;

Added new fiels in the class com.aspose.pdf.PdfFormat: public static final int PDF_UA_1 = 13; changed field values: public static final int PDF_X_1A = 13; -> public static final int PDF_X_1A = 14; public static final int PDF_X_3 = 14; -> public static final int PDF_X_3 = 15;