OloloevReal
4efc3dd8f0
Added ZoomScale SheetViewOption
...
Accessible value between 10 - 400
Used as:
xlsx.SetSheetViewOptions(sheet, 0, excelize.ZoomScale(75))
2018-04-15 22:56:47 +03:00
Ri Xu
2b97c3bb46
- Support to read inlineStr type cell value, relate issue #208 , PR #209 ;
...
- go test and godoc has been updated
2018-04-09 19:44:08 +08:00
Ri Xu
564ebe48dd
- Fix `checkCellInArea()` index out of range when merged cell ref is single coordinate, relate issue #206 ;
...
- go test updated;
- Repository icon for SourceTree has been added
2018-04-08 10:31:11 +08:00
Ri Xu
a6fc5a721d
- Make row index consistent in function `SetRowHeight` and `GetRowHeight`, fix issue #205 ;
...
- go test and godoc has been updated
2018-04-02 10:59:15 +08:00
Ri Xu
dcbde4b831
- Add categories or values on reverse order (orientation of the chart) support, and set auto or fixed maximum, minimum of the axis, relate issue #202 ;
...
- go test and godoc has been updated
2018-03-29 20:17:07 +08:00
Ri Xu
50e3963332
Remove English from the Chinese Readme file.
2018-03-27 21:14:40 +08:00
Ri Xu
adce2de927
Add the Chinese version of the README file.
2018-03-27 21:01:07 +08:00
Ri Xu
d65b30055d
- Update the function `NewSheet()` to handle when already exists a worksheet of the same name, relate pull request #196 ;
...
- go test and godoc has been updated
2018-03-16 20:54:07 +08:00
Ri Xu
770026e956
- New function `SetSheetRow()` has been added for support write whole line at once, relate issue #96 and #194 ;
...
- go test and godoc updated;
- Note that this function performance has not been tested
2018-03-12 20:14:39 +08:00
Ri Xu
ecc3adf22a
- Add protection properties associated with the cell support, relate issue #191 ;
...
- godoc and go test has been updated
2018-03-07 12:56:18 +08:00
Ri Xu
06e54bf1c6
Readme and godoc has been updated.
2018-03-06 10:36:12 +08:00
Ri Xu
45c31c4764
- Update the function `AddChart()`: clustered, stacked and 100% stacked bar and column series charts supported, relate issue #190 ;
...
- go test and godoc has been updated
2018-03-05 21:23:52 +08:00
Ri Xu
b1b056e0eb
Handle special shared string table file name `xl/SharedStrings.xml`, relate issue #188
2018-03-02 10:19:40 +08:00
Ri Xu
9d7b94d760
Update godoc to make charts compatibility with WPS, relate issue #187 .
2018-02-12 11:45:42 +08:00
Ri Xu
7621927573
- Add a hyperlink to an image support for the function `AddPicture()`, relate issue #185 ;
...
- go test and document has been updated.
2018-02-03 15:02:37 +08:00
Ri Xu
638bd44dd5
- gofmted with -s;
...
- Fix ineffectual assignments in Go code;
- Godoc has been updated
2018-01-31 11:12:43 +08:00
xuri
12760a7ee6
Merge pull request #184 from martinal/speedup-setcellstyle-more
...
Speedup `SetCellStyle()` more.
2018-01-29 20:00:39 +08:00
Martin Sandve Alnæs
e556c25047
Avoid looping over unused rows and columns in SetCellStyle.
...
The recent improvement to SetCellStyle still loops
over all the rows before the area, moving the area checks
into the loop is more concise and faster.
Since the loop now covers the correct area by construction,
the inner loop check checkCellInArea is no longer needed.
2018-01-29 12:39:06 +01:00
Ri Xu
6f4e4d9ef1
Revert "The godoc and readme page has been updated."
...
This reverts commit e4611e9e25
.
2018-01-28 13:57:32 +08:00
Ri Xu
e4611e9e25
The godoc and readme page has been updated.
2018-01-26 17:17:44 +08:00
xuri
4aadca6db8
Merge pull request #183 from pvelder/182_fix
...
xlsx.SetCellValue() now supports bool value
2018-01-26 16:53:17 +08:00
dvelderp
b25ec6e9d3
xlsx.SetCellValue() now supports bool value
2018-01-25 18:08:26 +01:00
xuri
541d29f3b2
Merge pull request #180 from mbresson/optimize-SetCellStyle
...
make SetCellStyle quicker by skipping conversions in checkCellInArea,…
2018-01-19 20:58:26 +08:00
mbresson
317ef65381
make SetCellStyle quicker by skipping conversions in checkCellInArea, and skipping area checks when we are sure the cell can't be before or past the current row/col
...
Signed-off-by: Matthieu Bresson
2018-01-19 17:49:09 +08:00
Ri Xu
50cdaed5a3
- Add 3D column and 3D 100% stacked column chart support, relate issue #160 ;
...
- go test updated
2018-01-08 23:03:59 +08:00
Ri Xu
6dc135a992
Fix read columns count wrong in specific xlsx data, relate issue #175
2018-01-06 08:05:43 +08:00
Ri Xu
52b1a8e896
- Function `SetCellValue()` time.Duration support added, relate issue #176 ;
...
- go test updated
2018-01-05 09:39:31 +08:00
Ri Xu
e13ccce89a
Copyright updated.
2018-01-03 17:54:28 +08:00
Ri Xu
46187309f4
Issue template and contributing guide updated.
2017-12-16 14:22:10 +08:00
Ri Xu
af737dd3f6
Issue template added.
2017-12-15 09:57:12 +08:00
Ri Xu
749d12eece
- Fix `DeleteSheet()` make broken file, relate issue #165 ;
...
- godoc updated
2017-12-04 23:54:32 +08:00
Ri Xu
6d634ca320
GitHub repo URL changed.
2017-12-01 16:52:15 +08:00
xuri
443695732e
Merge pull request #153 from jinzhu/master
...
Rename import path to github.com/360EntSecGroup-Skylar/excelize
2017-12-01 16:50:07 +08:00
Ri Xu
76366fc1d9
Travis CI config updated and typo fixed.
2017-12-01 16:31:27 +08:00
Ri Xu
07a4140098
- 24 hour time format supported, relate issue #163 ;
...
- godoc and go test updated
2017-12-01 15:47:39 +08:00
xuri
2dc385431d
Merge pull request #162 from rohanthewiz/master
...
Add stacked bar chart
2017-11-25 22:26:54 +08:00
Rohan Allison
cc1d3fefc2
Add stacked bar chart
2017-11-24 11:29:35 -06:00
xuri
3d231cb549
Merge pull request #156 from dolmen-go/fix/SheetViewOptPtr-is-a-SheetViewOpt
...
SheetViewOptionPtr: document that it is a superset of SheetViewOption
2017-11-21 11:08:28 +08:00
xuri
130eb453f4
Merge pull request #154 from dolmen-go/feature/SheetPr-options
...
Add {G,S}etSheetPrOptions() to allow to set FitToPage for printing
2017-11-21 11:07:00 +08:00
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)
2017-11-17 19:43:32 +01:00
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)
2017-11-17 18:45:20 +01:00
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