Commit Graph

1255 Commits

Author SHA1 Message Date
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
Ri Xu 7bd8d9ee5b Fix checkRow() out of range 2016-09-02 19:06:48 +08:00
Ri Xu 192af02a40 Format code with golint rules 2016-09-02 11:54:52 +08:00
Ri Xu 0a0a36bafd Update testing file more case added and reading cell value usage example in readme added. 2016-09-02 10:28:29 +08:00
Ri Xu 2d0eda1aec Update readme and license file. 2016-09-01 12:48:55 +08:00
Ri Xu 0e61ae7eda 1) Update readme file credits and go report badge added; 2) Remove use less function; 3) Update test file. 2016-08-31 19:27:44 +08:00
Ri Xu 3c4ad28db7 - Get cell value support
- Optimisation code use fmt package
- Update README
- Remove useless function
2016-08-30 21:54:28 +08:00