Aspose.HTML for Java 19.3 Release Notes

Aspose.HTML for Java 19.3.0 Release Notes

Major Features

As per regular monthly update process of all APIs being offered by Aspose, we are honored to announce the March release of Aspose.HTML for Java. The main improvement of this release is that we created a truly parallel mechanism of processing the documents that significantly improved performance of processing the documents with lot of resources. Moreover, from this release you do not need to wait until document will be loaded, parsed and all scripts will be executed which of course is blocking the main thread of your application. You just need to subscribe to events the ‘OnReadyStateChange’ or ‘OnLoad’ and call the method ’navigate’ that is not blocking main thread. Once the document is ready, these events will be fired. Also, we present a new package ‘com.aspose.html.dom.mutations’ that provides mechanisms to watch for changes being made to the DOM tree. Apart from these, we have made some internal bug fixes and enhancements as following:

Improvement and Changes

HTMLJAVA-109Unable to convert HTML to PDFBug
HTMLJAVA-131Image opacity is ignored in generated PDFBug
HTMLJAVA-185The size parameter is not counted during the SVG rendering processBug
HTMLJAVA-211TypeError: Failed to parse URLBug

Added APIs

Added the overridden method ICSSStyleDeclaration.SetProperty to simplify the declaration object usage.

namespace Aspose.Html.Dom.Css {     public interface ICSSStyleDeclaration : IEnumerable, ICSS2Properties     {         ///

        /// Used to set a property value within this declaration block.         ///         /// The name of the CSS property.         /// The property value.         void SetProperty(string propertyName, string value);     } }