Commit Graph

974 Commits

Author SHA1 Message Date
xuri 5faa36430c
skip XML control character in the escape literal string, and update dependencies 2021-06-12 08:49:18 +08:00
xuri 83e12cc4e5
support escaped string literal basic string and use GitHub Action instead of TravisCI
- Note that: travis-ci.org will shutdown on June 15th, 2021, and I don't have enough permission to migrate this project to travis-ci.com currently
2021-06-11 22:48:37 +08:00
xuri 38162539b6
Create go.yml 2021-06-09 14:42:20 +08:00
jaby bafe087a61
This closes #858 (#859)
* fixes https://github.com/360EntSecGroup-Skylar/excelize/issues/858

* fixes https://github.com/360EntSecGroup-Skylar/excelize/issues/858

Co-authored-by: dvelderp <peter.de.velder@gmail.com>
2021-06-08 19:02:34 +08:00
jaby 2c90b3f535
fixes #856 (#857) 2021-06-07 18:49:20 +08:00
xuri d932e62a12
This closes #855, fix missing formula cell when getting rows value 2021-06-05 00:06:14 +08:00
Alluuu 58f9287559
This closes #409 Remove UTC timezone requirement from date.go (#853)
According to issue #409

There is absolutely no reason for the timezone to be in UTC, and converting the local times to UTC while keeping values is hacky at least.

