Exporting to HTML
To export the results of a report to an HTML file, follow the steps below:
- Open the report that you want to export.
- Select File > Export > To HTML.
- In the Web Wizard, specify the settings as required.
- When done, select Finish to generate the file.
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 Banded_Link.cls in SampleReports.cat as an example:
- Select File > Open.
- In the Open Report dialog, select the Browse button to open the catalog file SampleReports.cat in
<install_root>\Demo\Reports\SampleReports, then open Banded_Link.cls in the catalog.
- Select File > Export > ToHTML to open the Web Wizard.
- In the Report tab, check the Multiple Files radio button.
- Specify the web page name as required. Here we use the default one Banded_Link_Product Sales by Country. Make sure that Drilldown and TOC are checked.
- In the Directory tab, specify where the exported result files will be saved. Here we save them in the default directory
- In the Chart Applet tab, select Image Chart > GIF.
- Select Finish.
- In the Enter Parameter Values dialog, select Default to generate the results using the default parameter values.
- Open the directory
C:\Logi JReport\Designer\Demo\Reports\SampleReports\and find the exported files.
- Open the file Banded_Link_Product Sales by Country_1.html.
- The Table of Contents (TOC) is displayed in the left panel, including the names of groups and subgroups. If you select a group, the relative contents will be shown in the right panel.
- Since Drilldown is checked when exporting the report, you can drill down on a summary by placing the mouse pointer over the summary and selecting it when the mouse pointer becomes a hand.
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.
- When exporting a multi-page report to HTML, you can localize the page navigation link names. 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, Logi 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 an 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. Moreover, if Applet Chart in the Web Wizard is checked and you use Google Chrome, it can be viewed only when NPAPI is enabled for the web browser. To do this, you need to type chrome://flags/ in the address bar of the web browser, then scroll down and set Enable NPAPI Mac, Windows to Enable.