2#include "ReportGenerator/Headers/ReportOptions.h"
3#include "Base/Headers/String.h"
4#include "include/ncreport.h"
37 NCReportSource* source =
new NCReportSource();
38 source->setSourceType(NCReportSource::File);
39 source->setFileName(
m_options.format_source.getAs<QString>(),
false);
40 setReportSource(source);
String m_report_icon
Icon name for the report.
virtual void setToDefaults()
Resets all report settings to their defaults.
String m_report_name
Display name of the report.
virtual void setReportOptions(const ReportOptions &format_source)
Configures the report from the given options, including template source.
const String & reportName() const
Returns the display name of this report.
virtual void setupReport()
Called after setting options to perform report-specific initialization.
const ReportOptions & reportOptions() const
Returns the current report options.
String m_report_description
Description of the report's contents.
const String & reportIcon() const
Returns the icon name for this report.
ReportOptions m_options
The current report options.
const String & reportDescription() const
Returns a description of this report's contents.
NCCustomReport()
Default constructor.
Encapsulates the options needed to generate a report, including the report template path,...
The core String class for the NDEVR API.
The primary namespace for the NDEVR SDK.