Package net.sf.jasperreports.export
Interface HtmlExporterConfiguration
- All Superinterfaces:
CommonExportConfiguration,ExporterConfiguration
- All Known Implementing Classes:
SimpleHtmlExporterConfiguration
Interface containing settings used by the HTML exporters.
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringProperty that provides the default value for thegetBetweenPagesHtml()export configuration setting.static final StringProperty that provides the default value for theisFlushOutput()export configuration setting.static final StringProperty that provides the default value for thegetHtmlFooter()export configuration setting.static final StringProperty that provides the default value for thegetHtmlHeader()export configuration setting.Fields inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
PROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS -
Method Summary
Modifier and TypeMethodDescriptionReturns a string representing HTML code that will be inserted between pages of the generated report.Returns a string representing HTML code that will be inserted after the generated report.Returns a string representing HTML code that will be inserted in front of the generated report.A flag that determines whether the HTML exporter should flush the output stream after writing the HTML content to it.Methods inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
isOverrideHints
-
Field Details
-
PROPERTY_FLUSH_OUTPUT
Property that provides the default value for theisFlushOutput()export configuration setting.The property can be set at report level or globally. By default, the HTML exporter performs a flush on the output stream after export.
- See Also:
-
PROPERTY_HTML_HEADER
Property that provides the default value for thegetHtmlHeader()export configuration setting.- See Also:
-
PROPERTY_HTML_FOOTER
Property that provides the default value for thegetHtmlFooter()export configuration setting.- See Also:
-
PROPERTY_BETWEEN_PAGES_HTML
Property that provides the default value for thegetBetweenPagesHtml()export configuration setting.- See Also:
-
-
Method Details
-
getHtmlHeader
String getHtmlHeader()Returns a string representing HTML code that will be inserted in front of the generated report. The JasperReports engine places a piece of HTML code at the top of the page but users can define their own headers and stylesheet links. -
getBetweenPagesHtml
String getBetweenPagesHtml()Returns a string representing HTML code that will be inserted between pages of the generated report. By default, JasperReports separates pages by two empty lines, but this behavior can be overridden by this parameter. -
isFlushOutput
Boolean isFlushOutput()A flag that determines whether the HTML exporter should flush the output stream after writing the HTML content to it.- See Also:
-