
**Inheritance:**
java.lang.Object, [com.aspose.note.SaveOptions](../../com.aspose.note/saveoptions)
```
public class HtmlSaveOptions extends SaveOptions
```

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

| Constructor | Description |
| --- | --- |
| [HtmlSaveOptions()](#HtmlSaveOptions--) | Initializes a new instance of the [HtmlSaveOptions](../../com.aspose.note/htmlsaveoptions) class. |
## Methods

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


Initializes a new instance of the [HtmlSaveOptions](../../com.aspose.note/htmlsaveoptions) class.

### getCssPerPageGeneration() {#getCssPerPageGeneration--}
```
public final boolean getCssPerPageGeneration()
```


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

**Returns:**
boolean
### getCssSavingCallback() {#getCssSavingCallback--}
```
public final ICssSavingCallback getCssSavingCallback()
```


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

**Returns:**
[ICssSavingCallback](../../com.aspose.note/icsssavingcallback)
### getDocumentPerPageGeneration() {#getDocumentPerPageGeneration--}
```
public final boolean getDocumentPerPageGeneration()
```


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

**Returns:**
boolean
### getExportCss() {#getExportCss--}
```
public final int getExportCss()
```


Gets or sets the way css is exported.

**Returns:**
int
### getExportFonts() {#getExportFonts--}
```
public final int getExportFonts()
```


Gets or sets the way fonts are exported.

**Returns:**
int
### getExportImages() {#getExportImages--}
```
public final int getExportImages()
```


Gets or sets the way images are exported.

**Returns:**
int
### getFontFaceTypes() {#getFontFaceTypes--}
```
public final int getFontFaceTypes()
```


Gets or sets the font face types.

Value: The font face types.

**Returns:**
int
### getFontSavingCallback() {#getFontSavingCallback--}
```
public final IFontSavingCallback getFontSavingCallback()
```


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

**Returns:**
[IFontSavingCallback](../../com.aspose.note/ifontsavingcallback)
### getImageSavingCallback() {#getImageSavingCallback--}
```
public final IImageSavingCallback getImageSavingCallback()
```


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

**Returns:**
[IImageSavingCallback](../../com.aspose.note/iimagesavingcallback)
### getPageSavingCallback() {#getPageSavingCallback--}
```
public final IPageSavingCallback getPageSavingCallback()
```


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

**Returns:**
[IPageSavingCallback](../../com.aspose.note/ipagesavingcallback)
### setCssPerPageGeneration(boolean value) {#setCssPerPageGeneration-boolean-}
```
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 |  |

### setCssSavingCallback(ICssSavingCallback value) {#setCssSavingCallback-com.aspose.note.ICssSavingCallback-}
```
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](../../com.aspose.note/icsssavingcallback) |  |

### setDocumentPerPageGeneration(boolean value) {#setDocumentPerPageGeneration-boolean-}
```
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 |  |

### setExportCss(int value) {#setExportCss-int-}
```
public final void setExportCss(int value)
```


Gets or sets the way css is exported.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setExportFonts(int value) {#setExportFonts-int-}
```
public final void setExportFonts(int value)
```


Gets or sets the way fonts are exported.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setExportImages(int value) {#setExportImages-int-}
```
public final void setExportImages(int value)
```


Gets or sets the way images are exported.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setFontFaceTypes(int value) {#setFontFaceTypes-int-}
```
public final void setFontFaceTypes(int value)
```


Gets or sets the font face types.

Value: The font face types.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setFontSavingCallback(IFontSavingCallback value) {#setFontSavingCallback-com.aspose.note.IFontSavingCallback-}
```
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](../../com.aspose.note/ifontsavingcallback) |  |

### setImageSavingCallback(IImageSavingCallback value) {#setImageSavingCallback-com.aspose.note.IImageSavingCallback-}
```
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](../../com.aspose.note/iimagesavingcallback) |  |

### setPageSavingCallback(IPageSavingCallback value) {#setPageSavingCallback-com.aspose.note.IPageSavingCallback-}
```
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](../../com.aspose.note/ipagesavingcallback) |  |

