290 Commits

Author SHA1 Message Date
Andrey Kurdyumov b226319e74 Merge pull request #59 from optilude/issue-47
Fix special case of array substitution
2017-10-01 05:44:20 +06:00
Andrey Kyrdyumov f8a6f94c79 Fix special case of array substitution
Fix #47
2017-10-01 02:38:17 +03:00
Andrey Kurdyumov 26198d7637 Merge pull request #58 from optilude/test-output-change
Move debugging test output to separate explicit folder
2017-10-01 04:36:50 +06:00
Andrey Kyrdyumov 3b56601608 Move debugging test output to separate explicit folder
which will have results excluded from source control. This allow to better expereince to adding test XLSX files since they will be directly visible as new in the UI
2017-10-01 01:32:33 +03:00
SkyKilla a3610d91bf Update index.js 2017-09-29 09:36:43 +07:00
SkyKilla 15998810d4 Update index.js 2017-09-29 09:10:30 +07:00
SkyKilla 9f2c6ef2cc Update index.js 2017-09-29 09:04:26 +07:00
SkyKilla c10858c380 Update index.js 2017-09-29 09:00:05 +07:00
SkyKilla 8d78b7f190 Update index.js
copy / delete sheet, substitution for formulas
2017-09-29 08:34:17 +07:00
SkyKilla 179142d964 Update index.js
delete / copy sheet,  substitution of formulas
2017-09-29 08:13:58 +07:00
SkyKilla 62c3adc63c Update index.js 2017-09-28 17:04:55 +07:00
Andrey Kurdyumov bc92fc599d Merge pull request #56 from optilude/array-accessor
Array indexers in the templates
2017-09-26 04:48:02 +06:00
Andrey Kyrdyumov 31f1fe9439 Fix error in Node 0.12 2017-09-26 01:38:08 +03:00
Andrey Kyrdyumov 3b6ca6a4c1 Add notes to array indexing usage 2017-09-26 01:13:16 +03:00
Andrey Kyrdyumov e20b9c628c Add ability use array indexer in the template specification 2017-09-26 01:10:45 +03:00
Andrey Kurdyumov 2d8a886241 Merge pull request #54 from optilude/release_011
Release 0.1.1
2017-09-17 00:46:14 +06:00
Andrey Kyrdyumov 4aaa454224 0.1.1 2017-09-16 21:40:32 +03:00
Andrey Kurdyumov 779a021dcc Merge pull request #53 from optilude/google-docs-test
Google docs test
2017-09-17 00:39:31 +06:00
Andrey Kyrdyumov 3e84add451 Add test case for template created with Google Docs 2017-09-16 21:35:03 +03:00
Andrey Kurdyumov 4ec5e006cc Merge pull request #52 from vheuken/master
Fixed issue #30
2017-09-17 00:33:24 +06:00
Vincent Heuken d28051774a Fixed issue #30 2017-09-14 16:31:09 -07:00
Andrey Kyrdyumov 001043ce1e 0.1.0 v0.1.0 2017-09-13 19:55:14 +03:00
Andrey Kurdyumov d3f6f6c8e1 Merge pull request #51 from optilude/test-for-formula
Add test for formula recalculation
2017-09-13 22:53:49 +06:00
Andrey Kyrdyumov afa2d988a3 Add test for formula recalculation 2017-09-13 19:36:39 +03:00
Andrey Kurdyumov 409e8e0ef4 Merge pull request #35 from sanderd17/patch-2
Fix recalculation of formulas
2017-09-13 21:41:33 +06:00
Andrey Kurdyumov 61029a7c25 Merge pull request #29 from lstradella/master
Repeat row at top bug
2017-09-13 21:11:54 +06:00
Andrey Kurdyumov 590bfe557b Merge branch 'master' into master 2017-09-13 21:11:26 +06:00
Andrey Kurdyumov 890acba40c Merge pull request #50 from optilude/test-34
Create test for PR #34
2017-09-13 21:09:45 +06:00
Andrey Kyrdyumov e0237b427d Create test for PR #34 2017-09-13 18:09:21 +03:00
Andrey Kurdyumov 51eeae624f Merge pull request #34 from sanderd17/patch-1
Fix issue where match is null
2017-09-13 21:07:30 +06:00
Andrey Kurdyumov 0137a78220 Merge pull request #49 from optilude/remove-node4-test
Marge changes back to original project
2017-09-13 20:55:52 +06:00
Andrey Kyrdyumov 657bfad7df Remove NodeJS 4 from test matrix
also add NodeJS 8 instead of it.
2017-09-13 17:51:23 +03:00
Andrey Kurdyumov b264838112 Merge pull request #9 from antfu/master
Use 'jszip' module instead of 'node-zip'
2017-07-28 11:58:30 +06:00
Anthony Fu 14d26552b5 use 'jszip' instead of 'node-zip' 2017-07-08 23:58:26 +08:00
sanderd17 c064b1a8fa Fix recalculation of formulas 2017-02-13 13:43:14 +01:00
sanderd17 5cfd078b30 Fix issue where match is null
Apparently, match can be null, which caused the following error. Checking for nullness fixes the problem

