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 |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
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 |
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 |
setExportCss(int value)
public final void setExportCss(int value)
Gets or sets the way css is exported.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
setExportFonts(int value)
public final void setExportFonts(int value)
Gets or sets the way fonts are exported.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
setExportImages(int value)
public final void setExportImages(int value)
Gets or sets the way images are exported.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | 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 |
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 |
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 |
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 |