Beispiel #1
0
        public void Render(object datasource, ReportDefinition reportDefinition, Stream streamToWrite, string template)
        {
            this.excelWriter.StartRender(streamToWrite, template);

            foreach (var content in reportDefinition.Contents.Contents)
            {
                content.Write(this.excelWriter, datasource);
            }

            this.excelWriter.EndRender();
        }
Beispiel #2
0
 public void Render(object datasource, ReportDefinition reportDefinition, Stream streamToWrite)
 {
     Render(datasource, reportDefinition, streamToWrite, null);
 }