private void CreateReportFromModel(ReportModel model, ReportStructure reportStructure)
 {
     reportGenerator = GeneratorFactory.Create(model, reportStructure);
     file.MakeDirty();
     reportGenerator.GenerateReport();
 }
 private void CreateReportFromModel(ReportModel model)
 {
     reportGenerator = GeneratorFactory.Create(model, customizer);
     file.MakeDirty();
     reportGenerator.GenerateReport();
 }