Andrii Kurdiumov
a4b42e4985
Move source code to src folder ( #160 )
...
That's allow compile code using TSC before publish
And all future code can use TypeScript
2022-05-10 18:16:13 +06:00
Rafael Gomes
b2998452ea
Fix type definitions for Generate ( #156 )
...
Type definitions on typescript for output data
2022-04-21 13:03:24 +06:00
Jonathan Durand
451eb20a68
Formating ( #124 )
...
Adding 2 options affect table substitution :
subsituteAllTableRow : if true, all the cells in the row substitution will be copied in the new row
pushDownPageBreakOnTableSubstitution : if true, pushdown the pageBreak (not the rowBreaks : TODO with option)
2022-02-15 12:00:13 +06:00
Andrii Kurdiumov
13df6fdcf1
Fix import
2022-02-15 11:26:49 +06:00
Jonathan Durand
1e976308e1
Update copySheet function ( #130 )
...
* Update copySheet function
Add binary option for copySheet : for header/footer in UTF-8
Copy also rels file for the image
2022-02-14 22:17:33 +06:00
Ade Pangestu
da61b0d5e5
Fixing Defined Range Name with Sheet Name ( #150 )
...
* fixing defined range name with sheetname
* add test for _xlnm.Print_Titles named range
Co-authored-by: Ade Pangestu <ade.pangestu@mitrais.com >
2022-02-14 17:02:38 +06:00
Jonathan Durand
752568a81d
Insert images ( #121 )
...
Change image ratio to be percent based instead of proportion base
2020-08-13 14:16:32 +06:00
Andrii Kurdiumov
bf0cdd9087
Replace buster with Jest ( #118 )
...
As consequences it require me to make couple of function public
and specify interfaces for resulting data.
Also this work expose that previous typings was incorrectly written.
@RW-DiefBell and @tiholic you seems to be relying on incorrect definitions.
Please check.
2020-08-10 15:53:23 +06:00
Andrii Kurdiumov
52b97a73ca
Introduce ability to check source code using TSC ( #111 )
...
This does not convert code to TypeScript yet.
Based on initial testing, buster should be abandoned
or typings for it should be written.
2020-08-03 19:19:32 +06:00
Jonathan Durand
0c564ccb5f
Insert images ( #110 )
...
Add new substitution for images.
2020-07-31 18:01:01 +06:00
JD2701
0e6dd8eef1
update typings file
2020-07-26 19:31:04 +02:00
Jonathan Durand
43d5430cb1
Update indentation tab with space
2020-07-26 19:11:55 +02:00
JD2701
3f5a219c4f
Move image when are below a substitute array
2020-07-26 19:03:26 +02:00
Rohit Reddy Abbadi
428b70003b
fix an error with imported alias in .d.ts
2020-07-08 00:34:37 +05:30
Rohit Reddy Abbadi
899b4673c4
Update typescript definitions
...
Few definitions were incomplete and custom interfaces were misisng
2020-07-07 21:27:26 +05:30
Dief Bell
75d9c14b11
generate no longer requires type cast
2020-06-16 15:52:34 +01:00
Dief Bell
513af92255
Added index.d.ts typings file
...
- Only the public functions are fully typed.
- Not 100% sure that they're done right
2020-06-16 15:41:05 +01:00
Dan Rusk
6fb0dc0a07
treat the sheet number as a 1-based index if it does not match an id or name
2018-09-13 15:58:28 -04:00
Dan Rusk
f431df7065
removes debugging console logs
2018-09-13 14:59:32 -04:00
Dan Rusk
9c178aad6a
Adds support for template placeholders in hyperlinks
2018-09-13 14:58:41 -04:00
Steven
e732f9c743
fix wrongly replacing text in shared strings
2018-08-09 10:28:46 +02:00
Andrey Kurdyumov
bd302ea9dc
Merge pull request #75 from Aserus/patch-1
...
fix mergecell bug in table
2018-05-26 17:50:43 +06:00
Andrey Kurdyumov
f3af7226db
Merge pull request #62 from SkyKilla/master
...
Substitution of formulas
2018-05-26 17:50:32 +06:00
Mike Henderyckx
d10d3f7c5e
Remove duplicate substitution instanceof Array check.
2018-05-22 22:21:48 +02:00
Mike Henderyckx
7e517c3757
Replace Array length check of <= 1 because the 0 is not being handled
2018-05-22 16:15:03 +02:00
Mike Henderyckx
f9fd93eed4
Replace tabs with spaces
2018-05-22 15:42:55 +02:00
Mike Henderyckx
0b1adb11cc
Fix wrongly place if-statement for Table Arrays
2018-05-22 15:41:30 +02:00
T-rav
9025ad630b
Removed extra space
2018-05-08 12:03:34 +02:00
T-rav
bdd36cd9f4
Simplest form for single item array with object detection yet
2018-05-08 11:39:38 +02:00
T-rav
ac0f2c13a2
Made detection logic for single item array with object simpler
2018-05-08 11:37:51 +02:00
T-rav
7309ddc0de
Got it working with single item array with sub array of primatives
2018-05-08 11:22:56 +02:00
T-rav
9b56c47c4e
Got a working test for array with single object, now to get array with single object with nested primative array to pass
2018-05-08 11:03:17 +02:00
Aserus
3c3ef562fa
fix mergecell bug in table
2018-03-22 09:47:38 +03:00
Andrey Kyrdyumov
2d7f7ab294
Do not replace text in the shared strings
...
since this lead to replacement differnet values across multiple sheets.
Closes : #64
2017-12-11 22:16:30 +06:00
peter_hp_chen
b329d7607c
workbookRels _id sort could be diff with attrib.Id sort. It is possible get wrong sheet when load, delete, copy sheet. So when attrib.Id has value, use it sort. otherwise use _id sort
2017-11-15 11:01:43 +08:00
SkyKilla
f34ae827fc
Substitution of formulas
...
String, started with '=' is considered as formula.
Formulas must be presented in EN(US) equivalent, as it always stored in OOXML data format.
2017-10-09 10:20:21 +07:00
SkyKilla
0454a128be
Update index.js
2017-10-09 10:13:40 +07:00
SkyKilla
ea7ded4611
Substitution of formulas.
...
String, started with '=' is considered as formula.
2017-10-09 09:59:46 +07:00
SkyKilla
fee1d9189a
simplify _rebuild() and give some comments
2017-10-03 09:31:46 +07:00
SkyKilla
11123717da
simplify _rebuild() and give comments
2017-10-03 09:28:36 +07:00
SkyKilla
344a27d223
copy \ delete sheets
2017-10-02 09:29:06 +07:00
SkyKilla
d7d838df8b
rebase from master
2017-10-02 09:18:14 +07:00
SkyKilla
d7c5e5d2c4
copy / delete sheets
...
rebase from master
added: copySheet() & deleteSheet()
2017-10-01 11:20:06 +07:00
SkyKilla
19fcbf5376
Update index.js
2017-10-01 11:16:15 +07:00
SkyKilla
0a076c848a
Update index.js
2017-10-01 11:13:12 +07: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