HtmlSaveOptions
Overview
HtmlSaveOptions is a class in Aspose.Pdf FOSS for Java.
Options for saving a document in HTML format.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
documentType | HtmlDocumentType | Read | Gets the HTML document type. |
fixedLayout | boolean | Read | Gets whether fixed layout rendering is enabled. |
splitIntoPages | boolean | Read | Gets whether the document is split into separate HTML pages. |
embedImages | boolean | Read | Gets whether images are embedded as base64 data URIs. |
scale | double | Read | Gets the scale factor applied to the output. |
imageFolder | String | Read | Gets the folder path for storing external images. |
cssPrefix | String | Read | Gets the prefix prepended to CSS class names. |
Methods
| Signature | Description |
|---|---|
getDocumentType() → HtmlDocumentType | Gets the HTML document type. |
setDocumentType(documentType: HtmlDocumentType) | Sets the HTML document type. |
isFixedLayout() → boolean | Gets whether fixed layout rendering is enabled. |
setFixedLayout(fixedLayout: boolean) | Sets whether to use fixed layout rendering. |
isSplitIntoPages() → boolean | Gets whether the document is split into separate HTML pages. |
setSplitIntoPages(splitIntoPages: boolean) | Sets whether to split the document into separate HTML pages. |
isEmbedImages() → boolean | Gets whether images are embedded as base64 data URIs. |
setEmbedImages(embedImages: boolean) | Sets whether to embed images as base64 data URIs. |
getScale() → double | Gets the scale factor applied to the output. |
setScale(scale: double) | Sets the scale factor applied to the output. |
getImageFolder() → String | Gets the folder path for storing external images. |
setImageFolder(imageFolder: String) | Sets the folder path for storing external images. |
getCssPrefix() → String | Gets the prefix prepended to CSS class names. |
setCssPrefix(cssPrefix: String) | Sets the prefix to prepend to CSS class names. |