HtmlSaveOptions

HtmlSaveOptions

Overview

HtmlSaveOptions is a class in Aspose.Pdf FOSS for Java.

Options for saving a document in HTML format.

Properties

NameTypeAccessDescription
documentTypeHtmlDocumentTypeReadGets the HTML document type.
fixedLayoutbooleanReadGets whether fixed layout rendering is enabled.
splitIntoPagesbooleanReadGets whether the document is split into separate HTML pages.
embedImagesbooleanReadGets whether images are embedded as base64 data URIs.
scaledoubleReadGets the scale factor applied to the output.
imageFolderStringReadGets the folder path for storing external images.
cssPrefixStringReadGets the prefix prepended to CSS class names.

Methods

SignatureDescription
getDocumentType()HtmlDocumentTypeGets the HTML document type.
setDocumentType(documentType: HtmlDocumentType)Sets the HTML document type.
isFixedLayout()booleanGets whether fixed layout rendering is enabled.
setFixedLayout(fixedLayout: boolean)Sets whether to use fixed layout rendering.
isSplitIntoPages()booleanGets whether the document is split into separate HTML pages.
setSplitIntoPages(splitIntoPages: boolean)Sets whether to split the document into separate HTML pages.
isEmbedImages()booleanGets whether images are embedded as base64 data URIs.
setEmbedImages(embedImages: boolean)Sets whether to embed images as base64 data URIs.
getScale()doubleGets the scale factor applied to the output.
setScale(scale: double)Sets the scale factor applied to the output.
getImageFolder()StringGets the folder path for storing external images.
setImageFolder(imageFolder: String)Sets the folder path for storing external images.
getCssPrefix()StringGets the prefix prepended to CSS class names.
setCssPrefix(cssPrefix: String)Sets the prefix to prepend to CSS class names.

See Also