Esempio n. 1
0
        public static void Show()
        {
            var contextFactory = new CellContextFactory();
            var sheet          = new SpreadSheet(contextFactory);

            sheet.SetContent(0, 0, "Hello");
            sheet.SetContent(1, 0, "World");
            sheet.SetFontFamily(0, 0, "Arial");
            sheet.Render();
        }
Esempio n. 2
0
        public SpreadSheet(CellContextFactory contextFactory)
        {
            _contextFactory = contextFactory;

            GenerateCells();
        }