xuri
2dc385431d
Merge pull request #162 from rohanthewiz/master
...
Add stacked bar chart
7 years ago
Rohan Allison
cc1d3fefc2
Add stacked bar chart
7 years ago
xuri
3d231cb549
Merge pull request #156 from dolmen-go/fix/SheetViewOptPtr-is-a-SheetViewOpt
...
SheetViewOptionPtr: document that it is a superset of SheetViewOption
7 years ago
xuri
130eb453f4
Merge pull request #154 from dolmen-go/feature/SheetPr-options
...
Add {G,S}etSheetPrOptions() to allow to set FitToPage for printing
7 years ago
Olivier Mengué
d2fb0197ab
SheetViewOptionPtr: document that it is a superset of SheetViewOption
...
Document in type system (not just in text for humans) that
all SheetViewOptionPtr are also SheetViewOption (well, if not nil).
This improves documentation visible with godoc but this simple change
also allows more flexibility to manipulate SheetViewOption programatically
such as saving and restoring values:
var opt excelize.ShowFormulas
opt = new(excelize.ShowFormulas)
_ = xl.GetSheetViewOptions(sheet, -1, opt)
_ = xl.SetSheetViewOptions(sheet, -1, opt)
7 years ago
Olivier Mengué
954612157b
Add {G,S}etSheetPrOptions()
...
Add SetSheetPrOptions and GetSheetPrOptions to allow to set options on
<sheetPr> and <pageSetUpPr>.
The following options are implemented:
- CodeName (string)
- EnableFormatConditionsCalculation (bool)
- Published (bool)
- FitToPage (bool)
- AutoPageBreaks (bool)
7 years ago
xuri
90998bfb4d
Merge pull request #149 from dolmen-go/feature/SheetView-options
...
Add SetSheetViewOptions()
7 years ago
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 .
7 years ago
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>
7 years ago
Jinzhu
21214a514d
Rename import path to github.com/360EntSecGroup-Skylar/excelize
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
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
8077732dff
Bugfix: read sheet name error, relate issue #137
...
Signed-off-by: Ri Xu <xuri.me@gmail.com>
7 years ago
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>
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
d4df70bd9f
Merge pull request #126 from dvrkps/patch-1
...
travis: update go versions
7 years ago
Davor Kapsa
87730aaf08
travis: update go versions
7 years ago
Ri Xu
e820388d70
Handle coordinate parse exception, relate issue #122 .
7 years ago
Ri Xu
b7b937a8a3
godoc updated.
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
3e7192b6ab
Simple go test.
7 years ago
Ri Xu
565b23e0e9
go test added for pull request #114
7 years ago
Ri Xu
cf1077dc9f
Merge pull request #114 from lichaofei/master
...
change the TitleToNumber function
7 years ago
Ri Xu
1f93fc7bad
Optimize code.
7 years ago
lichaofei
363604e2f3
Merge pull request #1 from lichaofei/test
...
Test
7 years ago
lichaofei
787495c503
Update lib.go
7 years ago
lichaofei
1169042f7d
Update lib.go
7 years ago
Ri Xu
5354074fc2
Update struct define to fix issue #112 .
7 years ago
Ri Xu
224f1850c7
TravisCI config updated.
7 years ago
Ri Xu
574a6b20d1
Golang 1.9 compatible, fix issue #111
7 years ago
Ri Xu
1ec2661dda
Bugfix: deep copy issue with function `CopySheet()`, relate PR #108 .
8 years ago
Ri Xu
77af25295e
- Conditional format with formula support, relate issue #75 ;
...
- go test and readme update
8 years ago
Ri Xu
58e2caff33
Merge pull request #103 from takayuki/trim-sheet-name-as-rune
...
Conut and trim sheet name in UTF-8
8 years ago
Takayuki Usui
02728de4d2
Conut and trim sheet name in UTF-8
8 years ago
Ri Xu
845e339755
Document updated.
8 years ago
Ri Xu
67636039f6
- Init conditional format support, relate issue #75 ;
...
- go test and godoc updated
8 years ago
Ri Xu
a8cf38ebd5
- New function `GetCellHyperLink()` added, relate issue #98 ;
...
- go test added
8 years ago
Ri Xu
5cf3725f02
Add missing element `xfId` of the styles to fix issue #93 .
8 years ago
Ri Xu
6626a26f7b
Simplify code and update unit tests.
8 years ago
Ri Xu
b327eb54dc
Merge pull request #91 from takayuki/time-round-off-error
...
Fix round-off error in representation of date and time values
8 years ago
Takayuki Usui
88d10ff27b
Fix round-off error in representation of date and time values
8 years ago
Ri Xu
308776e350
Optimize code, go test and godoc updated.
8 years ago
Ri Xu
1d54bd4df6
Merge pull request #90 from DeveloperBean/master
...
Add extra argument "Linktype" to SetCellHyperLink
8 years ago
Youngwan Kim
5a4870d1cf
Add extra argument "Linktype" to SetCellHyperLink
...
it support "External" and "Location"
Signed-off-by: Youngwan Kim <y103.kim@gmail.com>
8 years ago
Ri Xu
bbed2f6dc9
- Init create or remove panes support;
...
- go test updated
8 years ago
Ri Xu
961996a813
- Fix `completeCol()` make extra rows, relate issue #87 ;
...
- godoc updated
8 years ago