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
f66212da9b
Resolve #106 , #294 performance optimization for add hyperlink
6 years ago
xuri
1aed1d744b
Resolve #274 , performance optimization for add images, charts and shapes
6 years ago
BluesJhao
1427027e38
Resolve #235 , performance optimization for add comments ( #347 )
6 years ago
xuri
0072bb7310
resolve the issue corrupted xlsx after deleting formula of cell, reference #346
6 years ago
Veniamin Albaev
725c1a0c40
New feature: File.DuplicateRowTo() duplicate row to specified row position.
...
DuplicateRowTo() is similar to DuplicateRow() but copies specified row not just after specified source row
but to any other specified position below or above source row.
Also I made minor modifications of tests: using filepath.Join() instead of direct unix-way paths strings
to avoid possible tests fails on other OS.
6 years ago
zhangleijlu
034de7acd8
Resolve #318 , add new functions and
6 years ago
xuri
fabd9d013f
README updated
6 years ago
xuri
9a6f66a996
New feature: the function `SearchSheet` now support regular expression, relate pull request #316
6 years ago
Veniamin Albaev
7b7ca99f5d
Duplicate row ( #317 )
...
* go mod tidy applied
* File.DuplicateRow() method added
6 years ago
xuri
3ca3156d45
Merge pull request #313 from sairoutine/feature/get_merge_cells
...
Add GetMergeCells
6 years ago
sairoutine
3012df08eb
Add GetMergeCells
6 years ago
xuri
b89f75c896
Add new logo for excelize
6 years ago
xuri
1c45425f12
resolve #276 , add OfficeOpenXML-XMLSchema-Strict mode support
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
d6468fc114
- Initialize theme support;
...
- RGBA, HSL color convert has been added;
- go test updated
7 years ago
xuri
9e463b4614
- Add error return value for functions: `AddChart()`, `AddComment()`, `AddPicture()`, `AddShape()`, `AddTable()` and `SetConditionalFormat()`
...
- go test has been updated
7 years ago
xuri
e8961f0aff
- Bugfix: set font family not works, relate issue #222 ;
...
- Remove useless function `replaceWorkSheetsRelationshipsNameSpace()`;
- Make test cases use strict error checking
7 years ago
Lunny Xiao
38ad20efc1
save bytes on memory instead of string
7 years ago
Ri Xu
52b1a8e896
- Function `SetCellValue()` time.Duration support added, relate issue #176 ;
...
- go test updated
7 years ago
Ri Xu
96b3e1ea74
Bugfix: corrupted xlsx after write operation, relate issue #152 .
...
Signed-off-by: Ri Xu <xuri.me@gmail.com>
7 years ago
xuri
a4ffb4fbfc
Merge pull request #141 from WingGao/wing
...
fix OpenReader no sheet error
7 years ago
Ri Xu
f10ee929d0
- Bugfix: use sheet name in func `AddPicture`, relate issue #142 ;
...
- godoc updated
7 years ago
Wing Gao
48b8bac126
fix OpenReader no sheet error
7 years ago
Ri Xu
8077732dff
Bugfix: read sheet name error, relate issue #137
...
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
905be463ed
Improve code readability.
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
6aa59a1af2
- Init insert/remove column/row support. Relate issue #77 and #82 ;
...
- Readme and go test updated
8 years ago
Ri Xu
38df838598
Bugfix: unable to read the value of the merged cell, relate issue #78
8 years ago
Ri Xu
654a676d93
- New function `NewStyle()` added and function `SetCellStyle()` has been exported, relate issue #72 ;
...
- go test and go doc updated
8 years ago
Ri Xu
e05867a033
Function `GetCellValue()` performance improvement by avoid repeating deserialization, relate issue #70 .
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
35841caaf1
- Function `formattedValue()` performance improvement by avoid repeating deserialization, relate issue #64 ;
...
- Make function `ToAlphaString()` exportable, relate issue #63
8 years ago
Ri Xu
db4aff04fd
- Handle pre-defined number format set of cell when set cell value with `time.Time` data type, related issue #62 ;
...
- go doc updated
8 years ago
Ri Xu
efff54ccde
- Fixed coordinate parse error in function `SetCellStyle()`, relate issue #60 ;
...
- Simplified code
8 years ago
Ri Xu
d372bb977f
Priority cell style, when the cell and the column at the same time with the style attribute. Relate issue #54 and #56 .
8 years ago
Ri Xu
e41ee8a124
Set cell support column style predefined detection, relate issue #54 .
8 years ago
Ri Xu
dea57dd0ae
Code optimize.
8 years ago
Ri Xu
8fbab47444
- Formatted cell data support, fix issue #48 ;
...
- Function `SetCellValue()` support `time.Time` data type parameter, relate issue #49 ;
- go doc and go test updated
8 years ago
Ri Xu
8fd061b98f
- Fix SheetCount count error;
...
- Optimize deserialization operations;
- README updated, add go version required notice
8 years ago
Ri Xu
330c7a0925
Performance enhancements, remove redundant XML element checking logic. Relate issue #29 . The benchmark report of the current version of this library is shown on the wiki page.
8 years ago
Ri Xu
bee487c445
Leading space(s) character in cell value detection added. Related issue #32 .
8 years ago
Ri Xu
de6e075713
Performance improvement
8 years ago
Ri Xu
5384756d64
- Complete the element `sheetFormatPr` struct definition;
...
- Partial logic performance optimization, use pointer reference instead of a pass the variable value;
- Add comments for content types struct definition;
- Update go test `TestSetBorder` section
8 years ago
Ri Xu
1f73f08185
- New feature: border setting support (Related issue #21 );
...
- Function parameter code is simplified;
- Fix element `Tint` value parsing error in worksheet;
- Update go test
8 years ago