Fix #4550: Correct row/column transposition in xlsx tool #4622
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Summary
parse_cell_referenceto return (row, column) instead of (column, row)Problem
The xlsx tool was incorrectly transposing row and column coordinates. When requesting cell A2 (row 2, column 1), it would return the value from B1 (row 1, column 2) instead. This was caused by
parse_cell_referencereturning coordinates in the wrong order compared to what the umya_spreadsheet library expects.Solution
parse_cell_referenceto return(row, col)instead of(col, row)to match umya_spreadsheet's coordinate expectationparse_rangeandget_rangefunctions to handle the corrected coordinate ordertest_coordinate_mapping: Verifies the coordinate system mappingtest_issue_4550_row_column_transposition: Specifically tests the reported issueTest Plan
Fixes #4550