Exemplo n.º 1
0
 public uint GetFontIndex(ExcelStylesheetFontIndex index)
 {
     if (_indexes != null && _indexes.ContainsKey(index))
     {
         return(_indexes[index]);
     }
     return(0);
 }
Exemplo n.º 2
0
 private void AppendWithIndexSave(Fonts parent, Font child, ExcelStylesheetFontIndex excelSheetIndex)
 {
     parent.AppendChild(child);
     _indexes.Add(excelSheetIndex, (uint)_indexes.Count);
 }