Veniamin Albaev
7d197c6d89
Fixed PR #356 regression RemoveCol() broken ( #365 )
6 years ago
xuri
beff7b4f3c
Typo fixed and godoc updated
6 years ago
Veniamin Albaev
dc01264562
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
6 years ago
xuri
0072bb7310
resolve the issue corrupted xlsx after deleting formula of cell, reference #346
6 years ago
xuri
fabd9d013f
README updated
6 years ago
xuri
e728ff1498
Fixes #308 , refactor `NewSheet()`, `DeleteSheet()`, `SetActiveSheet()` and `GetActiveSheetIndex()`
6 years ago
xuri
81b43da7b6
Fix comments according to best practices by effective go
6 years ago
xuri
3e004d900b
Comments style changed.
6 years ago
xuri
13a9769cc5
Comments style changed.
6 years ago
xuri
2f146c923c
Comments style changed.
6 years ago
xuri
b4a6e61ec3
Fix golint errors under confidence 0.1
6 years ago
xuri
ec37b114c3
Fixes #256 and format document.
7 years ago
xuri
eb62256d16
Simplify testing code, add test case for outline functions and update the godoc.
7 years ago
Ilya Kuznetsov
e70618d084
Added functions to set and get outline level for columns and rows.
7 years ago
Ri Xu
f10ee929d0
- Bugfix: use sheet name in func `AddPicture`, relate issue #142 ;
...
- godoc updated
7 years ago
Ri Xu
ebafbdde73
Bugfix: use sheet name in func `AddChat`, relate issue #138
...
Signed-off-by: Ri Xu <xuri.me@gmail.com>
7 years ago
Ri Xu
9b5b74d480
Performance optimization, use the array index instead of the value in range.
7 years ago
Ri Xu
f05f799f8d
- API changed, use worksheet name instead of "sheet" + index, related issue #25 , #43 , #47 , #51 , #89 , #101 , #116 and #120 .
...
- go test updated
7 years ago
Ri Xu
961996a813
- Fix `completeCol()` make extra rows, relate issue #87 ;
...
- godoc updated
8 years ago
Ri Xu
6aa59a1af2
- Init insert/remove column/row support. Relate issue #77 and #82 ;
...
- Readme and go test updated
8 years ago
Ri Xu
86466654e2
- Unify the index row number index of functions `SetRowHeight()` and `GetRowHeight()` relate issue #68 ;
...
- Unify the return value data type of functions `SetColWidth()` and `GetColWidth()`;
- go test updated
8 years ago
Ri Xu
14eca84073
Function `GetColWidth()` and `GetRowHeight()` has been exported, relate issue #68 .
8 years ago
Ri Xu
66e5d1fa80
API changed, use `NewFile()` instead of `CreateFile()` and use `SaveAs()` instead of `WriteTo()`.
8 years ago
Ri Xu
555e2ba9a8
- Make function `TitleToNumber()` exportable, note that function `ToAlphaString()` return value calculation changes, get more info from go doc. Relate issue #63 ;
...
- Readme and go doc updated
8 years ago
Ri Xu
9928bbc7c8
- New functions `GetColVisible()` and `SetColVisible()` added, relate issue #61 ;
...
- go test updated;
- Fix typo
8 years ago
Ri Xu
de6e075713
Performance improvement
8 years ago
Ri Xu
bd5b033b02
Support set work sheet background image.
8 years ago
Ri Xu
03234d6a25
Support add picture with offset and scaling.
8 years ago
Ri Xu
52796f6e58
Format commants, break comments after 80 characters.
8 years ago
Ri Xu
f05df2a018
- New function `SetSheetName` and `SetColWidth` added, support rename sheet and set column width;
...
- Add escape characters of sheet name;
- Update go test and fix typo
8 years ago