com.aspose.note

Class HtmlSaveOptions



  • public class HtmlSaveOptions
    extends SaveOptions

    Allows to specify additional options when saving document to HTML format.

    • Constructor Detail

      • HtmlSaveOptions

        public HtmlSaveOptions()

        Initializes a new instance of the HtmlSaveOptions class.

    • Method Detail

      • getPageCount

        public final int getPageCount()

        Gets or sets the number of pages to save. By default is int#Int32Extensions.MaxValue which means all pages of the document will be rendered.

      • setPageCount

        public final void setPageCount(int value)

        Gets or sets the number of pages to save. By default is int#Int32Extensions.MaxValue which means all pages of the document will be rendered.

      • getPageIndex

        public final int getPageIndex()

        Gets or sets the index of the first page to save. By default is 0.

      • setPageIndex

        public final void setPageIndex(int value)

        Gets or sets the index of the first page to save. By default is 0.

      • getExportFonts

        public final int getExportFonts()

        Gets or sets the way fonts are exported.

      • setExportFonts

        public final void setExportFonts(int value)

        Gets or sets the way fonts are exported.

      • getExportCss

        public final int getExportCss()

        Gets or sets the way css is exported.

      • setExportCss

        public final void setExportCss(int value)

        Gets or sets the way css is exported.

      • getExportImages

        public final int getExportImages()

        Gets or sets the way images are exported.

      • setExportImages

        public final void setExportImages(int value)

        Gets or sets the way images are exported.

      • getFontFaceTypes

        public final int getFontFaceTypes()

        Gets or sets the font face types.

        Value: The font face types.
      • setFontFaceTypes

        public final void setFontFaceTypes(int value)

        Gets or sets the font face types.

        Value: The font face types.
      • getCssSavingCallback

        public final ICssSavingCallback getCssSavingCallback()

        Gets or sets the callback that is called to create resource to store CSS.

      • setCssSavingCallback

        public final void setCssSavingCallback(ICssSavingCallback value)

        Gets or sets the callback that is called to create resource to store CSS.

      • getFontSavingCallback

        public final IFontSavingCallback getFontSavingCallback()

        Gets or sets the callback that is called to create resource to store font.

      • setFontSavingCallback

        public final void setFontSavingCallback(IFontSavingCallback value)

        Gets or sets the callback that is called to create resource to store font.

      • getImageSavingCallback

        public final IImageSavingCallback getImageSavingCallback()

        Gets or sets the callback that is called to create resource to store image.

      • setImageSavingCallback

        public final void setImageSavingCallback(IImageSavingCallback value)

        Gets or sets the callback that is called to create resource to store image.