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
Constructor | Description |
---|---|
HtmlSaveOptions() | Initializes a new instance of the HtmlSaveOptions class. |
Methods
Method | Description |
---|---|
getExportFonts() | Gets or sets the way fonts are exported. |
setExportFonts(int value) | Gets or sets the way fonts are exported. |
getExportCss() | Gets or sets the way css is exported. |
setExportCss(int value) | Gets or sets the way css is exported. |
getExportImages() | Gets or sets the way images are exported. |
setExportImages(int value) | Gets or sets the way images are exported. |
getFontFaceTypes() | Gets or sets the font face types. |
setFontFaceTypes(int value) | Gets or sets the font face types. |
getDocumentPerPageGeneration() | Gets or sets a value indicating whether document per page generation is enabled. |
setDocumentPerPageGeneration(boolean value) | Gets or sets a value indicating whether document per page generation is enabled. |
getCssPerPageGeneration() | Gets or sets whether the StyleSheet file will be generated for each new page separately. |
setCssPerPageGeneration(boolean value) | 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. |
setCssSavingCallback(ICssSavingCallback value) | Gets or sets the callback that is called to create resource to store CSS. |
getFontSavingCallback() | Gets or sets the callback that is called to create resource to store font. |
setFontSavingCallback(IFontSavingCallback value) | 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. |
setImageSavingCallback(IImageSavingCallback value) | 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. |
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.
getExportFonts()
public final int getExportFonts()
Gets or sets the way fonts are exported.
Returns: int
setExportFonts(int value)
public final void setExportFonts(int value)
Gets or sets the way fonts are exported.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getExportCss()
public final int getExportCss()
Gets or sets the way css is exported.
Returns: int
setExportCss(int value)
public final void setExportCss(int value)
Gets or sets the way css is exported.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getExportImages()
public final int getExportImages()
Gets or sets the way images are exported.
Returns: int
setExportImages(int value)
public final void setExportImages(int value)
Gets or sets the way images are exported.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getFontFaceTypes()
public final int getFontFaceTypes()
Gets or sets the font face types.
Value: The font face types.
Returns: int
setFontFaceTypes(int value)
public final void setFontFaceTypes(int value)
Gets or sets the font face types.
Value: The font face types.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getDocumentPerPageGeneration()
public final boolean getDocumentPerPageGeneration()
Gets or sets a value indicating whether document per page generation is enabled.
Returns: boolean
setDocumentPerPageGeneration(boolean value)
public final void setDocumentPerPageGeneration(boolean value)
Gets or sets a value indicating whether document per page generation is enabled.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getCssPerPageGeneration()
public final boolean getCssPerPageGeneration()
Gets or sets whether the StyleSheet file will be generated for each new page separately.
Returns: boolean
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
getCssSavingCallback()
public final ICssSavingCallback getCssSavingCallback()
Gets or sets the callback that is called to create resource to store CSS.
Returns: ICssSavingCallback
setCssSavingCallback(ICssSavingCallback value)
public final void setCssSavingCallback(ICssSavingCallback value)
Gets or sets the callback that is called to create resource to store CSS.
Parameters:
Parameter | Type | Description |
---|---|---|
value | ICssSavingCallback |
getFontSavingCallback()
public final IFontSavingCallback getFontSavingCallback()
Gets or sets the callback that is called to create resource to store font.
Returns: IFontSavingCallback
setFontSavingCallback(IFontSavingCallback value)
public final void setFontSavingCallback(IFontSavingCallback value)
Gets or sets the callback that is called to create resource to store font.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IFontSavingCallback |
getImageSavingCallback()
public final IImageSavingCallback getImageSavingCallback()
Gets or sets the callback that is called to create resource to store image.
Returns: IImageSavingCallback
setImageSavingCallback(IImageSavingCallback value)
public final void setImageSavingCallback(IImageSavingCallback value)
Gets or sets the callback that is called to create resource to store image.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IImageSavingCallback |
getPageSavingCallback()
public final IPageSavingCallback getPageSavingCallback()
Gets or sets the callback that is called to create resource to store page.
Returns: IPageSavingCallback
setPageSavingCallback(IPageSavingCallback value)
public final void setPageSavingCallback(IPageSavingCallback value)
Gets or sets the callback that is called to create resource to store page.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IPageSavingCallback |