public class HtmlSaveOptions extends SaveOptions
Allows to specify additional options when saving document to HTML format.
Constructor and Description |
---|
HtmlSaveOptions()
Initializes a new instance of the
HtmlSaveOptions class. |
Modifier and Type | Method and Description |
---|---|
boolean |
getCssPerPageGeneration()
Gets or sets whether the StyleSheet file will be generated for each new page separately.
|
ICssSavingCallback |
getCssSavingCallback()
Gets or sets the callback that is called to create resource to store CSS.
|
boolean |
getDocumentPerPageGeneration()
Gets or sets a value indicating whether document per page generation is enabled.
|
int |
getExportCss()
Gets or sets the way css is exported.
|
int |
getExportFonts()
Gets or sets the way fonts are exported.
|
int |
getExportImages()
Gets or sets the way images are exported.
|
int |
getFontFaceTypes()
Gets or sets the font face types.
|
IFontSavingCallback |
getFontSavingCallback()
Gets or sets the callback that is called to create resource to store font.
|
IImageSavingCallback |
getImageSavingCallback()
Gets or sets the callback that is called to create resource to store image.
|
int |
getPageCount()
Gets or sets the number of pages to save.
|
int |
getPageIndex()
Gets or sets the index of the first page to save.
|
IPageSavingCallback |
getPageSavingCallback()
Gets or sets the callback that is called to create resource to store page.
|
void |
setCssPerPageGeneration(boolean value)
Gets or sets whether the StyleSheet file will be generated for each new page separately.
|
void |
setCssSavingCallback(ICssSavingCallback value)
Gets or sets the callback that is called to create resource to store CSS.
|
void |
setDocumentPerPageGeneration(boolean value)
Gets or sets a value indicating whether document per page generation is enabled.
|
void |
setExportCss(int value)
Gets or sets the way css is exported.
|
void |
setExportFonts(int value)
Gets or sets the way fonts are exported.
|
void |
setExportImages(int value)
Gets or sets the way images are exported.
|
void |
setFontFaceTypes(int value)
Gets or sets the font face types.
|
void |
setFontSavingCallback(IFontSavingCallback value)
Gets or sets the callback that is called to create resource to store font.
|
void |
setImageSavingCallback(IImageSavingCallback value)
Gets or sets the callback that is called to create resource to store image.
|
void |
setPageCount(int value)
Gets or sets the number of pages to save.
|
void |
setPageIndex(int value)
Gets or sets the index of the first page to save.
|
void |
setPageSavingCallback(IPageSavingCallback value)
Gets or sets the callback that is called to create resource to store page.
|
getFontsSubsystem, getSaveFormat, setFontsSubsystem
public HtmlSaveOptions()
Initializes a new instance of the HtmlSaveOptions
class.
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.
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.
public final int getPageIndex()
Gets or sets the index of the first page to save. By default is 0.
public final void setPageIndex(int value)
Gets or sets the index of the first page to save. By default is 0.
public final int getExportFonts()
Gets or sets the way fonts are exported.
public final void setExportFonts(int value)
Gets or sets the way fonts are exported.
public final int getExportCss()
Gets or sets the way css is exported.
public final void setExportCss(int value)
Gets or sets the way css is exported.
public final int getExportImages()
Gets or sets the way images are exported.
public final void setExportImages(int value)
Gets or sets the way images are exported.
public final int getFontFaceTypes()
Gets or sets the font face types.
Value: The font face types.public final void setFontFaceTypes(int value)
Gets or sets the font face types.
Value: The font face types.public final boolean getDocumentPerPageGeneration()
Gets or sets a value indicating whether document per page generation is enabled.
public final void setDocumentPerPageGeneration(boolean value)
Gets or sets a value indicating whether document per page generation is enabled.
public final boolean getCssPerPageGeneration()
Gets or sets whether the StyleSheet file will be generated for each new page separately.
public final void setCssPerPageGeneration(boolean value)
Gets or sets whether the StyleSheet file will be generated for each new page separately.
public final ICssSavingCallback getCssSavingCallback()
Gets or sets the callback that is called to create resource to store CSS.
public final void setCssSavingCallback(ICssSavingCallback value)
Gets or sets the callback that is called to create resource to store CSS.
public final IFontSavingCallback getFontSavingCallback()
Gets or sets the callback that is called to create resource to store font.
public final void setFontSavingCallback(IFontSavingCallback value)
Gets or sets the callback that is called to create resource to store font.
public final IImageSavingCallback getImageSavingCallback()
Gets or sets the callback that is called to create resource to store image.
public final void setImageSavingCallback(IImageSavingCallback value)
Gets or sets the callback that is called to create resource to store image.
public final IPageSavingCallback getPageSavingCallback()
Gets or sets the callback that is called to create resource to store page.
public final void setPageSavingCallback(IPageSavingCallback value)
Gets or sets the callback that is called to create resource to store page.
Copyright (c) 2002-2018 Aspose. All Rights Reserved.