Aspose.Note for Java 18.9 Release Notes

Major Features

  • Managing font’s environment for a document
  • Inserting of pages functionality

Features and Improvements

KeySummaryCategory
NOTENET-2633Default font for Note documentsNew Feature
NOTENET-2629How copy page from one document to another to certain positionNew Feature
NOTENET-2639Fix the bug with saving as html: style’s saving is brokenBug
NOTEJAVA-501OneNote to Html: Content upside down and Data crossing tableBug
NOTEJAVA-500OneNote to HTML: Table turned upside downBug
NOTEJAVA-499SaveFormat.Html raises nonsupported file format errorBug
NOTEJAVA-479Aspose.Note has method setKeepStreamOpen which does not workBug
NOTEJAVA-443Investigate bug about saving with different options in a rowBug
NOTEJAVA-464OneNote to HTML reverses contents in output content 

Public API and Backward Incompatible Changes

The following public types were added:Description
com.aspose.note.fonts.IFontsSubsystemImplement this interface if you want to control how Aspose.Note retrieves fonts when saving a document.
com.aspose.note.fonts.FontsSubsystemBase class implementing com.aspose.note.fonts.IFontsSubsystem interface. Provides functionality for default font and font’s substitutions. Override com.aspose.note.fonts.FontsSubsystem.fetchFontFamily protected member function in a derived class to implement logic for retrieving of java.awt.Font object.
com.aspose.note.fonts.DocumentFontsSubsystemSimple implementation of com.aspose.note.fonts.FontsSubsystem. Retrieves java.awt.Font object from OS.
The following public types were added:Description
com.aspose.note.CompositeNode.insertChild(int,com.aspose.note.INode)Inserts the node to the specified position in the list of child nodes for this node.
com.aspose.note.CompositeNode.insertChildrenRange(int,java.lang.Iterable)Inserts the node’s sequence starting from specified position in the list of child nodes for this node.
com.aspose.note.CompositeNode.insertChildrenRange(int,com.aspose.note.INode[])Inserts the node’s sequence starting from specified position in the list of child nodes for this node.
com.aspose.note.CompositeNode.appendChildFirst(com.aspose.note.INode)Adds the node to the front of the list of child nodes for this node.
com.aspose.note.CompositeNode.appendChildLast(com.aspose.note.INode)Adds the node to the end of the list of child nodes for this node.
com.aspose.note.Saving.SaveOptions.getFontsSubsystemGets font’s settings to be used while saving
com.aspose.note.Saving.SaveOptions.setFontsSubsystem(com.aspose.note.IFontsSubsystem)Sets font’s settings to be used while saving
com.aspose.note.fonts.DocumentFontsSubsystem.#ctorInitializes a new instance of the DocumentFontsSubsystem class.
com.aspose.note.fonts.DocumentFontsSubsystem.#ctor(java.awt.Font)Initializes a new instance of the DocumentFontsSubsystem class.
com.aspose.note.fonts.DocumentFontsSubsystem.#ctor(java.util.HashMap)Initializes a new instance of the DocumentFontsSubsystem class.
com.aspose.note.fonts.DocumentFontsSubsystem.#ctor(java.awt.Font,java.util.HashMap)Initializes a new instance of the DocumentFontsSubsystem class.
com.aspose.note.fonts.FontsSubsystem.#ctorInitializes a new instance of the FontsSubsystem class. 
com.aspose.note.fonts.FontsSubsystem.#ctor(java.awt.Font)Initializes a new instance of the FontsSubsystem class. 
com.aspose.note.fonts.FontsSubsystem.#ctor(java.awt.Font,java.util.HashMap)Initializes a new instance of the FontsSubsystem class. 
com.aspose.note.fonts.FontsSubsystem.defaultFontGets or sets default font.
com.aspose.note.fonts.FontsSubsystem.addFontSubstitution(java.lang.String,java.lang.String)Adds font substitution.
com.aspose.note.fonts.FontsSubsystem.addFont(System.IO.Stream)Adds the font.
com.aspose.note.fonts.FontsSubsystem.addFont(java.lang.String)Adds the font.
com.aspose.note.fonts.FontsSubsystem.loadFontsFromFolder(java.lang.String)Loads all TrueType fonts from specified folder to internal collection.
com.aspose.note.fonts.FontsSubsystem.getFontFamily(java.lang.String)Gets specified font family.
com.aspose.note.fonts.FontsSubsystem.translateFontName(java.lang.String)Tries to translate font name to its substitution via internal table.
com.aspose.note.fonts.FontsSubsystem.fetchFontFamily(java.lang.String)Override this protected member function in a derived class to implement logic for retrieving of  java.awt.Font object.
com.aspose.note.fonts.FontsSubsystem.findFontFamilyInInternalCollection(java.lang.String)Tries to find font family in internal collection of fonts.
com.aspose.note.fonts.IFontsSubsystem.getFontFamily(java.lang.String)Gets specified font family.
com.aspose.note.fonts.FontsSubsystem.getSystemDefaultFont()Gets default system font.
The following public methods and constants are marked as deprecated:Description
com.aspose.note.CompositeNode.appendChild(com.aspose.note.INode)Adds the node to the end of the list of child nodes for this node.
com.aspose.note.ResourceExportType.ExportAsFileThe resource is exported as separate file. Use ResourceExportType.ExportAsStream instead.
The following public constants and enumerations were added:Description
com.aspose.note.fonts.DocumentFontsSubsystem.getDefault()Default static instance of DocumentFontsSubsystem. It is used in case when com.aspose.note.SaveOptions.setFontsSubsystem() is not called.
com.aspose.note.ResourceExportType.ExportAsStreamThe resource is exported to a specified stream