Aspose.Note for Java 20.5 Release Notes

Major Features

  • Refactoring of document’s rendering: now formatting of the generated PDF document is more consistent with documents generated by Microsoft OneNote
  • Refactoring of processing of *.onetoc2 files
  • Refactoring of font processing to properly work under Linux

Features and Improvements

Key Summary Category
NOTENET-2533 Fonts files are not created when using the resource saving callbacks Bug
NOTENET-2791 Complete information is not rendered to PDF Bug
NOTENET-2878 Problem opening ONETOC2 files Bug
NOTEJAVA-710 Text cut off when converting OneNote file to PDF Bug
NOTEJAVA-711 Resolving font when converting OneNote file to PDF Bug

Public API and Backward Incompatible Changes

The following public methods were added: Description
com.aspose.note.fonts.DocumentFontsSubsystem.#ctor(java.io.InputStream) Initializes a new instance of the DocumentFontsSubsystem class.
com.aspose.note.fonts.DocumentFontsSubsystem.#ctor(java.lang.String) Initializes a new instance of the DocumentFontsSubsystem class.
com.aspose.note.fonts.DocumentFontsSubsystem.#ctor(java.io.InputStream,java.util.HashMap) Initializes a new instance of the DocumentFontsSubsystem class.
com.aspose.note.fonts.DocumentFontsSubsystem.#ctor(java.lang.String,java.util.HashMap) Initializes a new instance of the DocumentFontsSubsystem class.
com.aspose.note.fonts.FontsSubsystem.#ctor(java.io.InputStream) Initializes a new instance of the FontsSubsystem class.
com.aspose.note.fonts.FontsSubsystem.#ctor(java.lang.String) Initializes a new instance of the FontsSubsystem class.
com.aspose.note.fonts.FontsSubsystem.#ctor(java.io.InputStream,java.util.HashMap) Initializes a new instance of the FontsSubsystem class.
com.aspose.note.fonts.FontsSubsystem.#ctor(java.lang.String,java.util.HashMap) Initializes a new instance of the FontsSubsystem class.
The following public properties were added: Description
com.aspose.note.Image.isBackground Gets whether the image is a background image.
com.aspose.note.Image.setBackground(boolean) Sets whether the image is a background image.
The following public constants and enumerations were added: Description
com.aspose.note.FontFaceType.DontSave Do not save fonts.