Browse our Products

Aspose.PDF for Java 18.1 Release Notes

Features and Improvements

KeySummaryCategory
PDFJAVA-35762Extract text from PDF by paragraphsNew Feature
PDFJAVA-34279PostScript to PDF conversionNew Feature
PDFJAVA-37411EPS to PDF conversion supportNew Feature
PDFJAVA-36111Converting XFA form to standard adds two extra pagesBug
PDFJAVA-36039PCL to PDF: PCL Line Space sequences do not workBug
PDFJAVA-35365XFA to Standard - Exception during conversionBug
PDFJAVA-34893HTML to PDF conversion: contents are moving off the pageBug
PDFJAVA-36582DropDown value is not completely visible when calling flatten() methodBug
PDFJAVA-35674PDF to PDF/A - Exception during conversionBug
PDFJAVA-35991PDF to PDFA: Vertical text renders in different orderBug
PDFJAVA-37071PDF to JPG - the missing text on the first pageBug
PDFJAVA-35601SVG to PDF - The image does not appear within table cellBug
PDFJAVA-35686Exception message is not meaningful or related to missing fontsBug
PDFJAVA-35223Set ID for Image resource inside PDFBug
PDFJAVA-37349An exception raises when adding a local font pathBug
PDFJAVA-37286An exception raises while saving the document which contains HtmlFragmentsBug

Public API changes

Added new class com.aspose.pdf.AutoDetectedFormatLoadOptions constructors: com.aspose.pdf.AutoDetectedFormatLoadOptions()

Added new method: com.aspose.pdf.facades.PdfAnnotationEditor.redactExactArea(int,Rectangle,java.awt.Color)

Added new method: com.aspose.pdf.facades.Stamp.bindTextState(TextState)

Added new class com.aspose.pdf.IResourceLoadingCallback method: com.aspose.pdf.IResourceLoadingCallback.resourceLoading(Object,ResourceLoadingEventArgs)

Removed internal fields in the class com.aspose.pdf.LoadFormat public static final int Plugin = 11; public static final int AutoDetect = 12; Added new field: public static final int PS = 10;

Added new class com.aspose.pdf.MarkupParagraph methods: com.aspose.pdf.MarkupParagraph.getPoints() com.aspose.pdf.MarkupParagraph.getFragments() com.aspose.pdf.MarkupParagraph.getLines()

Added new class com.aspose.pdf.MarkupSection methods: com.aspose.pdf.MarkupSection.getRectangle() com.aspose.pdf.MarkupSection.getFragments() com.aspose.pdf.MarkupSection.getParagraphs()

Added new class com.aspose.pdf.PageMarkup methods: com.aspose.pdf.PageMarkup.getNumber() com.aspose.pdf.PageMarkup.getRectangle() com.aspose.pdf.PageMarkup.getSections() com.aspose.pdf.PageMarkup.getParagraphs() com.aspose.pdf.PageMarkup.getTextFragments()

Added new class com.aspose.pdf.ParagraphAbsorber methods: com.aspose.pdf.ParagraphAbsorber.getPageMarkups() com.aspose.pdf.ParagraphAbsorber.getSectionsSearchDepth() com.aspose.pdf.ParagraphAbsorber.setSectionsSearchDepth(int) com.aspose.pdf.ParagraphAbsorber.visit(Document) com.aspose.pdf.ParagraphAbsorber.visit(Page) constructors: com.aspose.pdf.ParagraphAbsorber.#ctor com.aspose.pdf.ParagraphAbsorber.#ctor(int)

Added new class com.aspose.pdf.PsLoadOptions methods: com.aspose.pdf.PsLoadOptions.getFontsFolders() com.aspose.pdf.PsLoadOptions.setFontsFolders(String[]) constructor: com.aspose.pdf.PsLoadOptions.#ctor

Added new method:  com.aspose.pdf.RedactionAnnotation.redactExact()

Added new class com.aspose.pdf.ResourceLoadingEventArgs method: com.aspose.pdf.ResourceLoadingEventArgs.getUri_ResourceLoadingEventArgs_New() constructor: com.aspose.pdf.ResourceLoadingEventArgs.#ctor(String)

Added new class com.aspose.pdf.ResourceLoadingResult methods: com.aspose.pdf.ResourceLoadingResult.getData_ResourceLoadingResult_New() com.aspose.pdf.ResourceLoadingResult.getEncoding_ResourceLoadingResult_New() constructors: com.aspose.pdf.ResourceLoadingResult.#ctor(byte[]) com.aspose.pdf.ResourceLoadingResult.#ctor(byte[],java.nio.charset.Charset)

Added new methods:  com.aspose.pdf.TextFormattingOptions.getSubsequentLinesIndent() com.aspose.pdf.TextFormattingOptions.setSubsequentLinesIndent(float)

Changed the method’s name in the class com.aspose.pdf.TextFragmentAbsorber: com.aspose.pdf.TextFragmentAbsorber.hasErrors_Rename_Namesake() -> com.aspose.pdf.TextFragmentAbsorber.hasErrors_Fragment()

Added new methods: com.aspose.pdf.TextFragmentState.getRenderingMode() com.aspose.pdf.TextFragmentState.setRenderingMode(int)

Added new methods:  com.aspose.pdf.TextFragmentState.getStrokingColor() com.aspose.pdf.TextFragmentState.setStrokingColor(Color) com.aspose.pdf.TextFragmentState.getDrawTextRectangleBorder()

Added new class com.aspose.pdf.TextRenderingMode Fields public static final int FillText = 0; public static final int StrokeText = 1; public static final int FillThenStrokeText = 2; public static final int Invisible = 3; public static final int FillTextAndAddPathToClipping = 4; public static final int StrokeTextAndAddPathToClipping = 5; public static final int FillThenStrokeTextAndAddPathToClipping = 6; public static final int AddPathToClipping = 7;

Added new constructor:  com.aspose.pdf.TextStamp.#ctor(String,TextState)

Added new methods:  com.aspose.pdf.TextState.getRenderingMode() com.aspose.pdf.TextState.setRenderingMode(int) com.aspose.pdf.TextState.getStrokingColor() com.aspose.pdf.TextState.setStrokingColor(com.aspose.pdf.Color)

The following methods return resource name now: com.aspose.pdf.XImageCollection.add(BufferedImage) com.aspose.pdf.XImageCollection.addWithImageFilterType(InputStream,int) com.aspose.pdf.XImageCollection.add(InputStream,int)