Excel has no understanding of timezones, hence the user of this library should know what timezone their values are supposed to be, by following the timezone within their timeTime structs.
2021-06-04 23:06:58 +08:00
xuri 31d88a2624
Merge pull request #851 from si9ma/feat_disable_axis
feat: add disable option for chart xAxis and yAxis
2021-05-28 13:36:23 +08:00
si9ma faa50c3326 feat: add disable option for chart xAxis and yAxis 2021-05-27 13:30:48 +08:00
xuri 056dc8454e
Merge pull request #847 from qwaszx102938/master
fix the bug that  there was no count attribute in sharedStrings file, fix the bug that setting OutlineSummaryBelow false
2021-05-24 19:13:10 +08:00
william 2f74ec171d fix the bug when there was no count attribute in sharedStrings file 2021-05-24 15:27:36 +08:00
xuri 5bf3ea6154
This closes #842, avoid empty rows in the tail of the worksheet 2021-05-16 00:03:09 +08:00
ice c8c62c2d2a
* This closes #841, fix incorrect build number format in PR #839 2021-05-15 23:42:52 +08:00
ice 37342f6d81
"15" is the correct 24 hours time format in go (#839)
* "15" is the correct 24 hours time format in go
* fix number format convert issue and remove the `dateTimeFormatsCache`
2021-05-14 13:01:08 +08:00
xuri a1e1db1e6f
This closes #838, fix wrong worksheet XML path of the stream writer in some case 2021-05-14 00:09:23 +08:00
xuri be12cc27f1
This closes #652, new SetColWidth API, support set column width in stream writing mode, and export error message 2021-05-10 00:09:24 +08:00
xuri 423bc26d1f
#65 fn: BESSELK and BESSELY 2021-05-09 14:20:17 +08:00
xuri 0e0237e62d
compatibility with non-standard page setup attributes 2021-05-07 23:08:58 +08:00
xuri 438fd4b3f9
This closes #834, fix invalid file path and duplicate namespace when re-creating worksheet 2021-05-06 22:09:12 +08:00
xuri 7e429c5b46
Fixe issue generated file corrupted caused by incorrect default XML namespace attributes 2021-04-30 00:14:42 +08:00
xuri af5e87dbcf
#826, support merge cell in streaming mode 2021-04-28 02:04:36 +00:00
xuri a13ef5545e
This closes #825, closes #829, closes #830, fix issue when get and add comments on multi authors 2021-04-27 04:46:51 +00:00
xuri e5c5ecc379
Fixed #825, improves compatibility for comments with absolute XML path 2021-04-26 22:51:35 +08:00
xuri f5a20fa03f
Fixed #823, 12/24 hours time format parsing error 2021-04-20 16:01:17 +00:00
xuri d42834f3a8
update dependencies module and bump version 2.4.0 2021-04-18 16:00:34 +00:00
xuri 80d832022f
#65 fn: IRR nad MIRR 2021-04-16 14:45:45 +00:00
xuri 471f4f8d2b
#65 fn: FV, FVSCHEDULE, NPER, NPV and PDURATION 2021-04-14 00:39:18 +08:00
xuri 68dd5b345c
#65 fn: DB, DDB, DOLLARDE, DOLLARFR, EFFECT, ISPMT and NOMINAL 2021-04-13 00:01:13 +08:00
xuri a13b21fe07
fixed the negative values series missing chart color, #65 fn: CUMIPMT and CUMPRINC 2021-04-11 00:03:25 +08:00
xuri 1559dd31be
Support specifies that each data marker in the series has a different color 2021-04-10 00:15:39 +08:00
xuri a8197485b5
#65 fn: IPMT, PMT and PPMT 2021-04-09 00:29:47 +08:00
xuri 737b7839a2
Fixed #819, read empty after streaming data writing
#65 fn: IMAGINARY, IMARGUMENT, IMCONJUGATE and IMDIV
2021-04-08 00:50:59 +08:00
xuri 99963f89c7
#65 fn: IMLOG2, IMPOWER, IMPRODUCT, IMREAL, IMSEC, and IMSECH 2021-04-07 00:01:03 +08:00
xuri 3345e89b96
#65 fn: IMSIN, IMSINH, IMSQRT, IMSUB, IMSUM, IMTAN 2021-04-05 13:00:34 +08:00
xuri f8f699a172
Go 1.15 and later required, #65 fn: IMABS, IMCOS, IMCOSH, IMCOT, IMCSC, IMCSCH, IMEXP, IMLN and IMLOG10 2021-04-04 15:29:43 +08:00
xuri 89c262fc1d
Fixed #813, streaming data writer result missing after call normal API
#65 formula function: COMPLEX
2021-04-03 22:56:02 +08:00
xuri 6e812a27c6
#65 fn: BESSELI and BESSELJ 2021-04-02 22:41:33 +08:00
xuri a002a2417e
#65 fn: VAR.P and VARP and fix Yoda conditions issue 2021-04-01 21:52:43 +08:00
xuri 9d4bf88b47
#65 fn: QUARTILE and QUARTILE.INC 2021-03-31 22:01:02 +08:00
xuri 2af96c0714
#65 fn: N, PERCENTILE.INC and T
typo fixed
2021-03-30 23:02:22 +08:00
xuri 6d7bd7cd8a
#65 fn: PERCENTILE and PERMUTATIONA 2021-03-27 00:08:55 +08:00
xuri 3903c106a4
#65, new fn: POISSON.DIST, POISSON, SKEW, and STDEV.S 2021-03-26 00:17:29 +08:00
xuri e1abdb0e5a
This closes #809, and add new fn: HARMEAN 2021-03-25 00:05:02 +08:00
xuri ab2c1c8fe1
#64 fn: NORM.DIST, NORMDIST, NORM.INV, NORMINV, NORM.S.DIST, NORMSDIST, NORM.S.INV, and NORMSINV 2021-03-24 08:24:59 +08:00
xuri bd83c27ffc
Merge pull request #808 from JDavidVR/patch-1
updated SetDefinedName's localSheetId attr to use sheetIndex
2021-03-22 10:39:08 +08:00
David d08a6d2437
updated SetDefinedName's localSheetId attr to use sheetIndex
Excelize 2.3.2 OUT:

```
<sheets>
        <sheet name="Q-P-QP-11" sheetId="55" r:id="rId1"/>
        <sheet name="Q-P-QP-12" sheetId="53" r:id="rId2"/>
        <sheet name="Q-P-QP-13" sheetId="54" r:id="rId3"/>
        <sheet name="Q-P-RN-12" sheetId="56" r:id="rId4"/>
        <sheet name="Q-P-RN-13" sheetId="57" r:id="rId5"/>
        <sheet name="C-C-QP-11-12-13-RN-12-13" sheetId="50" r:id="rId6"/>
        <sheet name="E-T-QP-11-12-13" sheetId="31" r:id="rId7"/>
        <sheet name="E-T-BK" sheetId="60" r:id="rId8"/>
        <sheet name="E-A-RN-12-13" sheetId="43" r:id="rId9"/>
        <sheet name="F1-A-QP-11-12-13" sheetId="1" r:id="rId10"/>
        <sheet name="F2-A-QP-11-12-13" sheetId="23" r:id="rId11"/>
        <sheet name="C-A-QP-12-13-RN-12-13" sheetId="48" r:id="rId12"/>
        <sheet name="C-T-QP-12-13" sheetId="7" r:id="rId13"/>
        <sheet name="R-T-QP-12-RN-12-13" sheetId="45" r:id="rId14"/>
        <sheet name="C-T-QP-11" sheetId="58" r:id="rId15"/>
        <sheet name="R-T-QP-11" sheetId="3" r:id="rId16"/>
        <sheet name="A-T-QP-11-12-RN-12" sheetId="13" r:id="rId17"/>
        <sheet name="A2-T-RN-13" sheetId="42" r:id="rId18"/>
        <sheet name="ap-T-QP-11" sheetId="59" r:id="rId19"/>
        <sheet name="B-A-QP-12-13" sheetId="32" r:id="rId20"/>
        <sheet name="B-A-QP-11" sheetId="33" r:id="rId21"/>
    </sheets>
    <definedNames>
        <definedName localSheetId="58" name="_xlnm.Print_Titles">ap-T-QP-11!$2:$5</definedName>
        <definedName localSheetId="2" name="_xlnm.Print_Titles">R-T-QP-11!$2:$13</definedName>
    </definedNames>
```

MS Excel 2010 out

```
<sheets>
        <sheet name="Q-P-QP-11" sheetId="55" r:id="rId1"/>
        <sheet name="Q-P-QP-12" sheetId="53" r:id="rId2"/>
        <sheet name="Q-P-QP-13" sheetId="54" r:id="rId3"/>
        <sheet name="Q-P-RN-12" sheetId="56" r:id="rId4"/>
        <sheet name="Q-P-RN-13" sheetId="57" r:id="rId5"/>
        <sheet name="C-C-QP-11-12-13-RN-12-13" sheetId="50" r:id="rId6"/>
        <sheet name="E-T-QP-11-12-13" sheetId="31" r:id="rId7"/>
        <sheet name="E-T-BK" sheetId="60" r:id="rId8"/>
        <sheet name="E-A-RN-12-13" sheetId="43" r:id="rId9"/>
        <sheet name="F1-A-QP-11-12-13" sheetId="1" r:id="rId10"/>
        <sheet name="F2-A-QP-11-12-13" sheetId="23" r:id="rId11"/>
        <sheet name="C-A-QP-12-13-RN-12-13" sheetId="48" r:id="rId12"/>
        <sheet name="C-T-QP-12-13" sheetId="7" r:id="rId13"/>
        <sheet name="R-T-QP-12-RN-12-13" sheetId="45" r:id="rId14"/>
        <sheet name="C-T-QP-11" sheetId="58" r:id="rId15"/>
        <sheet name="R-T-QP-11" sheetId="3" r:id="rId16"/>
        <sheet name="A-T-QP-11-12-RN-12" sheetId="13" r:id="rId17"/>
        <sheet name="A2-T-RN-13" sheetId="42" r:id="rId18"/>
        <sheet name="ap-T-QP-11" sheetId="59" r:id="rId19"/>
        <sheet name="B-A-QP-12-13" sheetId="32" r:id="rId20"/>
        <sheet name="B-A-QP-11" sheetId="33" r:id="rId21"/>
    </sheets>
    <definedNames>
        <definedName name="_xlnm.Print_Titles" localSheetId="18">'ap-T-QP-11'!$2:$5</definedName>
        <definedName name="_xlnm.Print_Titles" localSheetId="15">'R-T-QP-11'!$2:$13</definedName>
    </definedNames>
```


Compare localSheetId it uses sheet index instead of sheet's sheetId
2021-03-21 19:39:36 -04:00
xuri 874d59cee0 related issue #65 fn: FIXED 2021-03-21 23:59:58 +08:00
xuri d3227393ef
#65 fn: DATEDIF 2021-03-19 23:23:05 +08:00
xuri 9af00b9b98
This closes #804, fixes can't add timelines and slicers for a pivot table in generated spreadsheet 2021-03-15 23:56:36 +08:00
xuri 2350866d46
#65 fn: NOW and TODAY, and update dependencies 2021-03-14 22:29:18 +08:00