public class SimpleHtmlReportConfiguration extends SimpleReportExportConfiguration implements HtmlReportConfiguration
PROPERTY_ACCESSIBLE, PROPERTY_BORDER_COLLAPSE, PROPERTY_CONVERT_SVG_TO_IMAGE, PROPERTY_EMBED_IMAGE, PROPERTY_EMBEDDED_SVG_USE_FONTS, PROPERTY_IGNORE_HYPERLINK, PROPERTY_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, PROPERTY_SIZE_UNIT, PROPERTY_USE_BACKGROUND_IMAGE_TO_ALIGN, PROPERTY_WHITE_PAGE_BACKGROUND, PROPERTY_WRAP_BREAK_WORDPROPERTY_IGNORE_PAGE_MARGINSPROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS| Constructor and Description |
|---|
SimpleHtmlReportConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBorderCollapse()
Deprecated.
Replaced by
getBorderCollapseValue(). |
HtmlBorderCollapseEnum |
getBorderCollapseValue()
Provides the value for the
border-collapse CSS property to be applied
to the table generated for the report. |
HtmlSizeUnitEnum |
getSizeUnit()
Returns a String value specifying the unit to use when measuring lengths or font size.
|
Float |
getZoomRatio()
The zoom ratio used for the export.
|
Boolean |
isAccessibleHtml()
Configuration setting that determines the exporter to produce accessible HTML.
|
Boolean |
isConvertSvgToImage() |
Boolean |
isEmbeddedSvgUseFonts() |
Boolean |
isEmbedImage() |
Boolean |
isIgnoreHyperlink() |
Boolean |
isIgnorePageMargins()
Indicates whether page margins should be ignored when the report is exported using a grid-based exporter
If set to
true, any page in the document will be exported without taking into account its margins. |
Boolean |
isRemoveEmptySpaceBetweenRows()
Returns a boolean value specifying whether the blank lines, that sometimes appear between rows, should be deleted.
|
Boolean |
isUseBackgroundImageToAlign() |
Boolean |
isWhitePageBackground()
Returns a boolean value specifying whether the report background should be white.
|
Boolean |
isWrapBreakWord()
Returns a boolean value specifying whether the export engine should use force wrapping by breaking words (CSS
word-wrap: break-word). |
void |
setAccessibleHtml(Boolean accessibleHtml) |
void |
setBorderCollapse(HtmlBorderCollapseEnum borderCollapse) |
void |
setBorderCollapse(String borderCollapse)
Deprecated.
Replaced by
setBorderCollapse(HtmlBorderCollapseEnum). |
void |
setConvertSvgToImage(Boolean isConvertSvgToImage) |
void |
setEmbeddedSvgUseFonts(Boolean isEmbeddedSvgUseFonts) |
void |
setEmbedImage(Boolean isEmbedImage) |
void |
setIgnoreHyperlink(Boolean isIgnoreHyperlink) |
void |
setIgnorePageMargins(Boolean isIgnorePageMargins) |
void |
setRemoveEmptySpaceBetweenRows(Boolean isRemoveEmptySpaceBetweenRows) |
void |
setSizeUnit(HtmlSizeUnitEnum sizeUnit) |
void |
setUseBackgroundImageToAlign(Boolean isUseBackgroundImageToAlign) |
void |
setWhitePageBackground(Boolean isWhitePageBackground) |
void |
setWrapBreakWord(Boolean isWrapBreakWord) |
void |
setZoomRatio(Float zoomRatio) |
getEndPageIndex, getExporterFilter, getHyperlinkProducerFactory, getOffsetX, getOffsetY, getPageIndex, getProgressMonitor, getStartPageIndex, setEndPageIndex, setExporterFilter, setHyperlinkProducerFactory, setOffsetX, setOffsetY, setPageIndex, setProgressMonitor, setStartPageIndexisOverrideHints, setOverrideHintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEndPageIndex, getExporterFilter, getHyperlinkProducerFactory, getOffsetX, getOffsetY, getPageIndex, getProgressMonitor, getStartPageIndexisOverrideHintspublic Boolean isRemoveEmptySpaceBetweenRows()
HtmlReportConfigurationisRemoveEmptySpaceBetweenRows in interface HtmlReportConfigurationHtmlReportConfiguration.PROPERTY_REMOVE_EMPTY_SPACE_BETWEEN_ROWSpublic void setRemoveEmptySpaceBetweenRows(Boolean isRemoveEmptySpaceBetweenRows)
public Boolean isWhitePageBackground()
HtmlReportConfigurationisWhitePageBackground in interface HtmlReportConfigurationHtmlReportConfiguration.PROPERTY_WHITE_PAGE_BACKGROUNDpublic void setWhitePageBackground(Boolean isWhitePageBackground)
public Boolean isWrapBreakWord()
HtmlReportConfigurationword-wrap: break-word).
Note that this CSS property is not currently supported by all browsers.
An alternative approach for forcing word breaks in HTML is to save the
line breaks at fill time via the JRTextElement.PROPERTY_SAVE_LINE_BREAKS
property.
isWrapBreakWord in interface HtmlReportConfigurationHtmlReportConfiguration.PROPERTY_WRAP_BREAK_WORDpublic void setWrapBreakWord(Boolean isWrapBreakWord)
public HtmlSizeUnitEnum getSizeUnit()
HtmlReportConfigurationgetSizeUnit in interface HtmlReportConfigurationHtmlReportConfiguration.PROPERTY_SIZE_UNITpublic void setSizeUnit(HtmlSizeUnitEnum sizeUnit)
public String getBorderCollapse()
getBorderCollapseValue().getBorderCollapse in interface HtmlReportConfigurationpublic void setBorderCollapse(String borderCollapse)
setBorderCollapse(HtmlBorderCollapseEnum).public HtmlBorderCollapseEnum getBorderCollapseValue()
HtmlReportConfigurationborder-collapse CSS property to be applied
to the table generated for the report.getBorderCollapseValue in interface HtmlReportConfigurationHtmlReportConfiguration.PROPERTY_BORDER_COLLAPSEpublic void setBorderCollapse(HtmlBorderCollapseEnum borderCollapse)
public Boolean isIgnorePageMargins()
HtmlReportConfiguration
If set to true, any page in the document will be exported without taking into account its margins.
isIgnorePageMargins in interface HtmlReportConfigurationReportExportConfiguration.PROPERTY_IGNORE_PAGE_MARGINSpublic void setIgnorePageMargins(Boolean isIgnorePageMargins)
public Boolean isAccessibleHtml()
HtmlReportConfigurationisAccessibleHtml in interface HtmlReportConfigurationHtmlReportConfiguration.PROPERTY_ACCESSIBLEpublic void setAccessibleHtml(Boolean accessibleHtml)
public Float getZoomRatio()
HtmlReportConfigurationgetZoomRatio in interface HtmlReportConfigurationpublic void setZoomRatio(Float zoomRatio)
public Boolean isIgnoreHyperlink()
isIgnoreHyperlink in interface HtmlReportConfigurationHtmlReportConfiguration.PROPERTY_IGNORE_HYPERLINKpublic void setIgnoreHyperlink(Boolean isIgnoreHyperlink)
public Boolean isEmbedImage()
isEmbedImage in interface HtmlReportConfigurationHtmlReportConfiguration.PROPERTY_EMBED_IMAGEpublic void setEmbedImage(Boolean isEmbedImage)
public Boolean isEmbeddedSvgUseFonts()
isEmbeddedSvgUseFonts in interface HtmlReportConfigurationHtmlReportConfiguration.PROPERTY_EMBEDDED_SVG_USE_FONTSpublic void setEmbeddedSvgUseFonts(Boolean isEmbeddedSvgUseFonts)
public Boolean isConvertSvgToImage()
isConvertSvgToImage in interface HtmlReportConfigurationHtmlReportConfiguration.PROPERTY_CONVERT_SVG_TO_IMAGEpublic void setConvertSvgToImage(Boolean isConvertSvgToImage)
public Boolean isUseBackgroundImageToAlign()
isUseBackgroundImageToAlign in interface HtmlReportConfigurationHtmlReportConfiguration.PROPERTY_USE_BACKGROUND_IMAGE_TO_ALIGNpublic void setUseBackgroundImageToAlign(Boolean isUseBackgroundImageToAlign)
Copyright © 2019 TIBCO Software Inc.. All rights reserved.