Artem Kustikov
f2b8798a34
extend cell value load to support custom datetime format ( #703 )
...
* extend cell value load to support custom datetime format
* cleanup incorrect imports
* fix numeric values conversion as done in legacy Excel
* fix tests coverage
* revert temporary package name fix
* remove personal info from test XLSX files
* remove unused dependencies
* update format conversion in parseTime
* new UT to increase code coverage
* Resolve code review issue for PR #703
* Rename broken file name generated by unit test
Co-authored-by: xuri <xuri.me@gmail.com>
2020-10-04 21:07:39 +08:00
xuri
89465f41b5
Update dependency package version and docs for the OpenFile
2020-09-22 22:29:43 +08:00
xuri
324f87bcae
add checking and limits for the worksheet
2020-09-18 22:20:58 +08:00
xuri
01afc6e03f
init ECMA-376 agile encryption support
2020-09-06 19:32:00 +08:00
xuri
15fd56853f
Update docs and typo fixed
2020-06-22 00:14:56 +08:00
xuri
2ae631376b
add limits for total columns, row and filename length
2020-05-29 00:26:40 +08:00
xuri
66d0272f6a
Resolve #172 , init rich text support
2020-04-06 00:23:27 +08:00
xuri
09485b3f9f
Improve code coverage unit tests
2019-12-29 16:02:31 +08:00
Alex Geer
b1b3c0d151
Fix #539 Fixed error opening excel file created in encoding d… ( #540 )
...
* Fixed issue #539 Fixed error opening excel file created in encoding different from UTF-8, added logging of possible errors when decoding XML if the function does not provide exit with an error
* Added test for CharsetReader
* Fixed #discussion_r359397878
Discussion: https://github.com/360EntSecGroup-Skylar/excelize/pull/540#discussion_r359397878
* Fixed go fmt
* go mod tidy and removed unused imports
* The code has been refactored
2019-12-20 00:30:48 +08:00
xuri
8922f65978
Combine functions:
...
workBookRelsWriter, drawingRelsWriter into relsWriter;
drawingRelsReader, workbookRelsReader, workSheetRelsReader into relsReader;
addDrawingRelationships, addSheetRelationships into addRels
2019-09-16 01:17:35 +08:00
xuri
9c70d0ac86
Documentation updated, Go 1.10+ required
2019-08-11 00:36:14 +08:00
zaddok
5107928892
Fix potential memory leak
...
Fix potential memory leak where zw is not Close() when an error occurs.
2019-08-09 09:47:06 +10:00
xuri
f2df344739
Resolve #369,#370
...
add error return value
exported functions:
GetMergeCells
ProtectSheet
UnprotectSheet
UpdateLinkedValue
GetMergeCells
SetSheetVisible
inner functions:
workSheetReader
copySheet
2019-04-15 11:22:57 +08:00
xuri
f66212da9b
Resolve #106 , #294 performance optimization for add hyperlink
2019-02-26 14:21:44 +08:00
xuri
1aed1d744b
Resolve #274 , performance optimization for add images, charts and shapes
2019-02-25 22:14:34 +08:00
BluesJhao
1427027e38
Resolve #235 , performance optimization for add comments ( #347 )
2019-02-25 00:29:58 +08:00
xuri
0072bb7310
resolve the issue corrupted xlsx after deleting formula of cell, reference #346
2019-02-22 22:17:38 +08:00
xuri
fabd9d013f
README updated
2019-01-01 13:20:14 +08:00
lizheao
2be4d45c62
feat: add new function and refactor writeto action
...
* add new exported function to get Excel file content buffer
* refactor the WriteTo function
2018-10-12 10:25:10 +08:00
xuri
3e004d900b
Comments style changed.
2018-09-14 00:58:48 +08:00
xuri
13a9769cc5
Comments style changed.
2018-09-14 00:44:23 +08:00
xuri
2f146c923c
Comments style changed.
2018-09-14 00:35:47 +08:00
xuri
b4a6e61ec3
Fix golint errors under confidence 0.1
2018-09-12 15:47:56 +08:00
xuri
ec37b114c3
Fixes #256 and format document.
2018-08-06 10:21:24 +08:00
xuri
d6468fc114
- Initialize theme support;
...
- RGBA, HSL color convert has been added;
- go test updated
2018-07-07 15:59:48 +08:00
Olivier Mengué
2132de1a08
Extract WriteTo method (see io.WriterTo) to expose bytes written
...
Extract a WriteTo() method (see io.WriterTo) that exposes the count of bytes
written and rewrite Write() to use it.
2018-06-14 17:00:00 +02:00
xuri
aaced358f1
- Initialize shared formula types support, relate issue #227 ;
...
- go test and godoc has been updated
2018-05-26 16:23:15 +08:00
Lunny Xiao
38ad20efc1
save bytes on memory instead of string
2018-05-07 16:12:51 +08:00
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
2017-09-13 22:00:33 +08:00
Ri Xu
66e5d1fa80
API changed, use `NewFile()` instead of `CreateFile()` and use `SaveAs()` instead of `WriteTo()`.
2017-06-28 17:03:20 +08:00
Ri Xu
35841caaf1
- Function `formattedValue()` performance improvement by avoid repeating deserialization, relate issue #64 ;
...
- Make function `ToAlphaString()` exportable, relate issue #63
2017-06-26 18:44:19 +08:00
Ri Xu
219aadeb76
- Initialize char support, relate issue #31 ;
...
- Doc for function `GetRows()` updated, relate issue #43 ;
- Fix doc typo in `xmlContentTypes.go`;
- Default template updated;
- Readme updated;
- go test updated
2017-04-23 00:10:23 +08:00
Ri Xu
8fd061b98f
- Fix SheetCount count error;
...
- Optimize deserialization operations;
- README updated, add go version required notice
2017-04-01 13:56:39 +08:00
Ri Xu
de6e075713
Performance improvement
2017-03-12 20:38:26 +08:00
Josh Fyne
d9f4a2f154
Standardize input and output
2017-02-16 13:25:55 -05:00
Ri Xu
bd5b033b02
Support set work sheet background image.
2017-01-24 18:29:02 +08:00
Ri Xu
52796f6e58
Format commants, break comments after 80 characters.
2017-01-18 16:05:01 +08:00
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
2017-01-18 14:47:23 +08:00
Ri Xu
75abc628fe
Update godoc of package.
2016-10-19 20:39:44 +08:00
Ri Xu
50863294f9
Fix issue #2 change project to object-oriented style and update readme file.
2016-09-05 16:37:15 +08:00
Ri Xu
956a4627d1
Fix issue #4 use builtin `map` instead of home-built.
2016-09-05 10:44:32 +08:00
Ri Xu
192af02a40
Format code with golint rules
2016-09-02 11:54:52 +08:00
Ri Xu
0a0a36bafd
Update testing file more case added and reading cell value usage example in readme added.
2016-09-02 10:28:29 +08:00
Ri Xu
a9d3ee2869
Init commit.
2016-08-30 11:51:31 +08:00