private void SetCellValue(string value, CellIndex cellIndex, string fontFamilyName, bool isItalic, bool isBold) { CellSelection cell = this.Worksheet.Cells[cellIndex]; cell.SetValue(value); cell.SetFontFamily(new ThemableFontFamily(fontFamilyName)); cell.SetIsItalic(isItalic); cell.SetIsBold(isBold); }