xuri
90998bfb4d
Merge pull request #149 from dolmen-go/feature/SheetView-options
...
Add SetSheetViewOptions()
2017-11-17 09:33:50 +08:00
Olivier Mengué
88e48e079a
Add SetSheetViewOptions and GetSheetViewOptions ( #145 )
...
Two new methods:
- SetSheetViewOptions(sheetName string, viewIndex int, opts ...SheetViewOption) error
- GetSheetViewOptions(sheetName string, viewIndex int, opts ...SheetViewOptionPtr) error
The option values are given by the user through types that have privates methods
that implement the private SheetViewOption and SheetViewOptionPtr interfaces:
- DefaultGridColor(bool)
- RightToLeft(bool)
- ShowFormulas(bool)
- ShowGridLines(bool)
- ShowRowColHeaders(bool)
Examples:
err := xl.SetSheetViewOptions("Sheet1", -1, excelize.ShowGridLines(true))
var showGridLines excelize.ShowGridLines
err := xl.GetSheetViewOptions("Sheet1", -1, &showGridLines)
Fixes #145 .
2017-11-16 12:00:36 +01:00
Ri Xu
eb54510cad
Add missing XML attributes `customWorkbookViews` and `customWorkbookView` in the workbook, relate issue #152 .
...
Signed-off-by: Ri Xu <xuri.me@gmail.com>
2017-11-16 17:31:01 +08:00
Jinzhu
21214a514d
Rename import path to github.com/360EntSecGroup-Skylar/excelize
2017-11-16 11:07:39 +08:00
Ri Xu
96b3e1ea74
Bugfix: corrupted xlsx after write operation, relate issue #152 .
...
Signed-off-by: Ri Xu <xuri.me@gmail.com>
2017-11-16 10:24:45 +08:00
xuri
a4ffb4fbfc
Merge pull request #141 from WingGao/wing
...
fix OpenReader no sheet error
2017-11-03 10:31:48 +08:00
Ri Xu
f10ee929d0
- Bugfix: use sheet name in func `AddPicture`, relate issue #142 ;
...
- godoc updated
2017-10-31 16:33:36 +08:00
Wing Gao
48b8bac126
fix OpenReader no sheet error
2017-10-27 22:05:00 +08:00
Ri Xu
ebafbdde73
Bugfix: use sheet name in func `AddChat`, relate issue #138
...
Signed-off-by: Ri Xu <xuri.me@gmail.com>
2017-10-20 14:40:57 +08:00
Ri Xu
8077732dff
Bugfix: read sheet name error, relate issue #137
...
Signed-off-by: Ri Xu <xuri.me@gmail.com>
2017-10-18 19:07:35 +08:00
Ri Xu
b4ffa8ce48
- Add unsigned integer data type support, related issue #136 ;
...
- go test and godoc updated
Signed-off-by: Ri Xu <xuri.me@gmail.com>
2017-10-18 18:42:20 +08:00
Ri Xu
9b5b74d480
Performance optimization, use the array index instead of the value in range.
2017-10-16 10:42:43 +08:00
Ri Xu
905be463ed
Improve code readability.
2017-09-30 17:07:59 +08:00
Ri Xu
d4df70bd9f
Merge pull request #126 from dvrkps/patch-1
...
travis: update go versions
2017-09-26 21:14:58 -05:00
Davor Kapsa
87730aaf08
travis: update go versions
2017-09-26 12:47:18 +02:00
Ri Xu
e820388d70
Handle coordinate parse exception, relate issue #122 .
2017-09-19 11:59:33 +08:00
Ri Xu
b7b937a8a3
godoc updated.
2017-09-13 22:17:40 +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
3e7192b6ab
Simple go test.
2017-09-11 15:53:25 +08:00
Ri Xu
565b23e0e9
go test added for pull request #114
2017-09-06 13:15:25 +08:00
Ri Xu
cf1077dc9f
Merge pull request #114 from lichaofei/master
...
change the TitleToNumber function
2017-09-06 12:17:58 +08:00
Ri Xu
1f93fc7bad
Optimize code.
2017-09-06 12:16:39 +08:00
lichaofei
363604e2f3
Merge pull request #1 from lichaofei/test
...
Test
2017-09-05 19:10:23 +08:00
lichaofei
787495c503
Update lib.go
2017-09-05 18:26:47 +08:00
lichaofei
1169042f7d
Update lib.go
2017-09-05 18:06:38 +08:00
Ri Xu
5354074fc2
Update struct define to fix issue #112 .
2017-09-05 17:14:01 +08:00
Ri Xu
224f1850c7
TravisCI config updated.
2017-09-01 13:07:03 +08:00
Ri Xu
574a6b20d1
Golang 1.9 compatible, fix issue #111
2017-09-01 12:59:15 +08:00
Ri Xu
1ec2661dda
Bugfix: deep copy issue with function `CopySheet()`, relate PR #108 .
2017-08-19 13:37:15 +08:00
Ri Xu
77af25295e
- Conditional format with formula support, relate issue #75 ;
...
- go test and readme update
2017-08-18 20:55:27 +08:00
Ri Xu
58e2caff33
Merge pull request #103 from takayuki/trim-sheet-name-as-rune
...
Conut and trim sheet name in UTF-8
2017-08-13 14:35:27 +08:00
Takayuki Usui
02728de4d2
Conut and trim sheet name in UTF-8
2017-08-13 13:19:53 +09:00
Ri Xu
845e339755
Document updated.
2017-08-11 23:39:59 +08:00
Ri Xu
67636039f6
- Init conditional format support, relate issue #75 ;
...
- go test and godoc updated
2017-08-11 23:15:33 +08:00
Ri Xu
a8cf38ebd5
- New function `GetCellHyperLink()` added, relate issue #98 ;
...
- go test added
2017-08-08 20:08:54 +08:00
Ri Xu
5cf3725f02
Add missing element `xfId` of the styles to fix issue #93 .
2017-08-07 10:42:10 +08:00
Ri Xu
6626a26f7b
Simplify code and update unit tests.
2017-08-01 16:35:18 +08:00
Ri Xu
b327eb54dc
Merge pull request #91 from takayuki/time-round-off-error
...
Fix round-off error in representation of date and time values
2017-07-31 09:54:08 +08:00
Takayuki Usui
88d10ff27b
Fix round-off error in representation of date and time values
2017-07-31 09:33:48 +09:00
Ri Xu
308776e350
Optimize code, go test and godoc updated.
2017-07-30 15:46:04 +08:00
Ri Xu
1d54bd4df6
Merge pull request #90 from DeveloperBean/master
...
Add extra argument "Linktype" to SetCellHyperLink
2017-07-30 15:05:40 +08:00
Youngwan Kim
5a4870d1cf
Add extra argument "Linktype" to SetCellHyperLink
...
it support "External" and "Location"
Signed-off-by: Youngwan Kim <y103.kim@gmail.com>
2017-07-30 15:46:58 +09:00
Ri Xu
bbed2f6dc9
- Init create or remove panes support;
...
- go test updated
2017-07-30 12:40:59 +08:00
Ri Xu
961996a813
- Fix `completeCol()` make extra rows, relate issue #87 ;
...
- godoc updated
2017-07-27 15:38:58 +08:00
Ri Xu
4a74951e81
- Support set custom number format, relate issue #86 ;
...
- go test and godoc updated
2017-07-27 11:46:04 +08:00
Ri Xu
8493fea373
- Add number format code with unicode values, relate issue #86 ;
...
- godoc updated
2017-07-26 18:37:00 +08:00
Ri Xu
6aa59a1af2
- Init insert/remove column/row support. Relate issue #77 and #82 ;
...
- Readme and go test updated
2017-07-24 10:26:02 +08:00
Ri Xu
3b2c80ddc3
Trim blank cells which created by `completeCol()`, relate issue #81
2017-07-16 13:03:45 +08:00
Ri Xu
4f942255e4
- Fix missing element in worksheet, workbook and styles. Related issue #81 ;
...
- Format code and update readme
2017-07-15 20:03:44 +08:00
Ri Xu
4b7d21bb63
Currency format code added.
2017-07-15 16:38:29 +08:00