Browse our Products

Aspose.Note for Java 2.2.0 Release Notes

Aspose.Note for Java is a class library that enables applications to interact with Microsoft Office OneNote programmatically without it being installed on the server. It is a pure alternate for the Microsoft OneNote Object Model and provides better performance and ease of use for managing OneNote documents.

Visit the documentation to learn how to Getting Started.

Features and Improvements

NOTEJAVA-71Add support for OneNote Online file formatNew Feature
NOTEJAVA-75Add support for alternative text in imageEnhancement
NOTEJAVA-25Implement different algorithms of page splitting during PDF exportEnhancement
NOTEJAVA-81Add custom exceptions for most of exceptional scenariosEnhancement
NOTEJAVA-28Not Supported Exception while loading OneNote filesBug
NOTEJAVA-76Long solid text cannot be saved to OneNote formatBug
NOTEJAVA-77IOE is thrown in case page revision does not have create time propertyBug
NOTEJAVA-78Error on save to OneNote format when PageNode does not have last modified time propertyBug
NOTEJAVA-79Output OneNote page has wrong layout in the evaluation modeBug
NOTEJAVA-88User File raises Exception while loading using the APIBug

Public API and Backward Incompatible Changes

The following is a list of any changes made to the public API such as added, renamed, removed or deprecated members as well as any non-backward compatible change made to Aspose.Note for Java.

Support for Image Alternate Text

Added Image.setAlternativeText and Image.getAlternativeText methods.

Setting Page Splitting Algorithm

Added PdfSaveOptions.setPageSplittingAlgorithm and PdfSaveOptions.getPageSplittingAlgorithm methods, AlwaysSplitObjectsAlgorithm, KeepPartAndCloneSolidObjectToNextPageAlgorithm and KeepSolidObjectsAlgorithm types.

Use these members to specify page splitting algorithm.

New Exception Classes

  1. FileCorruptedException - Thrown during document load, when the document appears to be corrupted and impossible to load.
  2. IncorrectDocumentStructureException - Thrown if a user created document has incorrect structure.
  3. IncorrectPasswordException - Thrown if a document is encrypted with a password and the password specified when opening the document is incorrect or missing.
  4. UnsupportedFileFormatException - Thrown during document load, when the file format is not recognized or not supported by Aspose.Note.
  5. UnsupportedSaveFormatException - Thrown if requested save format is not supported.