Package net.sf.jasperreports.export
Class SimpleHtmlExporterConfiguration
java.lang.Object
net.sf.jasperreports.export.SimpleCommonExportConfiguration
net.sf.jasperreports.export.SimpleExporterConfiguration
net.sf.jasperreports.export.SimpleHtmlExporterConfiguration
- All Implemented Interfaces:
CommonExportConfiguration,ExporterConfiguration,HtmlExporterConfiguration
public class SimpleHtmlExporterConfiguration
extends SimpleExporterConfiguration
implements HtmlExporterConfiguration
- 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.HtmlExporterConfiguration
PROPERTY_BETWEEN_PAGES_HTML, PROPERTY_FLUSH_OUTPUT, PROPERTY_HTML_FOOTER, PROPERTY_HTML_HEADER -
Constructor Summary
Constructors -
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.voidsetBetweenPagesHtml(String betweenPagesHtml) voidsetFlushOutput(Boolean flushOutput) voidsetHtmlFooter(String htmlFooter) voidsetHtmlHeader(String htmlHeader) Methods 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
isOverrideHints
-
Constructor Details
-
SimpleHtmlExporterConfiguration
public SimpleHtmlExporterConfiguration()
-
-
Method Details
-
getHtmlHeader
Description copied from interface:HtmlExporterConfigurationReturns 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.- Specified by:
getHtmlHeaderin interfaceHtmlExporterConfiguration
-
setHtmlHeader
-
getBetweenPagesHtml
Description copied from interface:HtmlExporterConfigurationReturns 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.- Specified by:
getBetweenPagesHtmlin interfaceHtmlExporterConfiguration
-
setBetweenPagesHtml
-
isFlushOutput
Description copied from interface:HtmlExporterConfigurationA flag that determines whether the HTML exporter should flush the output stream after writing the HTML content to it.- Specified by:
isFlushOutputin interfaceHtmlExporterConfiguration- See Also:
-
setFlushOutput
-