Browse our Products

Aspose.PDF for Java 18.6 Release Notes

Features and Improvements

KeySummaryCategory
PDFJAVA-35922Rotation angle of Text CharacterFeature
PDFJAVA-34777Support of PDF to XLSXFeature
PDFJAVA-35410PDF to HTML: problems with visibility and formatting symbolsBug
PDFJAVA-37778Incorrect string calculations result in cropped italic watermarkBug
PDFJAVA-37798Cannot retrieve size of all fontsBug
PDFJAVA-37217Test aspose.pdf compatibility with JDK 9Bug
PDFJAVA-36143Some threads hangs for the latest Java for PDFBug
PDFJAVA-34359Exception while instantiating license in Web applicationBug
PDFJAVA-35700Exception when trying to run project through maven on MACBug
PDFJAVA-36893Exception trying to read bookmark from PDF fileBug
PDFJAVA-35212Creating a PDF from Text in Cloud Environment throws missing font errorBug
PDFJAVA-33962JVM memory consumption issue with table creationBug
PDFJAVA-36952Formula based field is not working after converting from XFA to StandardBug
PDFJAVA-37484PDF to PDF/A-2b - some labels get blurredBug
PDFJAVA-37786 RedactArea throws NPE in non-licensed modeBug
PDFJAVA-37674RedactAnnotation does not work in non-licensed modeBug
PDFJAVA-37476PDF to PDF/A-2b - the chart labels are rotatedBug

Public API Changes

All descendants of com.aspose.pdf.Operator were moved into namespace com.aspose.pdf.operators. Thus ’new com.aspose.pdf.operators.GSave()’ should be used, instead of ’new com.aspose.pdf.Operator.GSave()'.

Added new classes: com.aspose.pdf.DocumentElement com.aspose.pdf.taggedpdf.TaggedPdfChildElements com.aspose.pdf.taggedpdf.TaggedPdfDocumentElement com.aspose.pdf.taggedpdf.TaggedPdfElement com.aspose.pdf.taggedpdf.TaggedPdfParentTree com.aspose.pdf.taggedpdf.TaggedPdfTextElement

Added new methods: com.aspose.pdf.ActionCollection.isReadOnly() com.aspose.pdf.ActionCollection.copyTo(PdfAction[],int) com.aspose.pdf.ActionCollection.clear() com.aspose.pdf.ActionCollection.contains(PdfAction) com.aspose.pdf.ActionCollection.remove(PdfAction)

com.aspose.pdf.AnnotationCollection.isReadOnly() com.aspose.pdf.AnnotationCollection.copyTo(Annotation[],int) com.aspose.pdf.AnnotationCollection.clear() com.aspose.pdf.AnnotationCollection.contains(Annotation) com.aspose.pdf.AnnotationCollection.remove(Annotation)

com.aspose.pdf.AnnotationSelector.getSelected() com.aspose.pdf.AnnotationSelector.AnnotationSelector()

com.aspose.pdf.BaseOperatorCollection.remove(Operator) com.aspose.pdf.BaseOperatorCollection.contains(Operator) com.aspose.pdf.BaseOperatorCollection.clear()

com.aspose.pdf.CharInfoCollection.isReadOnly() com.aspose.pdf.CharInfoCollection.add(CharInfo) com.aspose.pdf.CharInfoCollection.contains(CharInfo)

com.aspose.pdf.DestinationCollection.size() com.aspose.pdf.DestinationCollection.isReadOnly()

com.aspose.pdf.EmbeddedFileCollection.isReadOnly() com.aspose.pdf.EmbeddedFileCollection.copyTo(FileSpecification[],int) com.aspose.pdf.EmbeddedFileCollection.remove(FileSpecification) com.aspose.pdf.EmbeddedFileCollection.contains(FileSpecification) com.aspose.pdf.EmbeddedFileCollection.clear()

com.aspose.pdf.facades.PdfXmpMetadata.containsKey(String) com.aspose.pdf.facades.PdfXmpMetadata.tryGetValue(String,Object[])

