Add Report Explorer Content to a Report
Use the Report API's
RptFile reporter to add Report Explorer content to a
Report API report. For example, this script adds content generated by a Report Explorer setup
recontent.rpt to a report generated by the Report API.
import mlreportgen.report.* rpt = Report('myreport','docx'); append(rpt,TitlePage("Title","My Report")); append(rpt, RptFile( "recontent.rpt")); close(rpt); rptview(rpt);
To work with the Report API, a Report Explorer setup file must conform to certain
mlreportgen.report.RptFile for more information.