예제 #1
0
        public void WriteTo(MSExcel2003XmlFile xmlFile)
        {
            int tableIndex = xmlFile.AddWorksheet(GetSheetName());

            columnLayout.WriteTaskHeaders(xmlFile, tableIndex, isActive);
            foreach (Task task in Tasks)
            {
                columnLayout.WriteTask(xmlFile, tableIndex, task, isActive);
            }
        }
예제 #2
0
        public void WriteTo(ExcelPackage package)
        {
            ExcelWorksheet worksheet = ExcelPackageHelper.AddWorksheet(package, GetSheetName());

            ColumnLayout.WriteTaskHeaders(worksheet, isActive);
            foreach (Task task in Tasks)
            {
                columnLayout.WriteTask(worksheet, task, isActive);
            }
        }