Esempio n. 1
0
 public static bool TryCreateCell(OpenXmlWorksheet worksheet, string reference, out OpenXmlCell cell)
 {
     if (ReferenceEncoder.TryDecodeCellReference(reference, out uint column, out bool isColumnFixed, out uint row, out bool isRowFixed))
     {
         cell = new OpenXmlCell(worksheet, column, isColumnFixed, row, isRowFixed);
         return(true);
     }
Esempio n. 2
0
 public ICell this[string reference] => OpenXmlCell.TryCreateCell(this.worksheet, reference, out OpenXmlCell cell) ? cell : throw new FormatException();