using System; using System.Collections.Generic; using System.Linq; using System.Text; using Aspose.Cells; namespace EMIS.Utility { public enum HeaderAndFooterSection { Left = 0, Center = 1, Right = 2 } public class HeaderAndFooterFormater { public HeaderAndFooterSection Section { get; set; } public Func Formater { get; set; } } public class InsertColumnItem { public int ColumnIndex { get; set; } public int InsertCount { get; set; } } public class AsposeCellItem : CellItem { public Func Style { get; set; } } public class AsposeListItem : ListItem { public AsposeListItem() { StyleList = new List(); MergeList = new List(); IsInsertRow = true; } public bool IsInsertRow { get; set; } public List StyleList { get; set; } public List MergeList { get; set; } } public class AsposePageItem : PageItem { public AsposePageItem() : base() { MergeList = new List(); InsertColumnItemList = new List(); HeaderFormaterList = new List(); FooterFormaterList = new List(); } public List InsertColumnItemList { get; set; } public List MergeList { get; set; } public List HeaderFormaterList { get; set; } public List FooterFormaterList { get; set; } } internal class AsposeExcelStyle { public int Row { get; set; } public int Col { get; set; } public Style Style { get; set; } } }