xuri
52f1eee7c4
Fix #578 , escape character in the formula
2020-02-15 16:34:47 +08:00
xuri
e51aff2d95
Resolve #570 , flat columns for the column's operation
2020-02-07 00:53:38 +08:00
xuri
09485b3f9f
Improve code coverage unit tests
2019-12-29 16:02:31 +08:00
xuri
8b960ee1e6
Fix #547 and #546 , add default overlay element for the chart
2019-12-28 15:05:44 +08:00
xuri
4e4a5b9b3e
Improve compatibility, fix workbook's rels ID calc error
2019-12-23 00:07:40 +08:00
xuri
ae2865d923
Improve code coverage unit tests
2019-12-22 00:02:09 +08:00
match-meng
7358dca436
Update comments for the xmlNewDecoder ( #542 )
2019-12-20 22:22:56 +08:00
xuri
a526e90404
Fix #426 , handle empty workbook view
2019-12-16 08:32:04 +08:00
xuri
da0d2ffbb6
Fix #533 , add support overlapped mergecells
2019-12-14 19:57:37 +08:00
xuri
08d1a86c3a
Fix #523 , add stream writer for generate new worksheet with huge amounts of data
2019-12-10 00:16:17 +08:00
xuri
8d6e431dcd
Resolve #521 , fix missing elements when parsing
2019-11-28 21:53:50 +08:00
Harris
bf9a835549
Reduce allocations when writing
...
Fix #494
If a row is full, don't bother allocating a new one, just return it.
Use the last populated row as a hint for the size of new rows.
Simplify checkSheet to remove row map
2019-11-05 08:18:11 -06:00
streboryaj
2d21b5b50f
Added accessors for Getting/Setting Page Margins ( #497 )
...
* Added accessors for Getting/Setting Page Margins
* Added test cases
2019-10-15 22:26:08 +08:00
jaby
babfeb6b57
Add missing ShowZeros SheetViewOption implementation
2019-09-30 14:39:30 +02:00
xuri
a34d3b8c86
Compatibility improvement
2019-09-24 21:53:19 +08:00
xuri
eef232f09e
Fix #483 , adjust the order of fields in the structure
2019-09-18 00:47:31 +08:00
xuri
9c70d0ac86
Documentation updated, Go 1.10+ required
2019-08-11 00:36:14 +08:00
Harris
acd76425c2
Handle multi row inline strings
...
The inline string struct is actually the same
as the shared strings struct, reuse it.
Note that Go version 1.10 is required.
Fixes #462
2019-08-09 08:12:08 -05:00
WuXu1995
497ad8f4be
Bugfix #454
2019-08-06 10:00:10 +08:00
xuri
cbe919fdf6
New feature: sparkline supported
2019-08-04 20:24:59 +08:00
xuri
4897276c68
Make fitToHeight tag omit empty
2019-07-05 23:15:39 +08:00
xuri
cff16fa811
- Supplemental worksheet struct fields and field order adjustment
...
- Testing case for set and get doc properties
- Update charts struct XML tags
2019-06-05 22:06:15 +08:00
xuri
72701e89c7
Fix structs fields definition errors and keep double quotes in data validation formula
2019-05-04 00:10:11 +08:00
kkxkkxkkgh
81948d9e1e
The function SetPageLayout support set paper size
2019-01-13 21:58:50 +08:00
xuri
fabd9d013f
README updated
2019-01-01 13:20:14 +08:00
Harris
faa7285a4f
Add support to flip outline summaries
...
This adds outlinePr support, with the summaryBelow attribute
which defaults to true.
Closes #304
Signed-off-by: Michael Harris
2018-12-13 14:01:57 -06:00
HcySunYang
4dbc78ce0a
resolve #273 new feature: protect sheet support
...
new feature: protect sheet support, relate issue #273
2018-11-02 23:08:31 +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
ba459dc659
DataValidation struct changed
...
Change `allowBlank`, `ShowErrorMessage` and `ShowInputMessage` type as boolean, add new field `ShowDropDown`, change fields orders follow as ECMA-376-1:2016 18.3.1.32.
2018-09-01 23:36:57 +08:00
rentiansheng
24a8d64f93
add datavalidation test and fixed struct bug issue #240
2018-09-01 19:38:30 +08:00
rentiansheng
0548852190
data validation funcation
2018-07-30 22:09:41 +08:00
Alex Whitney
db7a605cf8
Use min/mid/max value for 2 and 3 color scale conditional formatting
2018-07-25 10:47:14 -04: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
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
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
Ri Xu
5354074fc2
Update struct define to fix issue #112 .
2017-09-05 17:14:01 +08: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
bbed2f6dc9
- Init create or remove panes support;
...
- go test updated
2017-07-30 12:40:59 +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
86466654e2
- Unify the index row number index of functions `SetRowHeight()` and `GetRowHeight()` relate issue #68 ;
...
- Unify the return value data type of functions `SetColWidth()` and `GetColWidth()`;
- go test updated
2017-06-29 11:14:33 +08:00
Ri Xu
c89d842352
Init auto filter support, relate issue #59 .
2017-06-08 11:11:11 +08:00
Ri Xu
fbc3d1cd01
- Worksheet conditional formatting support added, relate issue #56 ;
...
- gofmted with -s
2017-05-25 10:57:45 +08:00
Ri Xu
bee487c445
Leading space(s) character in cell value detection added. Related issue #32 .
2017-03-28 11:48:09 +08:00
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
2017-03-10 23:10:15 +08:00