public XlsReportDefBuilder(IAppServiceProvider provider, ReportDef report, SqlQueryReader reader) { Report = report; SqlDataSet = new SqlQueryDataSet(provider, reader); Headers.Add(new XlsGridReportSectionText(Report.Caption)); }
public XlsCrossDataTableBuilder(ReportDef report, CrossDataTable table) { Report = report; Table = table; Headers.Add(new XlsGridReportSectionText(Report.Caption)); }
public XlsReportDefAdjustInfo(ReportDef report) { //FormId = report.Id; if (report.Columns != null) { foreach (var column in report.Columns) { AddControlBand(column); } } }
public void AddReportDef(ReportDef report) { Forms.Add(new XlsReportDefAdjustInfo(report)); }
private void AdjustDocListForms(ReportDef report) { Headers.ForEach(_adjuster.AddReportSection); _adjuster.AddReportDef(report); Footers.ForEach(_adjuster.AddReportSection); }
public static ReportConditionItemDef FindConditionDef(ReportDef def, Guid conditionId) { return(def.Conditions.Select(c => FindConditionById(c, conditionId)).FirstOrDefault(c => c != null)); }