private SampleExcelReport GetSampleNoCellAttributeReport() { var sheet = new SampleNoCellAttribute() { Title = "Customer Complaint Summary" }; var sheetArray = new SampleNoCellAttribute[] { sheet }; var report = new SampleExcelReport(sheetArray); return(report); }
private SampleExcelReport GetSampleReport() { var sheet = new SampleTableWorkSheet() { CustomerComplaintTable = GetSampleCustomerComplaintTable(), }; var sheetArray = new SampleTableWorkSheet[] { sheet }; var report = new SampleExcelReport(sheetArray); return(report); }
private SampleExcelReport GetSampleNullPropertyValueReport() { var sheet = new SampleWorksheet() { FromPeriod = "2015-15-01", FromPeriodLabel = "From:", ToPeriod = "2015-15-01", ToPeriodLabel = "To:", CustomerName = "Posten Aarben AB", CustomerNameLabel = "Customer:", Title = null }; var sheetArray = new SampleWorksheet[] { sheet }; var report = new SampleExcelReport(sheetArray); return(report); }
private SampleExcelReport GetSampleExcelReport() { var sheet = new SampleWorksheet() { CustomerComplaintTable = GetSampleCustomerComplaintTable(), FromPeriod = "2015-15-01", FromPeriodLabel = "From:", ToPeriod = "2015-15-01", ToPeriodLabel = "To:", CustomerName = "Posten Aarben AB", CustomerNameLabel = "Customer:", Title = "Customer Complaint Summary" }; var sheetArray = new SampleWorksheet[] { sheet }; var report = new SampleExcelReport(sheetArray); return(report); }