protected override void SetOption(xlsEngineOption option) { option.TemplateFilePath = @"../../files/row-source.xls"; option.DetailRowIndex = 3; option.FooterRowIndexStart = 4; option.FooterRowIndexEnd = 5; }
protected override void SetOption(xlsEngineOption option) { option.Author = "報表管理員"; option.TemplatePath = @"..\..\file\sale.simple.template.xls"; option.StartIndex = 4; option.Detail = new RowTemplateConfig() { SheetIndex = 1, RowIndexStart = 0, RowIndexEnd = 0 }; option.DocumentFooter = new RowTemplateConfig() { SheetIndex = 2, RowIndexStart = 0, RowIndexEnd = 1 }; }