Commit Graph

325 Commits

Author SHA1 Message Date
Ri Xu 38df838598
Bugfix: unable to read the value of the merged cell, relate issue #78 2017-07-05 13:30:56 +08:00
Ri Xu 654a676d93
- New function `NewStyle()` added and function `SetCellStyle()` has been exported, relate issue #72;
- go test and go doc updated
2017-06-29 19:41:00 +08:00
Ri Xu e05867a033
Function `GetCellValue()` performance improvement by avoid repeating deserialization, relate issue #70. 2017-06-29 13:28: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 14eca84073
Function `GetColWidth()` and `GetRowHeight()` has been exported, relate issue #68. 2017-06-28 20:56:42 +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 555e2ba9a8
- Make function `TitleToNumber()` exportable, note that function `ToAlphaString()` return value calculation changes, get more info from go doc. Relate issue #63;
- Readme and go doc updated
2017-06-27 17:53:06 +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 db4aff04fd
- Handle pre-defined number format set of cell when set cell value with `time.Time` data type, related issue #62;
- go doc updated
2017-06-23 21:07:30 +08:00
Ri Xu 2f87719af1
Code of conduct and contributing guidelines added. 2017-06-20 13:48:06 +08:00
Ri Xu 7bc43301da
- Support insert new lines into shape, relate issue #38, note that the format set parameter of function `AddShape()` changed;
- go test and go doc updated
2017-06-19 11:18:58 +08:00
Ri Xu 9928bbc7c8 - New functions `GetColVisible()` and `SetColVisible()` added, relate issue #61;
- go test updated;
- Fix typo
2017-06-15 11:03:29 +08:00
Ri Xu a9f671d98f - New functions: `GetSheetVisible()` and `GetRowVisible()` added, relate issue #61;
- go test updated
2017-06-14 15:01:49 +08:00
Ri Xu efff54ccde - Fixed coordinate parse error in function `SetCellStyle()`, relate issue #60;
- Simplified code
2017-06-12 18:05:09 +08:00
Ri Xu c89d842352 Init auto filter support, relate issue #59. 2017-06-08 11:11:11 +08:00
Ri Xu c5dc632951 - Fix missing relationships in drawing content type shall, relate issue #58;
- Add a donation link, related issue #57  ^_^
2017-06-03 17:36:28 +08:00
Ri Xu d372bb977f Priority cell style, when the cell and the column at the same time with the style attribute. Relate issue #54 and #56. 2017-05-30 12:13:13 +08:00
Ri Xu e41ee8a124 Set cell support column style predefined detection, relate issue #54. 2017-05-26 09:31:20 +08:00
Ri Xu 7c3f91ada4 Fix non-visual canvas properties ID calculator. 2017-05-25 11:15:38 +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 dea57dd0ae Code optimize. 2017-05-24 14:17:35 +08:00
Ri Xu 70f6328150 Support set font style of shape text. Relate issue #38. 2017-05-16 20:42:01 +08:00
Ri Xu cf97118bfe - The max author and text in comment limit added;
- go doc and go test updated
2017-05-13 14:12:43 +08:00
Ri Xu d93a156355 Initialize comments support & go test updated. 2017-05-13 13:28:21 +08:00
Ri Xu 66349f8ec0 Handle number formats out of built-in range exception by returning raw value, relate issue #50. 2017-05-05 19:15:39 +08:00
Ri Xu 8fbab47444 - Formatted cell data support, fix issue #48;
- Function `SetCellValue()` support `time.Time` data type parameter, relate issue #49;
- go doc and go test updated
2017-05-05 14:40:28 +08:00
Ri Xu 7f30a6c943 - Initialize shape support: new function `AddShape()` added. Relate issue #38;
- Drawing `nvPicPr` element ID property calculation changed;
- go test updated
2017-04-30 20:03:43 +08:00
Ri Xu 46b8c46d91 - Initialize table support;
- go test updated
2017-04-28 15:49:41 +08:00
Ri Xu 2868bd3ec9 - New function `HideSheet()` and `UnhideSheet()` added;
- go test updated
2017-04-26 11:43:39 +08:00
Ri Xu 266d2c36e5 - Font bold, italic and underline style support. Relate issue #45;
- Function `GetRows()` doc updated, relate issue #43;
- go test and embed template updated
2017-04-25 18:43:10 +08:00
Ri Xu d78ac4108c - Update doc of function `AddChart()`;
- Readme updated;
- go test update
2017-04-23 00:39:14 +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 6e287839ec - Set number format for a cell support;
- go test updated
2017-04-07 17:32:14 +08:00
Ri Xu c7e277a07a - New function `CopySheet()` added, relate issue #33;
- Typo fixed;
- go test updated
2017-04-04 19:12:35 +08:00
Ri Xu b4ed9cc40f New function `GetSheetIndex()` added, relate issue #25;
Fix return index error in function `GetSheetMap()`;
Fix return worksheet name error in function `GetSheetName()`;
go test updated
2017-04-01 21:02:25 +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 330c7a0925 Performance enhancements, remove redundant XML element checking logic. Relate issue #29. The benchmark report of the current version of this library is shown on the wiki page. 2017-03-31 17:14:35 +08:00
Ri Xu 7ceb4f21ad Godoc updated. 2017-03-30 11:06:51 +08:00
Ri Xu 02b81b7efe - Get an images in a cell supported, new function `GetPicture` added;
- go test updated
2017-03-28 21:18:06 +08:00
Ri Xu 8dcdf9024d Golang version 1.8+ required. 2017-03-28 12:03:54 +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 b6254209fe - Set text in cell align support, note that the parameters of the `SetCellStyle` function have changed;
- go test updated
2017-03-26 15:27:04 +08:00
Ri Xu 0d3452fbe2 - Delete sheet from workbook support, related issue #30;
- go test updated
2017-03-22 18:51:18 +08:00
Ri Xu 68b4d1f546 - Set cell background color and style support;
- Rename function `SetBorder` to `SetCellStyle`;
- Complete `xlsxColor` structure definition;
- go test updated
2017-03-19 17:14:40 +08:00
Ri Xu de6e075713 Performance improvement 2017-03-12 20:38:26 +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
Ri Xu 1f73f08185 - New feature: border setting support (Related issue #21);
- Function parameter code is simplified;
- Fix element `Tint` value parsing error in worksheet;
- Update go test
2017-03-06 12:05:41 +08:00
Ri Xu 48722e6482 Fix data validation property is missing after saved. Related issue issue #28. 2017-03-03 15:03:57 +08:00
Ri Xu 109d8adae3 Fix missing `oneCellAnchor` element after add picture in some cases. 2017-03-01 11:00:42 +08:00
Ri Xu 1e340aea40 Change function `AddPicture()` parameters to add add printing settings support. Related issue #27. 2017-02-28 12:59:04 +08:00