com.aspose.pdf.Field.copyTo(Field[],int) com.aspose.pdf.Field.add(WidgetAnnotation) com.aspose.pdf.Field.clear() com.aspose.pdf.Field.contains(WidgetAnnotation) com.aspose.pdf.Field.copyTo(WidgetAnnotation[],int) com.aspose.pdf.Field.isReadOnly() com.aspose.pdf.Field.remove(WidgetAnnotation)

com.aspose.pdf.FontCollection.isReadOnly() com.aspose.pdf.FontCollection.copyTo(Font[],int) com.aspose.pdf.FontCollection.contains(Font) com.aspose.pdf.FontCollection.remove(Font)

com.aspose.pdf.Form.copyTo(Field[],int) com.aspose.pdf.Form.get(int) com.aspose.pdf.Form.add(WidgetAnnotation) com.aspose.pdf.Form.clear() com.aspose.pdf.Form.contains(WidgetAnnotation) com.aspose.pdf.Form.copyTo(WidgetAnnotation[],int) com.aspose.pdf.Form.isReadOnly() com.aspose.pdf.Form.remove(WidgetAnnotation) com.aspose.pdf.Form.FlattenSettings.isHideButtons() com.aspose.pdf.Form.FlattenSettings.setHideButtons(boolean)

com.aspose.pdf.IDocument.getTaggedPdfContent()

com.aspose.pdf.ImagePlacementCollection.isReadOnly() com.aspose.pdf.ImagePlacementCollection.add(ImagePlacement) com.aspose.pdf.ImagePlacementCollection.copyTo(ImagePlacement[],int)

com.aspose.pdf.LightweightOperatorCollection.remove(Operator) com.aspose.pdf.LightweightOperatorCollection.contains(Operator) com.aspose.pdf.LightweightOperatorCollection.clear() com.aspose.pdf.LightweightOperatorCollection.isReadOnly()

com.aspose.pdf.Metadata.containsKey(String) com.aspose.pdf.Metadata.tryGetValue(String,Object[]) com.aspose.pdf.Metadata.tryGetValue(String,XmpValue[]) com.aspose.pdf.Metadata.addItem(String,Object)

com.aspose.pdf.PageCollection.isReadOnly() com.aspose.pdf.PageCollection.copyTo(Page[],int) com.aspose.pdf.PageCollection.contains(Page) com.aspose.pdf.PageCollection.remove(Page)

com.aspose.pdf.Rows.dispose()

com.aspose.pdf.TableElementCollection.isReadOnly() com.aspose.pdf.TableElementCollection.addItem(ITableElement) com.aspose.pdf.TableElementCollection.copyToTArray(T[],int) com.aspose.pdf.TableElementCollection.clear() com.aspose.pdf.TableElementCollection.containsItem(T) com.aspose.pdf.TableElementCollection.removeItem(T)

com.aspose.pdf.text.FontSourceCollection.copyTo(FontSource[],int) com.aspose.pdf.text.FontSourceCollection.contains(FontSource) com.aspose.pdf.text.FontSourceCollection.remove(FontSource)

com.aspose.pdf.text.FontSubstitutionCollection.contains(FontSubstitution) com.aspose.pdf.text.FontSubstitutionCollection.remove(FontSubstitution)

com.aspose.pdf.TextFragmentCollection.isReadOnly() com.aspose.pdf.TextFragmentCollection.add(TextFragment) com.aspose.pdf.TextFragmentCollection.copyTo(TextFragment[],int) com.aspose.pdf.TextFragmentCollection.clear() com.aspose.pdf.TextFragmentCollection.contains(TextFragment) com.aspose.pdf.TextFragmentCollection.remove(TextFragment)

com.aspose.pdf.TextMarkupAnnotation.getMarkedText() com.aspose.pdf.TextMarkupAnnotation.getMarkedTextFragments

com.aspose.pdf.TextParagraphCollection.isReadOnly() com.aspose.pdf.TextParagraphCollection.add(TextParagraph) com.aspose.pdf.TextParagraphCollection.copyTo(TextParagraph[],int) com.aspose.pdf.TextParagraphCollection.clear() com.aspose.pdf.TextParagraphCollection.contains(TextParagraph) com.aspose.pdf.TextParagraphCollection.remove(TextParagraph)

