Go to the source code of this file.
|
| static bool | parseCellAddress (const wxString &aAddr, int &aRow, int &aCol) |
| | Parse a cell address string like "A0" or "B12" into 0-based row and column indices.
|
| |
◆ parseCellAddress()
| static bool parseCellAddress |
( |
const wxString & | aAddr, |
|
|
int & | aRow, |
|
|
int & | aCol ) |
|
static |
Parse a cell address string like "A0" or "B12" into 0-based row and column indices.
Supports single-letter columns (A-Z) and multi-letter columns (AA-ZZ). Both row and column numbers in the address are 0-based (A0 = first row, first column).
- Parameters
-
| aAddr | The address string to parse (e.g., "A0", "B5", "AA10") |
| aRow | Output parameter for the 0-based row index |
| aCol | Output parameter for the 0-based column index |
- Returns
- true if parsing succeeded, false if format is invalid
Definition at line 108 of file sch_tablecell.cpp.
Referenced by SCH_TABLECELL::GetShownText().
◆ _SCH_TABLECELL_DESC