Aspose-Note-for-Java

We are pleased to announce the release of Aspose.Note for Java 18.1. This method includes a new feature of exporting OneNote data to HTML file format. Documents can also be saved to Html format in Byte array. For a complete list of what is new and fixed, please visit the release notes section of the API.

Convert OneNote Documents to HTML in Java

This latest release of Aspose.Note for Java introduces the capability of converting OneNote documents to Html file format. This is a long-awaited feature that was in our To-Do list for quite some time. The implementation of this feature lets you save OneNote documents to file on the disc as well as an output Byte array. The feature is available in the following three variants.

Convert OneNote to Byte Array with Embedded Resources

The following code sample shows how to convert OneNote to a byte array with embedded resources in Java.

Convert OneNote to Byte Array with Callbacks

The following code sample shows how to convert OneNote to a byte array with callbacks in Java.

The above code example will require the following class for execution.

Convert OneNote to HTML With Resources in Separate Files

The following code sample shows how to convert OneNote to HTML by keeping resources in separate files in Java.

API Resources

  • Documentation – Visit our documentation section for getting started with the API in no time
  • API Reference Guide – Gives detailed information about all the namespaces, classes and methods of the API
  • Forum Support – Post your queries on Aspose.Note forum to get assistance from our technical support team
  • GitHub Examples – Try the ready-to-use examples of the API by downloading from our GitHub repository