com.aspose.pdf.TextSegmentCollection.copyTo(TextSegment[],int) com.aspose.pdf.TextSegmentCollection.isReadOnly() com.aspose.pdf.TextSegmentCollection.clear() com.aspose.pdf.TextSegmentCollection.contains(TextSegment) com.aspose.pdf.TextSegmentCollection.remove(TextSegment)

com.aspose.pdf.TextState.measureString(String,boolean)

com.aspose.pdf.XFormCollection.isReadOnly() com.aspose.pdf.XFormCollection.copyTo(XForm[],int) com.aspose.pdf.XFormCollection.clear() com.aspose.pdf.XFormCollection.contains(XForm) com.aspose.pdf.XFormCollection.remove(XForm)

com.aspose.pdf.XImageCollection.isReadOnly() com.aspose.pdf.XImageCollection.copyTo(XImage[],int) com.aspose.pdf.XImageCollection.clear() com.aspose.pdf.XImageCollection.contains(XImage) com.aspose.pdf.XImageCollection.remove(XImage)

Changed methods: com.aspose.pdf.DocumentInfo.addItem(Object,Object) -> com.aspose.pdf.DocumentInfo.addItem(String,String) com.aspose.pdf.DocumentInfo.removeItem(Object) -> com.aspose.pdf.DocumentInfo.remove(String) com.aspose.pdf.DocumentInfo.get_Item(Object)> -> com.aspose.pdf.DocumentInfo.get_Item(String) com.aspose.pdf.DocumentInfo.set_Item(Object,Object) -> com.aspose.pdf.DocumentInfo.set_Item(String,String)

com.aspose.pdf.facades.PdfXmpMetadata.add(int,Object) -> com.aspose.pdf.facades.PdfXmpMetadata.addItem(int,XmpValue) com.aspose.pdf.facades.PdfXmpMetadata.addItem(Object,Object) -> com.aspose.pdf.facades.PdfXmpMetadata.addItem(String,Object) com.aspose.pdf.facades.PdfXmpMetadata.contains(Object) -> com.aspose.pdf.facades.PdfXmpMetadata.contains(String) com.aspose.pdf.facades.PdfXmpMetadata.removeItem(Object) -> com.aspose.pdf.facades.PdfXmpMetadata.removeItemByKey(String) com.aspose.pdf.facades.PdfXmpMetadata.get_Item(Object) -> com.aspose.pdf.facades.PdfXmpMetadata.get_Item(String) com.aspose.pdf.facades.PdfXmpMetadata.set_Item(Object,Object) -> com.aspose.pdf.facades.PdfXmpMetadata.set_Item(String,XmpValue) com.aspose.pdf.facades.PdfXmpMetadata.setByDefaultMetadataProperties(int,Object) -> com.aspose.pdf.facades.PdfXmpMetadata.setByDefaultMetadataProperties(int,XmpValue)

com.aspose.pdf.Metadata.addItem(Object,Object) -> com.aspose.pdf.Metadata.addItem(String,XmpValue) com.aspose.pdf.Metadata.add(String,XmpPdfAExtensionObject) -> com.aspose.pdf.Metadata.addItem(String,XmpPdfAExtensionObject) com.aspose.pdf.Metadata.contains(Object) -> com.aspose.pdf.Metadata.contains(String) com.aspose.pdf.Metadata.removeItem(Object) -> com.aspose.pdf.Metadata.removeItemByKey(String) com.aspose.pdf.Metadata.get_Item(Object) -> com.aspose.pdf.Metadata.get_Item(String) com.aspose.pdf.Metadata.set_Item(Object,Object) -> com.aspose.pdf.Metadata.set_Item(String,XmpValue)

Removed obsoleted methods:

com.aspose.pdf.ArtifactCollection.contains(Artifact) com.aspose.pdf.BaseOperatorCollection.getSyncRoot() com.aspose.pdf.BaseOperatorCollection.isSynchronized()

com.aspose.pdf.LightweightOperatorCollection.getSyncRoot() com.aspose.pdf.LightweightOperatorCollection.isSynchronized()

Removed obsoleted class:

com.aspose.pdf.Selector