public uint GetSheetStyleIndex(ExcelSheetStyleIndex index) { if (_indexes != null && _indexes.ContainsKey(index)) { return(_indexes[index]); } return(0); }
private static bool IsNumericType(ExcelSheetStyleIndex styleIndex) { return(styleIndex == ExcelSheetStyleIndex.Nformat4Decimal); }
public ExcelCell(string value, ExcelSheetStyleIndex styleIndex = ExcelSheetStyleIndex.Default) { Value = value; StyleIndex = styleIndex; }
private void AppendWithIndexSave(CellFormats formats, CellFormat child, ExcelSheetStyleIndex excelSheetIndex) { formats.AppendChild(child); _indexes.Add(excelSheetIndex, (uint)_indexes.Count); }