Commit Graph

211 Commits

Author SHA1 Message Date
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
Steve H 5137cfa566 Update README.md
added missing imports
2016-10-18 10:33:13 -04:00
Ri Xu ea11b50105 Merge pull request #9 from Luxurioust/revert-8-master
Revert "Update README.md"
2016-10-18 09:46:10 +08:00
Ri Xu 305ed62655 Revert "Update README.md" 2016-10-18 09:43:08 +08:00
Ri Xu a481045770 Merge pull request #8 from schigh/master
Update README.md @schigh Thanks for u pull request.
2016-10-18 09:41:53 +08:00
Steve H 2ebf988401 Update README.md
Adding more realistic error handling in examples
2016-10-17 19:32:43 -04:00
Ri Xu 051fc18a3a Merge pull request #7 from aldidana/master
Make readme highlight code
2016-10-17 15:48:19 +08:00
Aldi Priya Perdana 6dda05d30e Make readme highlight code 2016-10-17 12:12:49 +07:00
Ri Xu db5f5134d5 Update test XLSX template. 2016-09-22 13:30:54 +08:00
Ri Xu d877d9f246 Fix zoom scale and page layout view setting of XLSX. 2016-09-22 13:29:57 +08:00
Ri Xu 9e0aca2223 Add custom height and zero height attributes in sheetFormatPr element. 2016-09-19 10:10:41 +08:00
Ri Xu 2e8fa2d39c Use conjunction with strings.Map to split Axis and update godoc. 2016-09-12 17:37:06 +08:00
Ri Xu cbfd657753 New function SetCellValue added and update godoc example. 2016-09-09 19:39:41 +08:00
Ri Xu 9c14741a6b Fix missing show grid lines property and godoc updated. 2016-09-07 21:26:58 +08:00
Ri Xu 0dd0fba96b Move execute checkRow logic when XLSX file open, speed up library write file. 2016-09-07 20:09:02 +08:00
Ri Xu df8f85d6ab Open file error return added and UpdateLinkedValue function added to fix linked values within a spreadsheet are not updating. 2016-09-06 21:20:24 +08:00
Ri Xu 50863294f9 Fix issue #2 change project to object-oriented style and update readme file. 2016-09-05 16:37:15 +08:00
Ri Xu 956a4627d1 Fix issue #4 use builtin `map` instead of home-built. 2016-09-05 10:44:32 +08:00
Ri Xu 9c3a24d5c3 xml marshal without indent and use buffer in string concatenation. 2016-09-04 19:25:31 +08:00
Ri Xu 78e79347b6 Update readme file. 2016-09-02 20:13:32 +08:00
Ri Xu db47b6750d Update readme and comments of the test file. 2016-09-02 19:41:14 +08:00