GNOME Bugzilla – Bug 407247
Selection descriptor doesn't show cell references in R1C1 format
Last modified: 2007-02-13 18:33:19 UTC
If the worksheet is using R1C1 style references, the selection descriptor still shows the active cell's reference in A1 style. A possible fix for this is attached; it's a fairly non-invasive way of fixing this, but I don't know if it is the best way. The patch defines a function, cellpos_as_string_r1c1(), to use instead of cellpos_as_string(). Instead it might be better to change the declaration of cellpos_as_string() to become: char const *cellpos_as_string (GnmCellPos const *pos, gboolean r1c1_address) I think this would be a bit cleaner, but would make the patch much bigger (though only in a trivial way).
Created attachment 82427 [details] [review] Make selection descriptor follow A1/R1C1 reference style of active worksheet
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report. I fixed this another way: basically, cell_name and the new parsepos_as_string know how to query the sheet's r1c1_addresses. That should fix a large pile of these issues automatically.