Browse our Products

Aspose.Note for Java 18.1 Release Notes

Features and Improvements

Features and Improvements

KeySummaryCategory
NOTENET-2247Support saving to stream in html format New Feature
NOTEJAVA-305Add support of saving to file in html format New Feature
NOTEJAVA-10Add support for saving to HTML format New Feature
NOTEJAVA-234ArgumentNullException Parameter name: trueTypeFontBug

Public API and Backwards Incompatible Changes

Public type addedDescription
com.aspose.note.CssSavingArgsProvides data for CssSaving event.
com.aspose.note.FontSavingArgsProvides data for FontSaving event.
com.aspose.note.ImageSavingArgsProvides data for ImageSaving event.
com.aspose.note.ResourceSavingArgsProvides data for ResourceSaving event.
com.aspose.note.ICssSavingCallbackImplement this interface if you want to control how Aspose.Note saves CSS (Cascading Style Sheet) when saving a document to HTML.
com.aspose.note.IFontSavingCallbackImplement this interface if you want to control how Aspose.Note saves fonts when saving a document to HTML.
com.aspose.note.IImageSavingCallbackImplement this interface if you want to control how Aspose.Note saves images when saving a document to HTML.
com.aspose.note.ResourceExportTypeEnumerates ways a resource can be exported
com.aspose.note.HtmlImageTypeEnumerates HTML image types
com.aspose.note.FontFaceTypeEnumerates font face types
com.aspose.note.HtmlSaveOptionsAllows to specify additional options when saving document to HTML format.
Public methods and properties addedDescription
com.aspose.note.FontSavingArgs.getFontFamilyName()Gets the family name of the font to be saved
com.aspose.note.FontSavingArgs.isBold()Gets a value indicating whether font under saving is bold.
com.aspose.note.FontSavingArgs.isItalic()Gets a value indicating whether font under saving is italic.
com.aspose.note.ImageSavingArgs.getImageType()Gets type of image to be saved.
com.aspose.note.ResourceSavingArgs.getDocument()Gets the saving document.
com.aspose.note.ResourceSavingArgs.getFileName()Gets the suggested filename to store resource.
com.aspose.note.ResourceSavingArgs.getStream()Gets the stream used to store the resource.
com.aspose.note.ResourceSavingArgs.setStream(java.io.OutputStream)Sets the stream used to store the resource.
com.aspose.note.ResourceSavingArgs.getKeepStreamOpen()Gets a value indicating whether keep stream open.
com.aspose.note.ResourceSavingArgs.setKeepStreamOpen(boolean)Sets a value indicating whether keep stream open.
com.aspose.note.ResourceSavingArgs.getUri()Gets the uri to access stored resource.
com.aspose.note.ResourceSavingArgs.setUri(java.lang.String)Sets the uri to access stored resource.
com.aspose.note.ICssSavingCallback.cssSaving(com.aspose.note.CssSavingArgs)Implement this interface if you want to control how Aspose.Note saves CSS (Cascading Style Sheet) when saving a document to HTML.
com.aspose.note.IFontSavingCallback.fontSaving(com.aspose.note.FontSavingArgs)Implement this interface if you want to control how Aspose.Note saves fonts when saving a document to HTML.
com.aspose.note.IImageSavingCallback.imageSaving(com.aspose.note.ImageSavingArgs)Implement this interface if you want to control how Aspose.Note saves images when saving a document to HTML.
com.aspose.note.HtmlSaveOptions.getPageCount()Gets the number of pages to save.
com.aspose.note.HtmlSaveOptions.setPageCount(int)Sets the number of pages to save.
com.aspose.note.HtmlSaveOptions.getPageIndex()Gets the index of the first page to save. By default is 0.
com.aspose.note.HtmlSaveOptions.setPageIndex(int)Sets the index of the first page to save.
com.aspose.note.HtmlSaveOptions.getExportFonts()Gets the way fonts are exported.
com.aspose.note.HtmlSaveOptions.setExportFonts(int)Sets the way fonts are exported.
com.aspose.note.HtmlSaveOptions.getExportCss()Gets  the way css is exported.
com.aspose.note.HtmlSaveOptions.setExportCss(int)Sets  the way css is exported.
com.aspose.note.HtmlSaveOptions.getExportImages()Gets  the way images are exported.
com.aspose.note.HtmlSaveOptions.setExportImages(int)Sets  the way images are exported.
com.aspose.note.HtmlSaveOptions.getFontFaceTypes()Gets the font face types.
com.aspose.note.HtmlSaveOptions.setFontFaceTypes(int)Sets the font face types.
com.aspose.note.HtmlSaveOptions.getCssSavingCallback()Gets the callback that is called to create resource to store CSS.
com.aspose.note.HtmlSaveOptions.setCssSavingCallback(com.aspose.note.ICssSavingCallback)Sets the callback that is called to create resource to store CSS.
com.aspose.note.HtmlSaveOptions.getFontSavingCallback()Gets the callback that is called to create resource to store font.
com.aspose.note.HtmlSaveOptions.setFontSavingCallback(com.aspose.note.IFontSavingCallback)Sets the callback that is called to create resource to store font.
com.aspose.note.HtmlSaveOptions.getImageSavingCallback()Gets the callback that is called to create resource to store image.
com.aspose.note.HtmlSaveOptions.setImageSavingCallback(com.aspose.note.IImageSavingCallback)Sets the callback that is called to create resource to store image.
Public constants and enumerations addedDescription
com.aspose.note.ResourceExportType.NoExportThe resource is skipped
com.aspose.note.ResourceExportType.ExportAsFileThe resource is exported as separate file
com.aspose.note.ResourceExportType.ExportEmbeddedThe resource exported as base64-encoded value into HTML page
com.aspose.note.HtmlImageType.JpegJPEG JFIF
com.aspose.note.HtmlImageType.PngPortable Network Graphics
com.aspose.note.HtmlImageType.BmpWindows Bitmap
com.aspose.note.HtmlImageType.GifGif image format
com.aspose.note.HtmlImageType.TiffTiff image format
com.aspose.note.HtmlImageType.SvgSVG image format
com.aspose.note.HtmlImageType.SvgzCompressed SVG
com.aspose.note.HtmlImageType.UnknownUnknown format
com.aspose.note.FontFaceType.NotSpecifiedFont type is not spefied
com.aspose.note.FontFaceType.TtfThe true type fot
com.aspose.note.FontFaceType.EotThe eot font
com.aspose.note.FontFaceType.WoffThe woff font
com.aspose.note.SaveFormat.HtmlSpecifies that the output is a HTML file.