public class HtmlOptions extends RenderOptions
| Constructor | Description |
|---|---|
HtmlOptions() |
| Modifier and Type | Method | Description |
|---|---|---|
HtmlOptions |
addFontsToExcludeItem(String fontsToExcludeItem) |
|
boolean |
equals(Object o) |
|
HtmlOptions |
excludeFonts(Boolean excludeFonts) |
|
HtmlOptions |
externalResources(Boolean externalResources) |
|
HtmlOptions |
fontsToExclude(List<String> fontsToExclude) |
|
HtmlOptions |
forPrinting(Boolean forPrinting) |
|
Boolean |
getExcludeFonts() |
When enabled prevents adding any fonts into HTML document
|
Boolean |
getExternalResources() |
Controls output HTML document resources (styles, images and fonts) linking.
|
List<String> |
getFontsToExclude() |
This option is supported for presentations only.
|
Boolean |
getForPrinting() |
Indicates whether to optimize output HTML for printing.
|
Integer |
getImageHeight() |
The height of an output image in pixels.
|
Integer |
getImageMaxHeight() |
Max height of an output image in pixels.
|
Integer |
getImageMaxWidth() |
Max width of an output image in pixels.
|
Integer |
getImageWidth() |
The width of the output image in pixels.
|
Boolean |
getIsResponsive() |
Indicates whether rendering will provide responsive web pages, that look well on different device types.
|
Boolean |
getMinify() |
Enables HTML content and HTML resources minification
|
Boolean |
getRemoveJavaScript() |
Allows to remove the JavaScript source code from the links in resultant HTML documents, when rendering input documents, which have the scripts.
|
Boolean |
getRenderToSinglePage() |
Enables HTML content will be rendered to single page
|
String |
getResourcePath() |
Path for the HTML resources (styles, images and fonts).
|
int |
hashCode() |
|
HtmlOptions |
imageHeight(Integer imageHeight) |
|
HtmlOptions |
imageMaxHeight(Integer imageMaxHeight) |
|
HtmlOptions |
imageMaxWidth(Integer imageMaxWidth) |
|
HtmlOptions |
imageWidth(Integer imageWidth) |
|
HtmlOptions |
isResponsive(Boolean isResponsive) |
|
HtmlOptions |
minify(Boolean minify) |
|
HtmlOptions |
removeJavaScript(Boolean removeJavaScript) |
|
HtmlOptions |
renderToSinglePage(Boolean renderToSinglePage) |
|
HtmlOptions |
resourcePath(String resourcePath) |
|
void |
setExcludeFonts(Boolean excludeFonts) |
|
void |
setExternalResources(Boolean externalResources) |
|
void |
setFontsToExclude(List<String> fontsToExclude) |
|
void |
setForPrinting(Boolean forPrinting) |
|
void |
setImageHeight(Integer imageHeight) |
|
void |
setImageMaxHeight(Integer imageMaxHeight) |
|
void |
setImageMaxWidth(Integer imageMaxWidth) |
|
void |
setImageWidth(Integer imageWidth) |
|
void |
setIsResponsive(Boolean isResponsive) |
|
void |
setMinify(Boolean minify) |
|
void |
setRemoveJavaScript(Boolean removeJavaScript) |
|
void |
setRenderToSinglePage(Boolean renderToSinglePage) |
|
void |
setResourcePath(String resourcePath) |
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitaddPageRotationsItem, addPagesToRenderItem, archiveOptions, cadOptions, countPagesToRender, defaultEncoding, defaultFontName, detectEncoding, emailOptions, getArchiveOptions, getCadOptions, getCountPagesToRender, getDefaultEncoding, getDefaultFontName, getDetectEncoding, getEmailOptions, getMailStorageOptions, getOutlookOptions, getPageRotations, getPagesToRender, getPdfDocumentOptions, getProjectManagementOptions, getRenderComments, getRenderHiddenPages, getRenderNotes, getSpreadsheetOptions, getStartPageNumber, getTextOptions, getVisioRenderingOptions, getWebDocumentOptions, getWordProcessingOptions, mailStorageOptions, outlookOptions, pageRotations, pagesToRender, pdfDocumentOptions, projectManagementOptions, renderComments, renderHiddenPages, renderNotes, setArchiveOptions, setCadOptions, setCountPagesToRender, setDefaultEncoding, setDefaultFontName, setDetectEncoding, setEmailOptions, setMailStorageOptions, setOutlookOptions, setPageRotations, setPagesToRender, setPdfDocumentOptions, setProjectManagementOptions, setRenderComments, setRenderHiddenPages, setRenderNotes, setSpreadsheetOptions, setStartPageNumber, setTextOptions, setVisioRenderingOptions, setWebDocumentOptions, setWordProcessingOptions, spreadsheetOptions, startPageNumber, textOptions, visioRenderingOptions, webDocumentOptions, wordProcessingOptionspublic HtmlOptions externalResources(Boolean externalResources)
public Boolean getExternalResources()
public void setExternalResources(Boolean externalResources)
public HtmlOptions resourcePath(String resourcePath)
public String getResourcePath()
public void setResourcePath(String resourcePath)
public HtmlOptions isResponsive(Boolean isResponsive)
public Boolean getIsResponsive()
public void setIsResponsive(Boolean isResponsive)
public HtmlOptions minify(Boolean minify)
public Boolean getMinify()
public void setMinify(Boolean minify)
public HtmlOptions excludeFonts(Boolean excludeFonts)
public Boolean getExcludeFonts()
public void setExcludeFonts(Boolean excludeFonts)
public HtmlOptions fontsToExclude(List<String> fontsToExclude)
public HtmlOptions addFontsToExcludeItem(String fontsToExcludeItem)
public List<String> getFontsToExclude()
public HtmlOptions forPrinting(Boolean forPrinting)
public Boolean getForPrinting()
public void setForPrinting(Boolean forPrinting)
public HtmlOptions imageHeight(Integer imageHeight)
public Integer getImageHeight()
public void setImageHeight(Integer imageHeight)
public HtmlOptions imageWidth(Integer imageWidth)
public Integer getImageWidth()
public void setImageWidth(Integer imageWidth)
public HtmlOptions imageMaxHeight(Integer imageMaxHeight)
public Integer getImageMaxHeight()
public void setImageMaxHeight(Integer imageMaxHeight)
public HtmlOptions imageMaxWidth(Integer imageMaxWidth)
public Integer getImageMaxWidth()
public void setImageMaxWidth(Integer imageMaxWidth)
public HtmlOptions renderToSinglePage(Boolean renderToSinglePage)
public Boolean getRenderToSinglePage()
public void setRenderToSinglePage(Boolean renderToSinglePage)
public HtmlOptions removeJavaScript(Boolean removeJavaScript)
public Boolean getRemoveJavaScript()
public void setRemoveJavaScript(Boolean removeJavaScript)
public boolean equals(Object o)
equals in class RenderOptionspublic int hashCode()
hashCode in class RenderOptionspublic String toString()
toString in class RenderOptionsCopyright © 2025. All rights reserved.