convenience method

This commit is contained in:
Adam D. Ruppe 2025-10-05 08:51:51 -04:00
parent 399e9d723e
commit af7d5339c8
1 changed files with 4 additions and 0 deletions

4
xlsx.d
View File

@ -886,6 +886,10 @@ struct CellReference {
return CellReference(ret); return CellReference(ret);
} }
string toString() {
return name;
}
int toColumnIndex() { int toColumnIndex() {
size_t endSlice = name.length; size_t endSlice = name.length;
foreach(idx, ch; name) { foreach(idx, ch; name) {