Commit Graph

20 Commits

Author SHA1 Message Date
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 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 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 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 75abc628fe Update godoc of package. 2016-10-19 20:39:44 +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 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 3c4ad28db7 - Get cell value support
- Optimisation code use fmt package
- Update README
- Remove useless function
2016-08-30 21:54:28 +08:00
Ri Xu a9d3ee2869 Init commit. 2016-08-30 11:51:31 +08:00