Commit Graph

1051 Commits

Author SHA1 Message Date
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
Ri Xu 4b8b410f52 Bugfix #23 can't get multiple records. 2017-02-17 17:41:11 +08:00
Ri Xu 83410317ed Merge pull request #22 from jfyne/master
Standard io.Reader and io.Writer capabilities
2017-02-17 14:20:50 +08:00
Josh Fyne bd817ea890 Put path back into a file 2017-02-16 13:38:57 -05:00
Josh Fyne e8ba09d0c5 io.Reader not io.ReaderAt 2017-02-16 13:30:05 -05:00
Josh Fyne d9f4a2f154 Standardize input and output 2017-02-16 13:25:55 -05:00
Ri Xu 0833a9d5da - Improved performance when reading large files, call Token to read tokens one by one instead Unmarshal. Related issue #20 ;
- Fix go test typo;
- Update README
2017-02-12 19:03:24 +08:00
Ri Xu 53564cbe57 Fix issue #19. 2017-02-07 14:03:03 +08:00
Ri Xu 94dc0da329 Merge pull request #18 from nikolassilva/master
Add SetRowHeight function
2017-02-06 09:46:40 +08:00
Nikolas Silva 8ce12b60b8 Add SetRowHeight function 2017-02-02 00:59:31 -02:00
Ri Xu a1060e779e Make functions: `SetCellValue`, `SetCellInt`, `SetCellHyperLink`, `SetCellFormula`, `GetCellValue` and `GetCellFormula` to support the merged cells. 2017-01-25 18:13:11 +08:00
Ri Xu c0a3020886 Support create merge cell. 2017-01-25 15:44:18 +08:00
Ri Xu bd5b033b02 Support set work sheet background image. 2017-01-24 18:29:02 +08:00
Ri Xu 9559f454a7 Fix issue #17, update README and fix typo. 2017-01-23 16:15:01 +08:00
Ri Xu 81146218c7 Update README, godoc and fix typo. 2017-01-22 19:20:33 +08:00
Ri Xu 03234d6a25 Support add picture with offset and scaling. 2017-01-22 16:16:03 +08:00
Ri Xu 4a9b39afc6 - Add hyperlink and set formula support for cell support;
- Character limits for cells added;
- Update go test and fix typo
2017-01-19 14:05:32 +08:00
Ri Xu 52796f6e58 Format commants, break comments after 80 characters. 2017-01-18 16:05:01 +08:00
Ri Xu f05df2a018 - New function `SetSheetName` and `SetColWidth` added, support rename sheet and set column width;
- Add escape characters of sheet name;
- Update go test and fix typo
2017-01-18 14:47:23 +08:00
Ri Xu a99f0227b0 - New function `AddPicture()` added, support to add picture into excel cell;
- go test updated;
- fix typo and `gofmt -s` formatted
2017-01-17 19:06:42 +08:00
Ri Xu 53d8c4bb3a Merge pull request #15 from Sharsie/feature/DefaultCellVal
Setter function to set raw values into a cell
2017-01-12 09:44:10 +08:00
Sharsie 57fc2943ff Add tests for the default cell value 2017-01-11 20:43:31 +01:00
Sharsie 670a587912 Add setter for default cell value
SetCellStr escapes the value in a cell so the excel sheet cannot use the value in formulas.

SetCellDefault accepts a string value and sets it to a cell as a raw value without escaping it
2017-01-11 19:26:06 +01:00
Ri Xu 2497ccb876 Fix issue struct field `paperHeight` has xml tag but is not exported. 2016-12-31 23:51:42 +08:00
Ri Xu 9e8d36ce59 - Performance improvement, remove `replaceRelationshipsID` and `workBookCompatibility` functions;
- New functions `GetActiveSheetIndex`, `GetSheetName` and `GetSheetMap` added.
2016-12-31 23:47:30 +08:00