`
C:\Users\sd\Documents\ExcelTemplating\node_modules\xlsx-template\lib\index.js:544
            table: match[1] || null,
                        ^

TypeError: Cannot read property '1' of null
    at Workbook.module.exports.Workbook.splitRef (C:\Users\sd\Documents\ExcelTemplating\node_modules\xlsx-template\lib\index.js:544:25)
    at C:\Users\sd\Documents\ExcelTemplating\node_modules\xlsx-template\lib\index.js:1000:37
    at Array.forEach (native)
    at Workbook.module.exports.Workbook.pushDown (C:\Users\sd\Documents\ExcelTemplating\node_modules\xlsx-template\lib\index.js:981:54)
    at C:\Users\sd\Documents\ExcelTemplating\node_modules\xlsx-template\lib\index.js:231:22
    at Array.forEach (native)
    at Workbook.module.exports.Workbook.substitute (C:\Users\sd\Documents\ExcelTemplating\node_modules\xlsx-template\lib\index.js:133:34)
    at C:\Users\sd\Documents\ExcelTemplating\excelTemplating2.js:25:11
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:445:3)
`
2017-02-13 13:24:55 +01:00
lstradella 982b76b5a6 Repeat row at top bug
Fixed bug that was causing exception using a worksheet configured to
repeat rows at top (Page Layout->Sheet->Print titles)
2017-01-13 11:37:03 +01:00
Martin Aspeli 44f2c0191e Fix stupid typo bug 2017-01-01 22:34:47 +00:00
Martin Aspeli bd4fc4df55 Add helper script for debugging 2017-01-01 21:25:08 +00:00
Martin Aspeli b58d5703ef Update <dimension /> when changing size of a table 2017-01-01 21:20:24 +00:00
Martin Aspeli 42dff30787 Fix linting errors 2017-01-01 20:41:12 +00:00
Martin Aspeli 9a9e33ca59 Allow passing of options to jszip generate 2017-01-01 20:29:32 +00:00
Martin Aspeli 0a5466ccd2 Fix corrupt output files from tests 2017-01-01 20:14:52 +00:00
Martin Aspeli da5ca6f9ce Merge pull request #26 from optilude/revert-22-fix-date-substitution
Revert "Fixes optilude/xlsx-template#21"
2017-01-01 17:42:41 +00:00
Martin Aspeli 9418782372 Revert "Fixes optilude/xlsx-template#21" 2017-01-01 17:41:18 +00:00
Martin Aspeli 039579cd04 Merge pull request #22 from wombat86/fix-date-substitution
Fixes optilude/xlsx-template#21
2017-01-01 17:36:34 +00:00
Andrey Kurdyumov e0a5b1dd96 0.0.5 v0.0.5 2016-11-04 23:35:24 +06:00
Andrey Kurdyumov 2acd52252a Simplify test command, so it will run on Windows 2016-11-04 23:35:07 +06:00
Andrey Kurdyumov 315952ee9e Merge pull request #4 from cartuchogl/descendants
Partial support for descendants properties ...
2016-11-04 15:55:44 +06:00
cartuchogl 99bec65d2c Partial support for descendants properties like ${demo.prop} or ${table:list.obj.prop} 2016-10-13 16:37:09 +01:00