Exemplo n.º 1
0
 private SheetReference TryParseGridReference(string s)
 {
     if (CellReference.IsValidString(s))
     {
         return(CellReference.FromString(s));
     }
     if (CellRangeReference.IsValidString(s))
     {
         return(CellRangeReference.FromString(s));
     }
     if (ColumnReference.IsValidString(s))
     {
         return(ColumnReference.FromString(s));
     }
     if (RowReference.IsValidString(s))
     {
         return(RowReference.FromString(s));
     }
     return(null);
 }
Exemplo n.º 2
0
 public override Reference CreateReference()
 {
     return(ColumnReference.FromString(_image));
 }