Commit Graph

581 Commits

Author SHA1 Message Date
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
Ri Xu f958f05a3b - Fix issue: sheet protection and conditional formatting proprietary missing after save;
- Update workbook and sheet relationships and self-close tag replacement hack functions
2016-12-26 23:55:59 +08:00
Ri Xu c5cc500b88 - Fix issue: pivot cache and extending spreadsheetML missing;
- Compatibility improved: relationship namespace in `workbook.xml` has been changed (`xmlns:mc`, `xmlns:x15` and `mc:Ignorable` added)
2016-12-26 18:06:12 +08:00
Ri Xu 30d0a2f40a - New function `GetCellFormula` added;
- Fix `GetCellValue` causes panic in some particular situation issues;
- Go test updated
2016-12-24 22:47:36 +08:00
Ri Xu a16d2ec83b Change complete rows logic to fix call `SetCellValue`makes file corruption in some case. 2016-12-23 21:41:54 +08:00
Ri Xu b84bfa7eab - Update maximum 31 characters allowed in sheet title;
- Fix issue XML tag `headerFooter` and `sheetPr` element self-close errors cause file corruption;
- Fix issue `Section` and `Pane` element order make file corruption in some case;
- Change sheet `rId` calculation method in `/xl/workbook.xml`, fix makes file corruption in some case;
- Compatibility improved: add `xlsxTabColor` struct and some XML element for worksheet
2016-12-23 17:47:25 +08:00
Ri Xu a08c8eb1ae - Fix issue comments missing after save;
- Update import PKG syntax in struct;
- Update test XLSX file (include table, charts, functions, comments and hyperlink on Sheet1)
2016-12-22 10:10:40 +08:00
Ri Xu ddeed48fc1 - Fix issue background image and table missing after save;
- Update test template for this fix
2016-12-20 20:46:19 +08:00
Ri Xu 6e1475a242 Fix hyperlink missing after save issue and update completion row element logic to enhance compatibility. 2016-12-20 14:40:36 +08:00
Ri Xu 2a3620e750 BugFix: `SetCellValue` function assertion logic will cause panic in some case. 2016-11-24 11:42:51 +08:00
Ri Xu 6adcb9d88f Update README. 2016-11-06 15:26:29 +08:00
Ri Xu 78eb982052 Remove useless `.xlsx` tested files and go test updated. 2016-11-02 12:58:51 +08:00
Ri Xu b4f7e72353 Merge pull request #11 from NaySoftware/master
looping on rows columns functionality
2016-11-02 12:57:04 +08:00
ahmad 1bbc54d4ec sheet re-arrange 2016-10-31 13:15:31 +02:00
ahmad 37c4575835 looping on row col functionality 2016-10-31 13:13:22 +02:00
Ri Xu 6185cd577d Update go test. 2016-10-23 16:46:46 +08:00
Ri Xu 1a2570b873 Update go test case and update readme. 2016-10-23 16:07:57 +08:00
Ri Xu 75abc628fe Update godoc of package. 2016-10-19 20:39:44 +08:00
Ri Xu e28de172c6 Update go test. 2016-10-19 18:42:29 +08:00
Ri Xu c5cffaac43 Update README.md 2016-10-19 11:27:18 +08:00
Ri Xu e50690dce0 Merge pull request #10 from schigh/master
Update README.md @schigh 👌 Thanks for your pr.
2016-10-19 11:24:44 +08:00