HtmlSaveOptions
Overview
HtmlSaveOptions is a class in Aspose.PDF FOSS for Java.
Options for saving a document in HTML format.
This class provides 14 methods for working with HtmlSaveOptions objects in Java programs.
Available methods include: getCssPrefix, getDocumentType, getImageFolder, getScale, isEmbedImages, isFixedLayout, isSplitIntoPages, setCssPrefix, setDocumentType, setEmbedImages, setFixedLayout, setImageFolder, and 2 additional methods.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: cssPrefix, documentType, embedImages, fixedLayout, imageFolder, scale, and 1 more.
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. |