Package net.sf.jasperreports.export
Class SimpleHtmlReportConfiguration
java.lang.Object
net.sf.jasperreports.export.SimpleCommonExportConfiguration
net.sf.jasperreports.export.SimpleReportExportConfiguration
net.sf.jasperreports.export.SimpleHtmlReportConfiguration
- All Implemented Interfaces:
CommonExportConfiguration,HtmlReportConfiguration,ReportExportConfiguration
public class SimpleHtmlReportConfiguration
extends SimpleReportExportConfiguration
implements HtmlReportConfiguration
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Field Summary
Fields inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
PROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTSFields inherited from interface net.sf.jasperreports.export.HtmlReportConfiguration
PROPERTY_ACCESSIBLE, PROPERTY_BORDER_COLLAPSE, PROPERTY_CONVERT_SVG_TO_IMAGE, PROPERTY_EMBED_IMAGE, PROPERTY_EMBEDDED_SVG_USE_FONTS, PROPERTY_FORCE_HTML_EMBED_IMAGE, PROPERTY_IGNORE_HYPERLINK, PROPERTY_INCLUDE_ELEMENT_UUID, PROPERTY_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, PROPERTY_SIZE_UNIT, PROPERTY_USE_BACKGROUND_IMAGE_TO_ALIGN, PROPERTY_WHITE_PAGE_BACKGROUND, PROPERTY_WRAP_BREAK_WORDFields inherited from interface net.sf.jasperreports.export.ReportExportConfiguration
PROPERTY_IGNORE_PAGE_MARGINS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides the value for theborder-collapseCSS property to be applied to the table generated for the report.Returns a String value specifying the unit to use when measuring lengths or font size.The zoom ratio used for the export.Configuration setting that determines the exporter to produce accessible HTML.Indicates whether page margins should be ignored when the report is exported using a grid-based exporterDetermines whether design element UUIDs are included in the HTML output asdata-eluuidattributes oftdelements.Returns a boolean value specifying whether the blank lines, that sometimes appear between rows, should be deleted.Returns a boolean value specifying whether the report background should be white.Returns a boolean value specifying whether the export engine should use force wrapping by breaking words (CSSword-wrap: break-word).voidsetAccessibleHtml(Boolean accessibleHtml) voidsetBorderCollapse(HtmlBorderCollapseEnum borderCollapse) voidsetConvertSvgToImage(Boolean isConvertSvgToImage) voidsetEmbeddedSvgUseFonts(Boolean isEmbeddedSvgUseFonts) voidsetEmbedImage(Boolean isEmbedImage) voidsetIgnoreHyperlink(Boolean isIgnoreHyperlink) voidsetIgnorePageMargins(Boolean isIgnorePageMargins) voidsetIncludeElementUUID(Boolean includeElementUUID) voidsetRemoveEmptySpaceBetweenRows(Boolean isRemoveEmptySpaceBetweenRows) voidsetSizeUnit(HtmlSizeUnitEnum sizeUnit) voidsetUseBackgroundImageToAlign(Boolean isUseBackgroundImageToAlign) voidsetWhitePageBackground(Boolean isWhitePageBackground) voidsetWrapBreakWord(Boolean isWrapBreakWord) voidsetZoomRatio(Float zoomRatio) Methods inherited from class net.sf.jasperreports.export.SimpleReportExportConfiguration
getEndPageIndex, getExporterFilter, getHyperlinkProducerFactory, getOffsetX, getOffsetY, getPageIndex, getProgressMonitor, getStartPageIndex, setEndPageIndex, setExporterFilter, setHyperlinkProducerFactory, setOffsetX, setOffsetY, setPageIndex, setProgressMonitor, setStartPageIndexMethods inherited from class net.sf.jasperreports.export.SimpleCommonExportConfiguration
isOverrideHints, setOverrideHintsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
isOverrideHintsMethods inherited from interface net.sf.jasperreports.export.ReportExportConfiguration
getEndPageIndex, getExporterFilter, getHyperlinkProducerFactory, getOffsetX, getOffsetY, getPageIndex, getProgressMonitor, getStartPageIndex
-
Constructor Details
-
SimpleHtmlReportConfiguration
public SimpleHtmlReportConfiguration()
-
-
Method Details
-
isRemoveEmptySpaceBetweenRows
Description copied from interface:HtmlReportConfigurationReturns a boolean value specifying whether the blank lines, that sometimes appear between rows, should be deleted. Sometimes page break occurs before the entire page is filled with data (i.e. having a group with the isStartNewPage attribute set to true). All the remaining empty space could be removed by setting this parameter to true.- Specified by:
isRemoveEmptySpaceBetweenRowsin interfaceHtmlReportConfiguration- See Also:
-
setRemoveEmptySpaceBetweenRows
-
isWhitePageBackground
Description copied from interface:HtmlReportConfigurationReturns a boolean value specifying whether the report background should be white. If this parameter is not set, the default background will appear, depending on the selected CSS styles.- Specified by:
isWhitePageBackgroundin interfaceHtmlReportConfiguration- See Also:
-
setWhitePageBackground
-
isWrapBreakWord
Description copied from interface:HtmlReportConfigurationReturns a boolean value specifying whether the export engine should use force wrapping by breaking words (CSSword-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_BREAKSproperty.- Specified by:
isWrapBreakWordin interfaceHtmlReportConfiguration- See Also:
-
setWrapBreakWord
-
getSizeUnit
Description copied from interface:HtmlReportConfigurationReturns a String value specifying the unit to use when measuring lengths or font size. This can be one of the supported size units from the CSS specifications like "px" for pixels or "pt" for points. The default value is "px", meaning that lengths and font sizes are specified in pixels.- Specified by:
getSizeUnitin interfaceHtmlReportConfiguration- See Also:
-
setSizeUnit
-
getBorderCollapseValue
Description copied from interface:HtmlReportConfigurationProvides the value for theborder-collapseCSS property to be applied to the table generated for the report.- Specified by:
getBorderCollapseValuein interfaceHtmlReportConfiguration- See Also:
-
setBorderCollapse
-
isIgnorePageMargins
Description copied from interface:HtmlReportConfigurationIndicates whether page margins should be ignored when the report is exported using a grid-based exporterIf set to
true, any page in the document will be exported without taking into account its margins.- Specified by:
isIgnorePageMarginsin interfaceHtmlReportConfiguration- See Also:
-
setIgnorePageMargins
-
isAccessibleHtml
Description copied from interface:HtmlReportConfigurationConfiguration setting that determines the exporter to produce accessible HTML.- Specified by:
isAccessibleHtmlin interfaceHtmlReportConfiguration- See Also:
-
setAccessibleHtml
-
getZoomRatio
Description copied from interface:HtmlReportConfigurationThe zoom ratio used for the export. The default value is 1.- Specified by:
getZoomRatioin interfaceHtmlReportConfiguration
-
setZoomRatio
-
isIgnoreHyperlink
- Specified by:
isIgnoreHyperlinkin interfaceHtmlReportConfiguration- See Also:
-
setIgnoreHyperlink
-
isEmbedImage
- Specified by:
isEmbedImagein interfaceHtmlReportConfiguration- See Also:
-
setEmbedImage
-
isEmbeddedSvgUseFonts
- Specified by:
isEmbeddedSvgUseFontsin interfaceHtmlReportConfiguration- See Also:
-
setEmbeddedSvgUseFonts
-
isConvertSvgToImage
- Specified by:
isConvertSvgToImagein interfaceHtmlReportConfiguration- See Also:
-
setConvertSvgToImage
-
isUseBackgroundImageToAlign
- Specified by:
isUseBackgroundImageToAlignin interfaceHtmlReportConfiguration- See Also:
-
setUseBackgroundImageToAlign
-
isIncludeElementUUID
Description copied from interface:HtmlReportConfigurationDetermines whether design element UUIDs are included in the HTML output asdata-eluuidattributes oftdelements.- Specified by:
isIncludeElementUUIDin interfaceHtmlReportConfiguration- See Also:
-
setIncludeElementUUID
-