HtmlSaveOptions

Inheritance: java.lang.Object, com.aspose.note.SaveOptions

public class HtmlSaveOptions extends SaveOptions

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

Constructors

ConstructorDescription
HtmlSaveOptions()Initializes a new instance of the HtmlSaveOptions class.

Methods

MethodDescription
getCssPerPageGeneration()Gets or sets whether the StyleSheet file will be generated for each new page separately.
getCssSavingCallback()Gets or sets the callback that is called to create resource to store CSS.
getDocumentPerPageGeneration()Gets or sets a value indicating whether document per page generation is enabled.
getExportCss()Gets or sets the way css is exported.
getExportFonts()Gets or sets the way fonts are exported.
getExportImages()Gets or sets the way images are exported.
getFontFaceTypes()Gets or sets the font face types.
getFontSavingCallback()Gets or sets the callback that is called to create resource to store font.
getImageSavingCallback()Gets or sets the callback that is called to create resource to store image.
getPageSavingCallback()Gets or sets the callback that is called to create resource to store page.
setCssPerPageGeneration(boolean value)Gets or sets whether the StyleSheet file will be generated for each new page separately.
setCssSavingCallback(ICssSavingCallback value)Gets or sets the callback that is called to create resource to store CSS.
setDocumentPerPageGeneration(boolean value)Gets or sets a value indicating whether document per page generation is enabled.
setExportCss(int value)Gets or sets the way css is exported.
setExportFonts(int value)Gets or sets the way fonts are exported.
setExportImages(int value)Gets or sets the way images are exported.
setFontFaceTypes(int value)Gets or sets the font face types.
setFontSavingCallback(IFontSavingCallback value)Gets or sets the callback that is called to create resource to store font.
setImageSavingCallback(IImageSavingCallback value)Gets or sets the callback that is called to create resource to store image.
setPageSavingCallback(IPageSavingCallback value)Gets or sets the callback that is called to create resource to store page.

HtmlSaveOptions()

public HtmlSaveOptions()

Initializes a new instance of the HtmlSaveOptions class.

getCssPerPageGeneration()

public final boolean getCssPerPageGeneration()

Gets or sets whether the StyleSheet file will be generated for each new page separately.

Returns: boolean

getCssSavingCallback()

public final ICssSavingCallback getCssSavingCallback()

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

Returns: ICssSavingCallback

getDocumentPerPageGeneration()

public final boolean getDocumentPerPageGeneration()

Gets or sets a value indicating whether document per page generation is enabled.

Returns: boolean

getExportCss()

public final int getExportCss()

Gets or sets the way css is exported.

Returns: int

getExportFonts()

public final int getExportFonts()

Gets or sets the way fonts are exported.

Returns: int

getExportImages()

public final int getExportImages()

Gets or sets the way images are exported.

Returns: int

getFontFaceTypes()

public final int getFontFaceTypes()

Gets or sets the font face types.

Value: The font face types.

Returns: int

getFontSavingCallback()

public final IFontSavingCallback getFontSavingCallback()

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

Returns: IFontSavingCallback

getImageSavingCallback()

public final IImageSavingCallback getImageSavingCallback()

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

Returns: IImageSavingCallback

getPageSavingCallback()

public final IPageSavingCallback getPageSavingCallback()

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

Returns: IPageSavingCallback

setCssPerPageGeneration(boolean value)

public final void setCssPerPageGeneration(boolean value)

Gets or sets whether the StyleSheet file will be generated for each new page separately.

Parameters:

ParameterTypeDescription
valueboolean

setCssSavingCallback(ICssSavingCallback value)

public final void setCssSavingCallback(ICssSavingCallback value)

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

Parameters:

ParameterTypeDescription
valueICssSavingCallback

setDocumentPerPageGeneration(boolean value)

public final void setDocumentPerPageGeneration(boolean value)

Gets or sets a value indicating whether document per page generation is enabled.

Parameters:

ParameterTypeDescription
valueboolean

setExportCss(int value)

public final void setExportCss(int value)

Gets or sets the way css is exported.

Parameters:

ParameterTypeDescription
valueint

setExportFonts(int value)

public final void setExportFonts(int value)

Gets or sets the way fonts are exported.

Parameters:

ParameterTypeDescription
valueint

setExportImages(int value)

public final void setExportImages(int value)

Gets or sets the way images are exported.

Parameters:

ParameterTypeDescription
valueint

setFontFaceTypes(int value)

public final void setFontFaceTypes(int value)

Gets or sets the font face types.

Value: The font face types.

Parameters:

ParameterTypeDescription
valueint

setFontSavingCallback(IFontSavingCallback value)

public final void setFontSavingCallback(IFontSavingCallback value)

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

Parameters:

ParameterTypeDescription
valueIFontSavingCallback

setImageSavingCallback(IImageSavingCallback value)

public final void setImageSavingCallback(IImageSavingCallback value)

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

Parameters:

ParameterTypeDescription
valueIImageSavingCallback

setPageSavingCallback(IPageSavingCallback value)

public final void setPageSavingCallback(IPageSavingCallback value)

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

Parameters:

ParameterTypeDescription
valueIPageSavingCallback