### To HTML

To export the results of a report to an HTML file, follow the steps below:

1. In JReport Designer, open the report set that contains the report you want to export.
2. On the report tab bar, click the tab that represents the report.
3. Click File > Export To > HTML.
4. In the Web Wizard, specify the settings as required. See the wizard.

5. When done, click Finish to generate the file.

See also Web Wizard for detailed explanations about options in this wizard.

The following example shows you how to export the results of a report to HTML format and view the exported file via a web browser, taking the sample report set CustomerAnalysis.cls in SampleReports.cat as an example:

1. Click File > Open on the menu bar.
2. In the Open Report Set dialog, click the Browse button to open the catalog file SampleReports.cat in `<install_root>\Demo\Reports\SampleReports`, then open CustomerAnalysis.cls in the catalog.
3. Click File > Export To > HTML to open the Web Wizard.
4. In the Report tab, specify the web page name as required. Here we use the default one CustomerAnalysis_CustomerAnalysis. Make sure that Multiple Files, Drilldown and DHTML are checked.
5. In the Directory tab, specify where the exported result files will be saved. Here we save them in the default directory `C:\JReport\Designer\Demo\Reports\SampleReports\`.
6. In the Chart Applet tab, select Image Chart > GIF.
7. Click Finish to start generating the files.
8. Open the directory `C:\JReport\Designer\Demo\Reports\SampleReports\` and find the exported files.
9. Open the file CustomerAnalysis_CustomerAnalysis_1.html.
10. The Table of Contents (TOC) is displayed in the left pane, including the names of groups and subgroups. If you click a group, the relative contents will be shown in the right pane.
11. Since Drilldown is checked when exporting the report, you can drill down on a summary by placing the mouse pointer over the summary and clicking it when the mouse pointer becomes a hand. See illustration.

    Note that summaries should be inserted into your report in advance. They cannot be hidden or suppressed; otherwise you will not be able to get drilldown files.

Notes:

- When exporting a multi-page report to HTML, you can localize the page navigation link names according to your requirements. For detailed information, refer to Localizing the page navigation links in HTML report outputs.
- Multimedia and shapes (except for straight lines and boxes) in reports cannot be exported to HTML.
- For mainly meeting the requirements from voice agents used by people with eyesight disabilities, JReport supports exported tables/crosstabs in the HTML data table format with SCOPE=Row/Column to get a section 508 compliant result. For detailed descriptions, refer to Accessibility.
- After you export a report to a HTML file, you may view it with charts in a web browser. If that, you must ensure that the chart can be displayed correctly, make sure that you have enabled Additional Unsigned Permissions in the web browser. To do this in Internet Explorer:
  1. On the Tools menu, click Internet Options.
  2. Switch to the Security tab, and then click Custom Level.
  3. Scroll down Settings, and set Java Permissions to Custom.