Пример #1
0
 public string CellLocation(Spreadsheet spreadsheet)
 {
     return spreadsheet.GetCellLocation(this);
 }
Пример #2
0
 public override string CellText(Spreadsheet spreadsheet)
 {
     var result = text;
     var refCount = 0;
     foreach (var reference in cellReferences)
     {
         result = result.Replace("{" + refCount + "}", spreadsheet.GetCellLocation(reference));
         refCount++;
     }
     return result;
 }