
To Excel
To export the results of a report to an Excel file, follow the steps below:
- In JReport Designer, open the report set that contains the report you want to export.
- On the report tab bar, click the tab that represents the report.
- Click File > Export To > Excel to display the Export to Excel dialog. See the dialog.
- Specify the destination of the exported file (make sure that the folder you specify here does exist).
- From the Word Wrap drop-down list, select a word-wrap setting for the exported Excel file.
- Set other options according to your requirements.
- To make the layout of the result file match that of the original report, check Preserve Report Formatting, and then specify the available settings according to your requirements.
- To export the report results to a general Excel file, check Normal Formatting, in which case, you can set the Columned property value for the report in the Report Inspector to decide whether the exported Excel file will be in columned format or not (when exporting a mailing label report to an Excel file, do not set the Columned property to true). If the Columned property is set to true, the exported Excel file will be in columned format.
- To export the report results to an Excel 2000 file, check Excel 2000.
- When done, click OK to start exporting.
See also Export to Excel dialog for detailed explanations about options in this dialog.
Notes:
- Multiple colors and languages in a report can be exported to an Excel file, but multiple pie charts and the arc drawing object cannot be. For example, Excel only supports 56 kinds of colors, if there are more than 56 kinds of colors in a report, when you export the report to Excel, some colors will be merged.
- When exporting a report to Excel,
- Paragraphs and texts in the report will be exported as objects.
- Gauge and surface chart in the report will be exported as bar chart while stock chart will be exported as image.
- If the report contains a drop-down list, only the value selected in the list will be exported.
- If you set an object's Export to Excel property to false, the object and other objects contained in it will not be exported.
- When Excel 2000 is selected in the Export to Excel dialog, formulas, barcodes, images, HyperLink property, charts and all drawing objects will not be supported, therefore, we recommend to not use this format when exporting report results to Excel.
The following are some specific topics related with exporting the report results to Excel:
Related topics:
