Commit Graph

380 Commits

Author SHA1 Message Date
elad
912d586e8b Add notes about working with date cells
[ci skip]

fixes  h/t @elad
2017-03-19 19:05:51 -04:00
8ac3cf6ff7 enable semaphore ci for old node tests 2017-03-19 18:15:30 -04:00
Alex Litskevich
8938336e1c XLSX Defined Names
closes  h/t @alitskevich
2017-03-19 13:29:04 -04:00
Pieter Sheth-Voss
f90fbd32e5 Parse XLSX Styles
some changes picked from 
2017-03-19 02:50:30 -04:00
7888070603 explicitly share styles and themes 2017-03-18 19:25:50 -04:00
5a3774e36e Formula write support
- XLSX/XLML/ODS/CSV formula write
- XLS Array/Formula record parsing
- ODS to/from CSF formula conversion
- XLML parse negative dates
- formula multiformat and roundtrip tests
- update SSF

Closes issues:
- closes  h/t @omershelef
- closes  h/t @akaustel
- closes  h/t @wawanopoulos
- closes  h/t @florf
- closes  h/t @christocracy
- closes  h/t @johnyesberg
- closes  h/t @alexanderknapstein
2017-03-17 20:45:06 -04:00
ea1873e572 version bump 0.9.3: multiformat alignment
- merge cells and stubs consistency
- character entity decoding
- cellDates processing for other formats
2017-03-15 21:17:24 -04:00
d3eaa62d45 unify stub cells with type z
- fixes  h/t @jugaltheshah @pimpelsang
- fixes  h/t @xushuheng0623 @abhishek1234321 @mateuszkrzeszowiec
- fixes  h/t @volodymyrl @elad
2017-03-15 04:19:02 -04:00
MURAKAMI Masahiko
05185e13f2 Fixed vbaraw parsing
- fixes  h/t @fossamagna
- fixes  h/t @aleramesh
2017-03-14 14:40:29 -04:00
DMan577
0537ed70aa Update index.d.ts 2017-03-14 20:02:19 +02:00
88eb98587c reduced build output on travis 2017-03-14 13:24:40 -04:00
7cb978b846 XLML write support
- XLML write (fixes  h/t @SheetJSDev)
- removed old iteration style from README (see )
- CellXF & StyleXF fields (fixes  h/t @ronnywang)
2017-03-14 04:19:51 -04:00
456ab63dc4 version bump 0.9.2: more bugfixes
- decode sheet name for XLSX and XLML (fixes  h/t @rocketmonkeys)
- XFExt (fixes  h/t @aetna-softwares @aimcom @baharudinafif)
- handle truly empty `<is>` elements (fixes  h/t @asksahil)
- pin version numbers for dependencies (fixes  h/t @nhtera)
- sed usage fix (see  h/t @liryna)
- fix hex2RGB substr indices (fixes  h/t @kamorahul)
- removed stale typescript files (see )
- reworked shift formula regex (fixed  h/t @SheetJSDev)
- README note on webpack codepage suppression (fixes  h/t @rusty1s)
- README note on WTF (fixes  h/t @livesoftware)
2017-03-13 02:46:37 -04:00
8cd9e81569 flow annotations
no errors when running flow!
2017-03-12 14:02:46 -04:00
DMan577
aa86eef7fc Update index.d.ts 2017-03-12 09:21:11 +02:00
Yusuke Kawasaki
4684914723 18.4.6 rPh CT_PhoneticRun (ignored)
added namespace to regex (closes  h/t @kawanet)

note: @sheetjsdev authored commit, original PR date/author used
2017-03-11 13:08:52 -05:00
71c23d9e2a version bump 0.9.1: cpexcel update
- codepage upgraded to 1.7.0
- remove require dark pattern (closes  h/t @keyiis)
- test for JSON header disambiguation
- utility functions documentation (fixes  h/t @dskrvk)
2017-03-10 18:39:17 -05:00
Patrick Lam
b0a72c8b0e disambiguate duplicate header names
closes  h/t @patricklam

note: @sheetjsdev authored commit, original PR date/author used
2017-03-10 14:15:39 -05:00
Takashi Fujita
d4829476f7 fix parse_si for Japanese excel files
fixes  h/t @tgfjt .  Original message:

using #parse_si 'Phonetic Properties' items for Japanese excel files,
the Phonetic items(KATAKANA) represents pronunciation hints of String(KANJI).

```xml
<si>
 <t>漢字(japanese KANJI)</t>
 <rPh>
  <t>フリガナ(this is KATAKANA for pronounciation:漢字)</t>
 </rPh>
</si>
```

It expected get '漢字' . but got '漢字フリガナ'.
so replace these string, because this can be caused by only `<rPh>`.
2017-03-10 13:27:11 -05:00
ba1d2ea2be README [ci skip] 2017-03-10 12:33:08 -05:00
4880e9219f more formula parsing logic
- added more function argc counts and cleaned up error rendering
- disabled XLS error on MTRSettings (fixes  h/t @dskrvk)
- handle more unexpected XML empty tags (fixes  h/t @rahulsindc)
- throw error if SheetNames is not unique (fixes  h/t @zippy1981)
2017-03-10 03:39:51 -05:00
54b528eaed version bump 0.9.0: merged ODS into XLSX
The optional ODS module has been completely merged into xlsx.js and the
corresponding scripts have been removed.  The new xlsx.js file provides
appropriate ODS exports, so fixing is a matter of removing ods.js refs.
2017-03-09 20:09:18 -05:00
7b6fb7b327 version bump 0.8.8: HTML
- read MSO HTML (fixes  h/t @vineetl fixes  h/t @tienne)
- roll out xml namespace fix (closes  h/t @PierreOCXP)
- cellDates clarifications
2017-03-09 00:24:32 -05:00
Giovanni Bruno
d2b5506dec parse rich strings with bare boolean tags
h/t @giowe fixes 

note: @sheetjsdev authored commit, original PR date/author used
2017-03-07 14:09:28 -05:00
Sebastian Metzger
1b44629a2c Added 'var' to example to be strict mode compliant
closes 

[ci skip]
2017-03-06 01:46:30 -05:00
Francis Crick
f113fb1bf1 fixing an issue where _xd_ is getting escaped 2017-03-05 18:39:56 -08:00
3d1f0f79ca version bump 0.8.7: bundlers
demos for browserify/requirejs/webpack
2017-03-04 20:14:08 -05:00
5ae6b1965b version bump 0.8.6: module flush
- fixes  h/t @FredrikL @mooyoul
- pin npm version in travis, see https://github.com/npm/npm/issues/15855
- updated CFB (fixes  h/t @e12009)
- remove BOM for some SpreadsheetML files

case insensitive zip file search fixes:
- fixes  h/t @chikh
- fixes  h/t @chikh
- fixes  h/t @duzun
2017-02-24 02:33:01 -08:00
7683e213ea README fix [ci skip] 2017-02-21 23:25:10 -08:00
7408679252 version bump 0.8.5: FODS/UOS and IE6+ support
- read and write support for Flat ODS files
- read support for Uniform Office Spreadsheet (UOS)
- IE6-8 cell regex split fix (fixes    h/t @Aymkdn @C0d3ine)
- replace substr negative index with slices (fixes  h/t @Aymkdn)
- ODS parsexmltag ignores ext overrides (fixes  h/t @lgodard)
- csv can be written using write/writeFile with csv type
- added `type` to README (fixes  h/t @tomkel)
2017-02-21 22:57:59 -08:00
d7ecca0e8b version bump 0.8.4: formula parsing
- BIFF 2-12 formula parsing
- more content type coverage
- unified `.f` form: A1-style string
- `.F` field for array formulae
- formula output groups array formulae
- bin script -A --arrays output JS row objects
- whitespace robustness in inline string xml
- UTF-8 parsing in rich text runs (fixes  h/t @fuchsc)
- bold/italic/underline accept null val attr (h/t @qqilihq)
- sst trimming (fixes  h/t @shakhal @oising)
2017-02-19 12:36:32 -08:00
ab2ecebac9 version bump 0.8.3: BIFF2 read/write
- basic support for parsing BIFF2-4
- basic support for writing BIFF2
- cleaned up some bad substr uses for IE6 compatibility
- added flow type annotations for xlsx.flow.js
- added numerous null guards (fixes  h/t @martinheidegger)
- README cleanup (fixes  h/t @oliversalzburg)
- pin jszip to local version (closes  h/t @limouri)

bower issues:

|  id  | author            | comment                                   |
|-----:|:------------------|:------------------------------------------|
|  | @kkirsche         | fixes  by removing version from json  |
|  | @vincentcialdella | fixes  by changing default script     |
|  | @owencraig        | fixes  by using xlsx.core.min.js      |

format issues:

|  id  | author            | comment                                   |
|-----:|:------------------|:------------------------------------------|
|  | @morstaine        | fixes  by reworking related parse fns |
|  | @JanSchuermannPH  | fixes  detect FullPaths h/t @Mithgol  |
|  | @basma-emad       | fixes  offending file used `x:` NS    |
2017-02-10 11:23:29 -08:00
rinzeb
a234ec5915 Update xlsx typings
Add optional 'options' parameter to function sheet_to_csv. (53f7f6d944/bits/90_utils.js (L132))
2017-02-07 13:21:31 +01:00
06670ae181 removing node 0.11 from travis 2017-02-03 19:09:09 -05:00
86d6a093f0 version bump 0.8.2: ODS and cleanup
- README and example cleanup
- basic XLSB and ODS write support
- flow typecheck for ODS file
  Note: xlsx.js flow fails: https://github.com/facebook/flow/issues/380
- exposed jszip compression (fixes , closes )

README issues:

|  id  | author         | comment                                      |
|-----:|:---------------|:---------------------------------------------|
|  | @sao93859      | closes                                   |
|  | @alexanderchan | closes  corrected examples               |
|  | @cskaandorp    | changed saveAs example to match write tests  |
|  | @dskrvk        | added note about s2roa h/t @LeonardoPatignio |
|  | @jimmywarting  | closes  adapted rABS examples with rAAS  |

ODS file format issues:

|  id  | author         | comment                                      |
|-----:|:---------------|:---------------------------------------------|
|  | @user4815162342| closes  h/t @ziacik                      |
|  | @paulproteus   | closes  rudimentary ODS write support    |
|  | @ziacik        | closes                                   |
|  | @ziacik        | closes  use JSON when available          |
|  | @ziacik        | closes                                   |
|  | @think01       | closes                                   |
|  | @mdamt         | closes  duplicate cells should be copied |
|  | @RB-Lab        | closes                                   |
|  | @lgodard       | closes  thanks to other changes          |
2017-02-03 15:50:45 -05:00
Andy
276b1ae79f Use "lib" in tsconfigs instead of "target". ()
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
2a756fffcc version bump 0.8.1: fixes to support node 4+
- codepage updated to 1.6.0 (latest)
- clean up Makefile
- adapted .travis.yml to support 0.8
- removed test files that drifted from baseline
- removed XLSB pseudo-inverse tests due to fails in node 4+
2016-12-31 03:20:45 -05:00
Andy
01a3806eb5 Add "noImplicitThis" to all tsconfig.json ()
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Nathan Shively-Sanders
573a08aaaf Merge remote-tracking branch 'origin/master' into types-merge-20161122 2016-11-22 15:08:50 -08:00
groetzi
7c89b6e9b1 Update xlsx.d.ts
added signatures for decode_[cell|range]
2016-11-14 17:50:08 -06:00
Nathan Shively-Sanders
d8ea26cbac Merge branch 'master' into types-2.0-2016-08-12 2016-08-12 14:53:54 -07:00
Hagai Cohen
4de60e9ca9 Aligned xlsx types to master xlsx/xlsx.d.ts 2016-08-11 23:18:32 +03:00
Hagai Cohen
09c3f9db84 Fixed XLSX typings 2016-08-11 22:51:52 +03:00
Kārlis Gaņģis
5e2768ac84 Added opts parameter to sheet_to_json method. 2016-08-11 14:10:56 +03:00
Ryan Cavanaugh
d8a13d0dc2 Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
bc12a8d2b3 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Ryan Cavanaugh
22c1dca6e0 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
4039f599e7 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
5ceec62f2a Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
20a8552199 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00