Huge refactorig for consistent col/row numbering (#356)
* Huge refactorig for consistent col/row numbering
Started from simply changing ToALphaString()/TitleToNumber() logic and related fixes.
But have to go deeper, do fixes, after do related fixes and again and again.
Major improvements:
1. Tests made stronger again (But still be weak).
2. "Empty" returns for incorrect input replaces with panic.
3. Check for correct col/row/cell naming & addressing by default.
4. Removed huge amount of duplicated code.
5. Removed ToALphaString(), TitleToNumber() and it helpers functions at all,
and replaced with SplitCellName(), JoinCellName(), ColumnNameToNumber(), ColumnNumberToName(), CellNameToCoordinates(), CoordinatesToCellName().
6. Minor fixes for internal variable naming for code readability (ex. col, row for input params, colIdx, rowIdx for slice indexes etc).
* Formatting fixes
2019-03-20 00:14:41 +08:00
|
|
|
~$*.xlsx
|
2018-12-27 18:51:44 +08:00
|
|
|
test/Test*.xlsx
|
2020-10-04 21:07:39 +08:00
|
|
|
test/Test*.xlsm
|
2020-12-12 16:17:00 +08:00
|
|
|
# generated files
|
|
|
|
test/BadEncrypt.xlsx
|
|
|
|
test/BadWorkbook.SaveAsEmptyStruct.xlsx
|
|
|
|
test/*.png
|
2021-09-18 23:20:24 +08:00
|
|
|
test/excelize-*
|
2019-03-23 16:09:48 +08:00
|
|
|
*.out
|
2019-12-20 00:30:48 +08:00
|
|
|
*.test
|
|
|
|
.idea
|