Commit Graph

480 Commits

Author SHA1 Message Date
Kevin Kerber
cb2d83506e
when range is a single cell, s and e hold the same references and thus modifying properties of one affects the other () 2020-06-26 13:16:14 -07:00
enghong
486f35b4cc
Add option to force quotes around values in when exporting to csv () 2020-06-17 18:34:04 -07:00
Srijon Saha
c615f85034
Fix issue with dbf parsing 2020-06-16 13:51:56 -07:00
Garrett Luu
5b356e2528 Fixed separators on files with \r\n at end of line
fixes 
2020-06-12 14:39:01 -07:00
5c1296a46d version bump 0.16.2 2020-06-05 01:42:28 -04:00
Manthan
bef6c7e475 fix: disabling PRN by default
fixes  fixes  fixes 
2020-06-04 23:38:41 -04:00
baea1798cf version bump 0.16.1
- Custom Properties use correct encoding
- AMD wrapper change (see )
2020-05-16 15:45:54 -04:00
Michael
91f8c46704 HTML preserve cell number format 2020-04-26 04:19:53 -04:00
sbarstow
0ac53360b2 fix per project team email to parsing issue with empty doc security tag 2020-04-20 13:17:29 -04:00
257d4e6db2 version bump 0.16.0
closes  h/t
- @atcazzual : Adam Cazzolla of the Sonatype Security Research team
- @davisjam  : James (Jamie) Davis of Virginia Tech
2020-04-19 21:17:44 -04:00
3468395494 x-spreadsheet demo 2020-03-22 21:57:53 -04:00
Lalo Martins
548396f87d
Better DST handling
h/t @lalomartins @lemmingworks

Closes  and related date issues
2020-03-20 02:44:37 -04:00
c91d2187e6 XLML case insensitive (fixes )
h/t @panraj01, many tags are case insensitive
2020-03-18 02:47:02 -04:00
0a57229d3b version bump 0.15.6: niggles from 2012
- CFB prevent infinite loop (h/t @rossj)
- pass updated eslint checks (fixes  h/t @BjoernRave)
- defined name proper encoding (fixes  h/t @laohe98)
- correct theme color order (fixes  h/t @foreverpw)
- ODS / XLML more aggressive flagging of stub cells
- cellStyles implies sheetStubs
- updated SSF to 0.10.3
2020-03-15 03:57:44 -04:00
a81bb78f18 version bump 0.15.5: sheets option 2020-01-27 20:20:38 -05:00
6551dd0e05 version bump 0.15.4: number formats
- AOA utilities properly preserve number formats
- empty cell number formats (fixes  h/t @aimergenge)
2019-12-22 22:19:56 -05:00
7ef3f3e531 version bump 0.15.3: Thanksgiving edition
Proper XML Encoding of Props/CustProps (fixes  h/t @karlbecker)
2019-11-27 04:47:16 -05:00
1a5bba267b version bump 0.15.2: actually pass lint tests 2019-11-14 20:46:49 -05:00
b7c0b0d914 fixed flow typecheck
- update FilterDatabase defined name when writing AutoFilter
- XLML stub cells have blank Data block
- HTML export honor `id` option
- expose `sheet_get_cell`
2019-10-31 23:09:14 -04:00
Jordon Replogle
b0d18ed6db TSV Files can start with tab characters
Fixes 
2019-10-11 19:34:24 -04:00
sauravhiremath
19ebdd9477 bug: Remove white spaces due to html tags () 2019-10-05 13:24:06 -04:00
Patryk Niedźwiedziński
458575184d
Fix
Add error throw on a negative column index
2019-08-31 21:29:50 +02:00
Robin Nilsson
ee862e3adf Fix issue
Fix issue 
2019-08-30 02:07:58 -04:00
36fcb00045 version bump 0.15.1
- XLSX XML ignore attribute (fixes  h/t @samih-dev)
- HTML capture and persist merge info
- mini build remove errant codepage reference
2019-08-14 16:11:16 -04:00
4aeb0a786a version bump 0.15.0: mini build
- new xlsx.mini build that strips XLS/XLSB/niche formats
- updated CFB to 1.1.3
- removed niche sheet_to_{dif,slk,eth} utilities
- removed exported ODS parse/write funcs, read/write still supports ODS
2019-08-04 16:12:56 -04:00
442c4342df version bump 0.14.5: XLS grind
- XLS force stub for commented cells (fixes  h/t @Krelborn)
- XLS PtgNameX use ixti (fixes  h/t @staperney)
2019-08-03 18:51:31 -04:00
9aabf36142 version bump 0.14.4
- CFB update (fixes  h/t @xjnotxj)
- SYLK character encoding (fixes  h/t @Slayess)
- DBF and SYLK ANSI codepage support
2019-07-20 23:32:02 -04:00
Tor Nilsson Öhrn
4109caeadd to_csv skipHidden corner case (fixes ) 2019-05-15 15:49:38 -04:00
9a6d8a1d3d version bump 0.14.3: formula niggle (closes ) 2019-04-30 03:31:01 -04:00
0c36667c0c version bump 0.14.2: comment xml (fixes ) 2019-04-01 10:25:15 -04:00
1eb1ec985a version bump 0.14.1: AutoFilter issues
- `stream.to_json` fix (fixes  h/t @Alex0007)
- AutoFilter `_FilterDatabase` Defined Name (fixes  h/t @nitramL)
2018-11-13 15:25:51 -05:00
suwenxiong
1b731a3ef4 support cell object in sheet_add_aoa
Fixes 
2018-10-12 11:08:24 -04:00
078e5b7eba version bump 0.14.0: sheet_to_json raw default
- sheet_to_json defaults to raw values (fixes )
- update dependencies
2018-09-06 03:55:28 -04:00
notchris
5628fa81a3 BIFF8 Write Dimensions Type 0x200 (fixes ) 2018-08-29 21:14:04 -04:00
eca6b457be version bump 0.13.5: HTML newlines
- HTML Export emits `<br/>` (fixes  h/t @keithbox)
- Unicode Defined Name ODS
2018-08-25 19:44:35 -04:00
Michihito Osanai
ab445c8897
introduce fix for issue#1229
https://github.com/SheetJS/js-xlsx/issues/1229
2018-08-22 13:47:23 +09:00
d3d5bfc988 version bump 0.13.4: more corner cases
- explicitly throw when expected AOA isn't (fixes  h/t @mnori)
- `ignoreEC` option to suppress IGNOREEC records on write
- workaround for BIFF2 BOF mismatch (fixes  h/t @AhmadZuhdi)
2018-08-15 15:34:41 -04:00
Victor Phung
01de12d24f pass codepage option to DSV buffer parser
Fixes  ; Closes 
2018-08-14 16:02:29 -04:00
Squillante
82e909e0ed Recognize case-insensitive properties
Fixes  ; Closes 
2018-08-07 18:51:11 -04:00
10439f7879 version bump 0.13.3: dynamics export
- repair missing dynamics export metadata
- correct handling of non-DOM whitespace (fixes  h/t @Sakura777)
- removed duplicate entity decode (fixes  h/t @mishaberman)
2018-07-25 02:40:26 -04:00
mishaberman
5396e0231e allow HTML content inside of cells 2018-07-13 12:49:22 -07:00
a9b8588e6c version bump 0.13.2: Buffer issues
- node 4.x buffer fix (fixes  h/t @gabyidong)
- dependencies: CFB 1.0.8, codepage 1.14.0
- json object stream
2018-07-08 23:46:11 -04:00
Matt Andrews
b6fd433a42 json_to_sheet cell objects
Fixes , 
2018-07-07 13:01:21 -04:00
9866dfc010 version bump 0.13.1: SST optimization
- XLSX / XLSB avoid linear scan when emitting SST
- minor nits
2018-06-22 17:40:01 -04:00
64798fd1f9 version bump 0.13.0: AMD support
- library reshaped to support requirejs / amd without shim
- control comment visibility (fixes , h/t @cmuruganmsc)
- fixed README code sample error (fixes  h/t @iahmedani)
2018-06-01 12:32:08 -04:00
Surgie Finesse
2918185249 DOM TABLE parse element visibility
- Hidden rows are marked as hidden by default (mimics Excel behavior).
- `display` option for `table_to_*` replicates table as it appears.

Fixes 
2018-05-29 11:11:06 +10:00
Tom Bousso
4737d80db4 Support namespaced xml in styles.xml
Fixes  h/t @tombousso
2018-05-22 16:20:22 -04:00
233102d172 version bump 0.12.13: sylk niggles
- sylk column-major order support
- third-party extensions in SST
- `string` type codepage
2018-05-19 21:34:59 -04:00
c0b4895881 version bump 0.12.12: ecosystem deprecations
- node 10 `Buffer` deprecation workaround (with dependency update)
- Angular 6 global deprecation workaround (fixes  h/t @cristhiank)
- BIFF8 write standard and custom properties
- TH elements in HTML string (fixes  h/t @GigiSan)
- planmaker export quirks
2018-05-05 02:34:37 -04:00
eb5fc87be4 version bump 0.12.11: file format range limits 2018-04-27 16:42:58 -04:00
75c49ddbe8 flow update 2018-04-21 11:16:37 -04:00
f032f34c6e version bump 0.12.10: sheet_to_json niggle
- default not treated as value for empty rows (fixes  h/t @cemremengu)
2018-04-19 22:17:09 -04:00
Drew Smith
6916d5fc73 add pt unit to font-size in HTML
fixes 
2018-04-19 21:12:58 -04:00
04d5e49e95 version bump 0.12.9: XLSX/XLSB abnormal paths
- support for arbitrary subfile paths in OPC
- updated CFB to 1.0.6
2018-04-13 00:48:21 -04:00
93f7749bec version bump 0.12.8: sheetRows multiformat support
- all formats accept `sheetRows` option (fixes  h/t @prog666)
- `table_to_*` support for `sheetRows`
- demo cleanup
2018-04-06 02:39:48 -04:00
08bb7e6e60 version bump 0.12.7: chrome extension
- `writeFile` support chrome extension (fixes  h/t @atkinsam)
- demo refresh
2018-03-29 00:31:36 -04:00
dc2128caca version bump 0.12.6: BrtUid
- `BrtUid` record (fixes  h/t @gustavosimil)
- `sheet_to_json` allow default for errors (fixes  h/t @arijitkanrar)
- docs and demos update
2018-03-19 17:42:55 -04:00
Tal Bereznitskey
975c7fb57f Fixes xlsb file parsing with BrtRevisionPtr
Fixes  h/t @berzniz
2018-03-19 11:56:04 -04:00
5de62a947f version bump 0.12.5: ancillary utility update
- add BOM to `stream.to_csv` (fixes  h/t @hr5959)
- `utils.format_cell` type (h/t @victorj2307)
- duktape niggles
- demo cleanup
2018-03-12 22:51:54 -04:00
7149728c7c version bump 0.12.4: zip cleanup
- PK magic number bound (fixes  h/t @wlpeter)
- removed JSZip conflict (fixes  h/t @seanmars)
- updated CFB to 1.0.5
- demo HTML conversion `string`
2018-03-05 19:34:04 -05:00
5dd16ae640 version bump 0.12.3: cleanup
- PtgList and old Ptg record support
- fleshed out ftab constants from macrosheet support
- reimplemented / fixed / removed shim functions
- demo refresh
2018-02-28 05:41:49 -05:00
8508ad4e94 version bump 0.12.2: BIFF2-4 features
- correct BIFF-dependent cell reference wrapping
- record layout fixes from sample files
- use BIFF version 2.4.338 for BOF (fixes  h/t @benjaminleetmaa)
- fixed potentially vulnerable regexes (h/t @davisjam)
- removed insecure deep dependency (fixes  h/t @dcatoday)
2018-02-21 02:10:33 -05:00
mugai17
88e9e31ebf fix infinite recursion 2018-02-18 12:56:52 +09:00
19620da30b version bump 0.12.1: BIFF5 features
- BIFF5 write number formats and other features
- XLSX/XLSB/BIFF8 Suppress "Number stored as Text" errors
- codename awareness (fixes  h/t @samusstrike)
- updated CFB to 1.0.3
- demo refresh
2018-02-14 15:06:35 -05:00
f002afae4b version bump 0.12.0: extendscript fixes
- ExtendScript write quirks (fixes  h/t @grefel)
- BIFF8 write number formats (fixes  h/t @scwood)
- xlsx.extendscript.js library script
- readFile / writeFile support ExtendScript
- flow update
2018-02-08 13:21:39 -05:00
Maxim Kukhtenkov
fb97bf1768 VBA CFB test [ci skip] 2018-02-04 19:01:44 -05:00
75845a0ca7 version bump 0.11.19: browser writeFile
- IE6-9 ActiveX + VBScript shim
- `writeFile` supported in browser
- `oldie` demo for IE write strategies
2018-02-03 15:46:32 -05:00
c2ec7555fb version bump 0.11.18: infrastructure
- updated dependencies
- fixed eslint config
- fusebox demo
2018-01-23 04:07:55 -05:00
c654a2656b archaic browser compatibility and testing
IE11 Compatibility View levels 5 and 7 (see )
Firefox 5.0+ passes browser test (see )
2018-01-11 03:07:07 -05:00
1d74977718 version bump 0.11.17: sheet_add_{aoa,json}
- Skip extraneous trailing records (fixes  h/t @benjaminleetmaa)
- XLS -> XLML oddities (fixes  h/t @buserror)
- ionic demo
- sheet_add_aoa and sheet_add_json
Issues:
- fixes  h/t @fpasxos
- fixes  h/t @samuelkavin
- fixes  h/t @acgentry
- fixes  h/t @Ideandro
2018-01-09 02:36:02 -05:00
html5-李恒逸
a7d3779724 __toBuffer chunking (fixes )
10240 threshold from older version of fixdata
2018-01-02 11:49:44 -05:00
f277ebe140 version bump 0.11.16: refresh
- HTML whitespace (fixes  h/t @laurentauthier)
- XLML number format write (fixes  h/t @james-boswell)
- XLAM/XLA write
- 'array' write type
- XLSX/XLSB/XLS/XLML RTL read/write
- XLS merge cells write
- demo and typing refresh
2017-12-30 03:20:00 -05:00
33f96fc6ae version bump 0.11.15: right-to-left write
- XLSX right-to-left support (fixes  h/t @mghayour)
- HTML string preserve newline (fixes  h/t @Irikos)
2017-12-24 21:25:03 -05:00
Vincent Jaubert
028d7010a5 sheet_to_json: __EMPTY keys for missing headers
closes 
2017-12-17 11:32:55 -05:00
b3873ea615 version bump 0.11.14: links
- BIFF5 + ODS read named ranges
- internal link range normalization
- BIFF8 + ODS link write
- internal link write (fixes  h/t @gawi)
2017-12-14 20:18:40 -05:00
大黄蜂coder
b17a09849a HTML TD 't' attribute (fixes )
note: @sheetjsdev authored commit, original PR date/author used
2017-12-12 02:14:46 -05:00
c9cab8078c version bump 0.11.13: codepage
- binary CSV `codepage` read option (fixes  h/t @popovserhii)
- BIFF2-5 `codepage` read option (fixes  h/t @makcbrain)
- `xlsx` utility `--codepage` override option
- HTML support some common entities (fixes  h/t @razvanioan)
2017-12-09 02:17:25 -05:00
eff7d153e8 version bump 0.11.12: merging js-harb
- ETH format and utils merged from js-harb
- added shim to npm package (fixes  h/t @dackmin)
- TS defs refresh
- updated test_files
2017-12-03 23:41:41 -05:00
cd2e639fc2 version bump 0.11.11: CFB miscellany
- export `sheet_to_txt` (fixes  h/t @aj4mq)
- BIFF4 Format Record aligned to BIFF 2/3 (fixes  h/t @ToujouAya)
- updated CFB to 1.0.1
- typescript standalone demo
- nexe / pkg xlsx.njs demo
2017-12-01 00:48:10 -05:00
547fba56a2 version bump 0.11.10: binary miscellany
- XLSX empty numeric cells stubbed (fixes  h/t @mgoku)
- XLS sheet type identification
- XLS/XLSB/XLSM CodeName exposure (fixes  h/t @TennisVisuals)
- CFB re-exported
2017-11-19 20:51:14 -05:00
7c7f4a69d4 version bump 0.11.9
- CLI `--book` convert all worksheets (fixes  h/t @pmelisko)
- Detect ";"-DSV with no "\t" or "," (fixes  h/t @sh977218)
- editable HTML uses spans for IE6+ compat (fixes  h/t @elogicmedia)
- XLSB formula structure parallels XLS (fixes  h/t @bstiel)
2017-11-15 13:14:02 -05:00
3f6f8e93ed version bump 0.11.8: CFB 1.0.0
- travis node 9 test
- demo refresh
2017-11-05 14:18:35 -05:00
Andreas Hjortland
1ab13069cb Remove closing > of <br> tag
Use get_dom_element
2017-10-31 20:18:29 +01:00
825830d1cd version bump 0.11.7: VFP DBF write
- DBF writer (dBASE II + VFP extensions)
- updated CFB to 0.13.2
- BIFF8 XLS write VBA
2017-10-27 12:25:54 -04:00
ed4348a6b6 XLS cellText option (fixes h/t @cyzeng-Luca) 2017-10-17 23:44:12 -04:00
f968dfe4ed version bump 0.11.6: ancillary format update
- BIFF5 XLS write (bookType "biff5")
- DBF Level 7 read
- ODS whitespace and repeated rows
- flow and lint cleanup
2017-10-16 20:14:32 -04:00
Ravelle Kelley
ef9f3f9ca5 fix worksheet protection options 2017-10-16 18:19:53 -04:00
Dumitru Uzun
51b4751b95 DSV detect semicolon ';' delimiter 2017-10-16 22:47:04 +03:00
Oliver Yeoh
6d741ebd3a Parse text:s elements containing text:c attribute
Fixes 
2017-10-10 13:10:52 +08:00
c88f83940c RTF write stub
- Empty WS on RTF read, rudimentary write
- reshape XLS VBA blob
- CI adding back old nodejs versions
- refresh tests and docs
2017-10-02 04:15:36 -04:00
af3df44633 version bump 0.11.5: "string" type
- proper JS string input / output type
- bower main now uses full version (fixes  h/t @newmesiss)
- DOM parse directly acts on innerHTML (see  h/t @danxfisher)
- unicode core props and ext props (fixes  h/t @fureweb-com)
- shim update for IE10/11
- test refresh and flow checks
2017-09-30 02:18:11 -04:00
d02650055d version bump 0.11.4: BIFF8 XLS write
- xlsx bin script takes `-8, --xls` options for writing BIFF8
- updated CFB to 0.12.1, CRC32 to 1.1.1
- test file spelling error (h/t @jsoref)
- minified script renames write_shift / read_shift
- UTF8 and XML entity processing

Issues:
- fixes  h/t @Neroth
- fixes  h/t @LittleBreak @PWDream
- fixes  h/t @keyiis
- fixes  h/t @FlyingSailor @simonchan2013
2017-09-22 18:18:51 -04:00
ad47cb433c Math.LOG2E precision issue + new demos [ci skip]
- swift + jsc
- java + rhino
- XMLHttpRequest and friends
2017-09-05 01:34:30 -04:00
Josh Soref
e34b6e78d2 spelling [ci skip]
- fixed spelling errors in README and code (fixes )
- replaced garbled names in property tests (fixes )
2017-09-04 03:55:10 +00:00
635310b639 version bump 0.11.3: "array" type
- phased out Array map invocations (fixes  h/t @dullin)
- "array" type supports Uint8Array
- Headless browser examples
- blank cells are omitted or stubbed (fixes  h/t @domxa)
- removed transferrables from demo
2017-08-19 19:06:34 -04:00
2ea9c95839 HTML and CSV parsing
- blank cells are omitted or stubbed (fixes  h/t @doxma)
- bare equals signs are interpred as strings
- CSV / TSV determination based on frequency (fixes  h/t @nknapp)
- HTML DOM Element and CSV tests
- XLS do not leak XF and index (fixes  h/t @the-spyke)
- cellText and cellNF apply to CSV (fixes  h/t @the-spyke)
2017-08-18 14:10:18 -04:00
Hugh Greenish
f6981076ec Fix fuzzydate string matching logic 2017-08-17 16:59:17 +01:00
5b67ac0806 version bump 0.11.2: proper plaintext parsing
- dollar currencies and percentages properly detected as numbers
- parse potential CDATA segments in XLSX (fixes  h/t @awb99)
- IE8 issues with regex
- altjs demos

Issues:
- fixes  h/t @huhm
- fixes  h/t @sangpuion
- fixes  h/t @GreggOD
- fixes  h/t @sangpuion @jyyan
2017-08-10 19:46:34 -04:00
9ba09bab5e improved plaintext parsing
- fuzzy number check disregards commas (fixes  h/t @mz121star)
- updated to CFB 0.12.1
- parse_dom_table and html_to_sheet raw option
- canvas-datagrid demo
- docs and TS definition update
2017-08-09 18:38:23 -04:00
Hugh Greenish
54f380ef2c new tag regex handles angle brackets in attributes
fixes 
2017-08-08 14:22:17 -04:00
935821423f version bump 0.11.1: dist cleanup
- dist scripts properly export library
- XLS/XLSB formulae quote sheet names containing spaces
- skipHidden ported to streaming CSV write
- updated codepage to 1.11.0
- flow and TS updates
- webpack demo example using dist scripts
- requirejs demo
2017-08-05 02:32:57 -04:00
David Beaumont
0f39f2818f Don't throw when vt:vector isn't the expected size
Fixes 
2017-08-03 17:38:30 +01:00
Anton Alexandrenok
2339e13222 skipHidden option for sheet_to_csv (fixes )
Note: Excel CSV conversion includes hidden rows and columns by default
2017-08-02 19:41:44 +03:00
7d15f35e3e version bump 0.11.0: new minified versions
- build script strips `require` statements
- finally every version is pinned (see  h/t @the-spyke)
- removed colloquialisms in README
2017-08-01 01:50:53 -04:00
ce37f99ec3 version bump 0.10.9: pin dependencies
- updated SSF 0.10.0, codepage 1.10.1, CFB 0.12.0, CRC32 / ADLER32 1.1.0
- pinned all devDependencies (fixes  h/t @the-spyke)
- flow type updates
- clarified meteor usage (fixes  h/t @NorthDecoder)
2017-07-28 19:27:16 -04:00
6732eb76f8 hodgepodge of fixes
- missing formula elements rewritten to valid defined names (see )
- comment author length limit enforced
- XLS ifmt references renamed to numFmtId for consistency with XLSB
- removed circular symlink
- mangle/compress with uglify
- more flow comments
2017-07-27 17:15:55 -04:00
807eac273b miscellany
- systemjs browser example
- more precise file type resolution
- small corner cases from test corpus
- removed neq in tests (fixes  h/t @TeamworkGuy2)
- package.json devDependencies versions (fixes  h/t @the-spyke)
2017-07-26 04:35:28 -04:00
6a913d3a7b version bump 0.10.8
- TS definition removed DOM references (fixes  h/t @shaunc)
- extendscript inconsistent processing of bitwise ops
- updated browser tests
2017-07-10 18:18:18 -04:00
Danwakeem
d28cc872c7 XLS/XLSX/XLSB Row Outline Levels (closes )
note: @sheetjsdev rewrote implementation, original PR author used
2017-07-10 06:02:06 -04:00
TMiller00
859691b87b Added a check for a raw string in .csv files 2017-07-09 01:15:28 -04:00
00f25cfe1e version bump 0.10.7: autocorrections for bad files
- recalculate SSF for malformed files (fixes  h/t @asksahil)
- malformed shared string (fixes  h/t @Ramzec)
- SSF added to TS def (fixes  h/t @duckywang1)
- Norsk property names
- resolved gitbook processing issues
2017-07-05 18:27:54 -04:00
1988338deb version bump 0.10.6: encoding tweaks
- updated codepage to 1.9.0
- replaced \u2603 with \s\S (fixes  h/t @clgnik)
2017-06-24 02:51:37 -04:00
James Yang
36022a0f56 fix hyperlink text encoding
see issue https://github.com/SheetJS/js-xlsx/issues/684
2017-06-13 10:26:29 +08:00
5d997df419 version bump 0.10.5
- HTML output new preamble, <table> should not be in header/footer
- XLS Built-In defined names translated to XLSX _xlnm form
- README: streaming read strategies
- If approximation error is sufficiently small, assume MDW is 6
- TS rename Utils type to XLSX$Utils (see )
2017-06-09 21:54:33 -04:00
Valters Valdersteins
da1c111275 updated SSF to 0.9.4
- fixes  h/t @kuhu19
- fixes  h/t @vvaldersteins

note: @sheetjsdev authored commit, SSF PR info used
2017-06-08 22:19:15 -04:00
81ab4f9b1f version bump 0.10.4: privacy filter 2017-06-03 03:19:09 -04:00
aff7b95272 Date/Time Minutiae
- TZ consistency for DBF and others (closes  h/t @peeyushsrivastava)
- Date1904 XLSX/XLSB/XLS/XLML consistency (fixes  h/t @SheetJSDev)
- dateNF corrects for plaintext date parsing (fixes  h/t @mmancosu)
- new travis tests override local time zones
2017-06-01 17:22:11 -04:00
e996df7b67 version bump 0.10.3: flush
- CSV double-quote processing (fixes  h/t @jckkong)
- actually updated SSF to 0.9.3 (h/t @HuFlungDu)
- npm module actually includes the types
2017-05-17 13:52:32 -04:00
3ff724e349 version bump 0.10.2: date processing corner cases
- all formats follow cellDates / dateNF (fixes  h/t @mmancosu)
- IE6-8 Date corrections
- XLML Date force UTC
- updated SSF to 0.9.3 (fixes  h/t @HuFlungDu)
- removed CFB export
2017-05-17 00:23:36 -04:00
3fde651a8c sheet_to_html
- added to TS definition and tests
- clarified behavior of plaintext files (fixes  h/t @dskrvk)
- removed old test files
2017-05-16 13:45:35 -04:00
99b513875b lint and type fixes
- removed CFB test (fixes  h/t @wolfgang42)
- book_append_sheet optional name (fixes  h/t @jomel)
- strict mode compliance (h/t @simon-p-r @loongdefect @appersonj)
- flow fixes (h/t @jameskraus for help with Date#getYear)
- fixed minifier to generate ExtendScript-compatible code
2017-05-13 14:21:22 -04:00
c3c0bc5266 version bump 0.10.1: json_to_sheet, misc fmts
- SYLK auto fail into DSV on bad header (fixes  h/t @mmancosu)
- CSV automatically wrap `ID` in quotes
- json_to_sheet (see issue )
2017-05-11 14:36:32 -04:00
7b4bafba49 Miscellaneous format fixes
- SSF update to address extendscript issue (fixes  h/t @mjdb3d)
- XLSX cellDates set date format (fixes  h/t @psalmody)
- ODS add stub stylesheet for Excel (fixes  h/t @WaqasJaved1)
- CSV with UTF8 BOM (fixes  h/t @charlesread)
- DIF/CSV fuzzy date speculation
- SYLK parse RC formulae
- CSF utils for manipulating workbooks
2017-05-11 03:29:59 -04:00
a8736580a5 version bump 0.10.0: cleanup
- updated SSF to 0.9.2
- XLSB style records and number format writing
- CSV avoid parseFloat (fixes  h/t @jabbermarky)
- CSV recognize mac line ending (fixes  h/t @charlesread)
- BIFF2 format table refactored to align with SSF
- BIFF5 image data exposure
- SSF custom format auto table update (fixes  h/t @Fangmingdu)
- eslint more checks
- browser test timeout extended to 10 seconds
2017-05-09 14:07:57 -04:00
810c447bf9 browser tests and doc cleanup [ci skip] 2017-05-01 01:00:00 -04:00
b9bc0a1627 version bump 0.9.13: string formatting
- dateNF parse option controls interpretation of code 14
- SSF updated to 0.9.1
- SYLK write formulae
- DIF support Excel-style data storage
- ODS/FODS automatic styles for date formatting

Issues:
- Fixes  h/t @CharlesNo
- Fixes  h/t @JohnJeong123
- Fixes  h/t @jerryhe88
- Fixes  h/t @JohnJeong123
- Fixes  h/t @calebeaires
- Fixes  h/t @railty
- Fixes  h/t @FourLeafClover
- Fixes  h/t @dougschiller
- Fixes  h/t @dpackage
2017-04-30 12:27:03 -04:00
dcee744e4e row and column size and visibility
- XLSX/XLSB/XLS/XLML/SYLK rows and columns
- corrected pixel/point calculations using PPI
- XLSX/XLSB generate sheet view
- clarified sheet protection default behavior
- fixed eslintrc semi check
2017-04-28 03:40:40 -04:00
Patrick Lehmhecker
c6f96c3df7 converting to json with a selected range and header: 1 now lets the array start at zero 2017-04-26 17:32:42 +02:00
95a377c0e4 more format parity
- XLS/XLSX/XLSB/XML/ODS cellFormula option + test
- XLS/XLSX/XLSB/XML/ODS cellText option + test
- XML document property order
- XML write margins + protection
- removed gitbook search
2017-04-25 22:27:12 -04:00
8c4f1f4e84 version bump 0.9.12
`cellText` parse option controls `.w` output (fixes  h/t @SCullman)
2017-04-21 18:02:05 -04:00
6853c99ce5 rich text HTML + preview 2017-04-19 23:43:43 -04:00
Siguza
c356e91fdc XLSX write page margins
changes distilled from Siguza/js-xlsx
see https://github.com/protobi/js-xlsx/pull/19 for discussion
2017-04-16 22:31:33 -04:00
09fba37eac switch to eslint
- eslint pass (eliminates jshint and jscs)
- moved cell reference functions to reduce forward references
- themeXLSX override XLSX/XLSB/XLSM theme
2017-04-16 22:08:23 -04:00
f51feb375a version bump 0.9.11: streaming HTML write 2017-04-16 03:31:21 -04:00
1d61054602 HTML Write support
- 'html' bookType write format
- basic HTML entity encoding (fixes  h/t @xkr47)
- HTML string and table merge cell fixes
- doc notes on nodejs streaming
2017-04-16 00:32:13 -04:00
Jonas Berlin
616d2e534f XLSX Proper HTML entity escaping for .h 2017-04-13 14:33:00 -04:00
1587688aea Page Margins
- XLSB read/write page margins
- XLSX/XLS/XLML read page margins
- separated encrypted XLSX/XLSB document logic from XLS
2017-04-12 21:29:38 -04:00
0189bc23ca Defined Names
- XLSX read/write defined names
- XLSB/XLS/XLML read defined names

Issues:
- fixes  h/t @developergdd
- fixes  , fixes 
2017-04-11 18:15:36 -04:00
5187bc0b63 Basic AutoFilter Read/Write
- XLSX/XLSB read/write autofilter
- XLS/XLML/*ODS read autofilter
- Workbook Properties override via Props option
- XLSB write sheet protection

Issues:
- fixes  h/t @nishthasb
- fixes  h/t @yonatannn
- see  h/t @jcarvin
2017-04-10 01:11:32 -04:00
51182e57ef version bump 0.9.10: nodejs performance
- xlsx.njs use dense mode by default
- CSV Streaming output for nodejs
- XLSX/XLSB error on password protected documents
- record hoppers switch on record number rather than name
2017-04-09 00:04:46 -04:00
f43cacaf5e experimental dense representation
- browser demo save file in global (fixes  h/t @WildDusk)
- flesh out XLSB record expectations (fixes  h/t @pgeeh)
- `dense` mode (fixes  h/t @schleumer)
2017-04-08 02:55:35 -04:00
Mior
d086dbecbf XLSX write Sheet Protection
fixes  h/t @Mior

note: @sheetjsdev rewrote implementation, original PR author used
2017-04-04 14:46:10 -04:00
6a3afe56c2 Lotus / Quattro Pro read support 2017-04-04 12:09:41 -04:00
01d1c32fa1 version bump 0.9.9: basic TXT/CSV read
fixes  h/t @vijayst
fixes  h/t @ayush000
2017-04-03 02:02:05 -04:00
b9dae134f2 TXT/PRN
- UTF-16 Unicode Text (TXT) write
- Lotus Formatted Text (PRN) read/write
- DBF version 2 field length adjustments
- throw errors if SheetNames is invalid (fixes  h/t @pietersv)
2017-04-02 20:16:03 -04:00
3a310bd3a7 Read/Write Comments
- XLSB/XLSX/XLML write comments
- BIFF2 write date cells (see  h/t @roccomuso)
- ODS read cell comments (fixed  h/t @yisk)
- XLSX / XLSB emit empty comments when necessary
- changed node detection logic (fixes  h/t @mhenris)

- fixes  h/t @ylbweb
- fixes  h/t @hanxi @osecki
- fixes  h/t @abarik1981 @stla
- fixes  h/t @aravindkoneru @ryangallen
2017-04-02 02:47:25 -04:00
b93569badf more formats from js-harb
- clarify usage of Props and Custprops (fixes  h/t @michahell)
- SYLK from js-harb
- DIF from js-harb
- HTML empty string bug fix
2017-04-01 03:32:12 -04:00
e42cf43c02 version bump 0.9.8 2017-03-31 17:46:02 -04:00
97f7c1d4bf sheet visibility
- XLSB read V H VH + write V H VH
- XLSX read V H VH + write V H VH
- XLML read V H VH + write V H VH
- XLS  read V H VH

- fixes  h/t @rla-dev @Mior
- fixes  h/t @enobufs @thowk
- fixes  h/t @digity
- fixes  h/t @digity
2017-03-31 14:46:42 -04:00
Paul Ishenin
233eae2f4e !rows processing (fixes )
based on comment from @sheetjsdev:
https://github.com/SheetJS/js-xlsx/issues/81#issuecomment-48360276

fixes  h/t @neversaid
2017-03-31 00:00:42 -04:00
Benjamin Boudreau
563efd88f1 XLSX write sheetFormat option (fixes )
note: @sheetjsdev authored commit, original PR date/author used
2017-03-30 23:30:25 -04:00
4743085cb5 XLSB/XLSM sheet rels and hyperlinks
- XLSB/XLSM workbook/worksheet code names for VBA
- XLSX/XLSB write hyperlinks
- updated CFB to 0.11.1

Fixes:
- fixes  h/t @johnothetree (XLSM CodeName)
- fixes  h/t @SheetJSDev (Write Hyperlinks)
- fixes  h/t @MayaGi (XLSX Write Hyperlinks)
- fixes  h/t @slonoed (XLSX Write Hyperlinks)
2017-03-30 20:47:35 -04:00
65f1c7e58b HTML DOM Element read
- DOM <table> element parsing (fixes  h/t @axolo)
- removed InterfaceHdr check (fixes  h/t @Batistleman)
- gitbook docs
2017-03-29 15:14:15 -04:00
b89a876076 version bump 0.9.7: write features
- write !cols widths : XLSX XLSB XLML
- write hyperlinks   :           XLML
- XLSB convert date cell to numeric on write
- fixed issue with assigning self in jszip

issues:
- closes  h/t @jscheid
- closes  h/t @asfman
2017-03-28 18:03:03 -04:00
085150db3b DBF from js-harb
- merged DBF from js-harb (fixes  h/t @joefreire)
- updated codepage to 1.8.0
- stub for macro/dialog sheet parsing (fixes  h/t @GenoD)
- XLSB/XLSM write vbaraw (fixes  h/t @johnothetree)
- phantomjs demo (fixes  h/t @machinewu)
2017-03-28 00:41:01 -04:00
663270b762 XLS/XLSX/XLSB Interpret Chartsheets as Data Tables
- chartsheets are now stored as sheets with "!type" set to "chart"
- fixed Strict XML Workbook Relationships
- stubbed support for dialog and macro sheets
- removed legacy XLS `!range` field
2017-03-27 17:41:14 -04:00
471275b761 version bump 0.9.6
- new ExtendScript demo
- Base64 shim improvements h/t @davidchambers @sheetjsdev
- jszip improvements to support extendscript
2017-03-25 18:18:50 -04:00
OliverZ
1038400859 International Properties
Excel localizes "Worksheets" and other names in XLS[XMB] Properties

Fixes 

note: @oliverz contributed a file with "Arbeitsblätter"
      @sheetjsdev tested against test suite, PR  details used
2017-03-25 14:32:59 -04:00
70c48a74b9 API Improvements
- `aoa_to_sheet` function (fixes  h/t @fonzy2013 @rvdwijngaard)
- `writeFileAsync` function (fixes  h/t @barbalex)
- `sheet_to_json` tests + docs + blankrows (fixes  h/t @EEaglehouse)
- write number format scan now includes every index >= 50
- propagate SSF IE8 fixes (fixes  h/t @sheetjsdev)
- update shim for extendscript (see  h/t @firas3d)
- more flow type definitions
2017-03-24 21:36:40 -04:00
Jim
9ae3a64af8 sheet_to_json default value
uses `defval` key in options object

fixes  h/t @jimjin
fixes  h/t @jimjin
fixes  h/t @jtadmor
2017-03-23 01:58:08 -04:00
69782ca211 version bump 0.9.5: IE8+ browser tests
- minor changes to work around IE incompatibilities
- updated shim and browser tests
2017-03-22 21:18:40 -04:00
LieJiang
d83986d31c SSF undefined string guard (fixes )
note: @sheetjsdev authored commit, original PR date/author used
2017-03-22 11:23:13 -04:00
a846f7184d utility improvements
- sheet_to_csv strip option (fixes  h/t @davidworkman9)
- sheet_to_json dateNF option (fixes  h/t @rotemtam)
- file type detection expanded to 4 byte magic number
2017-03-22 03:50:11 -04:00
c7010eec35 XLS/XLSX/XLSB/XLML cellDates support
- uniform number->date cell conversion
- update SSF to 0.9.0 (for is_date)
- namespaced rich str xml
- license file changed to appease GH automatic license detector

|     id      | author       | comment                                 |
|:------------|:-------------|:----------------------------------------|
| closes  | @Aymkdn      | XLSX cellDates + SSF.is_date            |
| closes  | @elad        | same as  h/t @SystemParadox         |
| closes   | @vratiu      | same as                             |
| closes  | @varunoberoi | raw json output uses date               |
2017-03-21 16:44:35 -04:00
3cacfc406c version bump 0.9.4
- changed regexes to handle odd XML (fixes  h/t @chk- @imsaquib)
- XLML roundtrip 1252 encoding
- browser core tests added to main repo
2017-03-20 17:42:12 -04:00
245dd7fd82 Documentation improvements
- multiformat column widths (fixes  h/t @sheeeeep)
- skip nested BIFF files
2017-03-20 05:02:25 -04:00
František Žiačik
ea7a951506 better dup check (fixes ) 2017-03-19 19:48:49 -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
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
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
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
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
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
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
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
0d38d4c0a0 version bump 0.8.0: unification with js-xls 0.7.5 2015-04-02 16:32:22 -04:00
harbhub
61b17e6d9d handle internal links (fixes ) 2014-11-13 03:44:29 -05:00
f9097d403b version bump 0.7.12: cell type 'd'
- more structure in the theme parsing
- cellDates option on parsing side creates date cells
- cellDates option on writing side creates cells with type 'd'
- cell types clarified, type 'str' phased out
- README clarifications
- more tests to ensure date consistency
- more test cases for ODS
2014-10-26 01:26:18 -04:00
61d2e55cc6 version bump 0.7.11: ODS hooks
- ODS hooks + very basic parser (ods.js)
- handle implicit row/col spec (h/t @EarlJS, see http://git.io/2lwOuA)
2014-10-09 22:22:38 -04:00
Mo de Ruiter
5942587509 Remove global variable "cellen" 2014-10-07 17:12:04 +02:00
19f3a6ae76 version bump 0.7.10: cleanup
- build bower.json (h/t @jjstewart, following the change from js-xls)
- README clarification on !ref (fixes )
- XLSX treat empty <v/> tags as empty cells (h/t @clarlars)
- XLSX write !merges array (fixes )
2014-08-26 13:40:04 -04:00
127a430e79 version bump 0.7.9: updating jszip to 2.4.0
Fixes 
2014-08-21 11:44:30 -04:00
d4999ac421 version bump 0.7.8: docs, defaults, details
- browser shim updated (h/t @wintersm for discovering this)
- smart tag ignores (h/t @lostinplace)
- sheet_to_row_object_array bugfix (fixes , h/t @ChrisBurkeBSD)
- README improved
- baltic and vietnamese codepages: updated codepage to 1.3.4
- iOS Numbers can handle inline strings -> disabling SST by default
- avoid Buffer accessors (see https://github.com/joyent/node/issues/7809)
- caching certain hot regexes
2014-07-28 09:22:32 -04:00
Chris Wheeler
19c22fa34a Prevented crash on wbfactoid 2014-07-14 11:53:04 -04:00
6bc24374b9 version bump 0.7.7: needs more cowbell
- parsexmltag and other hot functions now better optimized for v8
- monomorphic functions (different types -> different funcs)
- more efficient decode_range implementation when source is trusted
- regular expressions cached and simplified without breaking correctness
- more efficient utf8 techniques when available
- XLSX: large functions broken down into sub-functions (e.g. `parse_ws_xml`)
- XLSB: avoid unnecessary binds
- XLSB: assume no exotic codepage exists (no one else tries to write XLSB)
- demo exposes rABS / worker / transferable options
- more tests
- jszip updated to 2.3.0
- SSF updated to 0.8.1
- codepage updated to 1.3.1
2014-06-29 14:29:45 -04:00
aa46ada7b8 version bump 0.7.6-i: more browserify
h/t @volodymyrl
2014-06-27 11:11:33 -04:00
662c550d9e version bump 0.7.6-h: browserify issues
- updated codepage to 1.3.1 (h/t @volodymyrl)
2014-06-27 09:58:43 -04:00
87bbe636d3 version bump 0.7.6-a: npm is flaky [ci skip]
The original push showed up as failed, pushing again
2014-06-05 03:25:49 -04:00
44b55c5c56 version bump 0.7.6: IE compatibility
- jscs linting to check for trailing comma issues (h/t @altkatz)
- IE: phased out lazy string indexing in favor of charCodeAt
- XLSX: replaced certain operations in hot functions with faster alternatives
- updated SSF to 0.7.1
- improved coverage in tests
2014-06-05 03:06:20 -04:00
altkatz
a96b723cda IE Compatibility and notes 2014-06-03 14:44:08 -04:00
009946339c version bump 0.7.5: more performance
- eliminated functional constructs in hot functions
- format try-catch block extracted into new function
- cpexcel + codepage updated to 1.2.0
- more efficient (and correct) clean implementation of RGB/HSL/tint algorithms
- xlsx binary --all option enables every extra formatting and saving option
- column widths parsed and saved (requires cellStyles:true)
2014-06-02 01:19:07 -04:00
d882757c0a enforcing 31 character sheet name restriction 2014-05-31 11:44:56 -04:00
a3d9c4d9ac version bump 0.7.4: I/O improvements
- basic style + theme parsing, option .cellStyles (h/t @eladxxx)
- more XLSB writing stubs
- correct resolution of .xml/.bin files
- sheet_to_json improvements from js-xls
o opts.header = 1 for array of arrays
o opts.header = 'A' for spreadsheet column labels
o custom opts.header array for custom labels
o opts.range = n starts from row n
o opts.range = range restricts writer to work within the specified range
- Makefile adapted to work with cygwin on windows
2014-05-29 18:30:03 -04:00
eladxxx
5e9bca78f2 Initial implementation of style/theme parsing.
Huge thanks to @SheetJS for guidance on how to do all of this!

Experimental, guarded by the cellStyles option (default: false)
2014-05-29 09:18:23 +03:00
489b9cdde4 version bump 0.7.3: performance
- require cpexcel instead of full codepage library
- hardcode the unescapexml regexp
- utf8read short circuit for ASCII strings
- cellFormulae also acts on XLSX/XLSM
- bin/xlsx.njs do not process formulae unless requested
2014-05-25 02:04:08 -07:00
e1f8dbb863 version bump 0.7.2: bughunt
- read BOM, handle UTF16LE-encoded XML
- handle namespaces in [Content_Types].xml
- parse workbook rels to determine sheet files
- numbers OSX boolean support (apparently requires "0" or "1")
- XLSX force "General" style to be serialized, omit implied cell type and style
- updated SSF to 0.7.0 (h/t @sysarchitect)
- updated jszip to 2.2.2
- removed old tests/files path, replaced with test_files
- themes written
- ignore potential existence of thumbnail when calculating relationship ids
2014-05-22 05:16:51 -07:00
fbb2574191 removed stray comma (fixes ) 2014-05-17 11:57:29 -07:00
a1990758a0 version bump 0.7.1: test now ignores missing files
apparently openpyxl removed a few test files from their suite :/
2014-05-15 20:02:26 -07:00
d15b81e0e9 version bump 0.7.0: Basic write support
- very basic XLSX / XLSM write support with roundtrip tests (XLSB stubs)
- reorganized source tree
- new XLSB range check ensures that A1 is not emitted for empty sheets
- SSF table emitted in output (consistent with js-xls)
- CLI supports writing

Backwards-incompatible changes:
o new Property aliases (see CORE_PROPS and EXT_PROPS)
o FILETIME custom properties parsed as JS Dates
o `xlsx2csv` -> `xlsx` (and `bin/xlsx{2csv,}.njs`)
2014-05-15 17:33:34 -07:00
b645f6ef98 version bump 0.6.2: bits reorganization
- updated SSF to 0.6.5
- XLSB 'dbcs' uses codepage
- README bugfix (h/t @noodles)
- new tests: rawjson and json baselines generated by hand
- single cell ranges are encoded as cells ("A1" instead of "A1:A1") (h/t @clxl)
- source code alignment with js-xls
2014-05-03 11:51:10 -07:00
6801958327 version bump 0.6.1: dist cleanup
- XLSX format strings properly handles literal UTF8 chars (test apachepoi_49273)
- codepage updated to 1.0.0
- jszip updated to 2.2.0 (node-only)
- dist now contains jszip and codepage dependencies
- updated test_files
2014-04-22 18:37:08 -07:00
dc2d391fbc version bump 0.6.0: avoid globals
- all utilities are now wrapped in XLSX object
- codepage handling (h/t @xch89820)
- formula tag attributes (h/t @shaunthomas999)
- hyperlink support (h/t @sysarchitect, fixes )
- coverage test spinner (to prevent travis timeouts)
2014-04-15 02:04:03 -07:00
0af8b20f0e version bump 0.5.17: do not throw for unknown tags
Fixes 
2014-04-04 16:03:43 -07:00
03588e332c version bump 0.5.16: content types et al
- added `bookVBA` option
- content type default corner cases
- fleshed out content type list
- XML parsing ignores namespaces
- updated SSF to 0.6.4
- testA tets enforce sheetRows=10 (shorter tests)
2014-04-03 15:51:54 -07:00
56b10f3616 version bump 0.5.15: converging tests
- test script normalized
- proper handling of empty sheet ranges
- xlsb sheetStubs and calcchain parsing
- jshint passes
- updated SSF to 0.6.2
2014-03-29 15:53:15 -07:00
d462e18846 version bump 0.5.14: XLSB comments
- SSF updated to 0.6.1 (h/t @notatestuser)
- more tests and related XLSB records
- XLSB plaintext comment and author
- preliminary work for XLSB formats
2014-03-28 19:05:50 -07:00
37cc0006f2 version bump 0.5.13: merge cells
merge ranges stored in !merges
- XLSB BrtMergeCell
- XLSX mergeCells (h/t @clayzermk1 for discussion )
- More XLSB Record cases
- merge test (js-xls test)
2014-03-23 14:30:00 -07:00
0a8304c076 version bump 0.5.12: pass AutoFilter tests
- XLSB Brt* records
2014-03-20 19:44:27 -07:00
2df14a3cce version bump 0.5.11: removing XLSB training wheels
- Brt* errors restored
- updated SSF to 0.5.9
2014-03-19 10:53:20 -07:00
49a37c9cf5 version bump 0.5.10-b: guard against corrupt SSF
- prevent overriding format code 0
- pivot table styles
2014-02-26 14:30:32 -05:00
ecee362e00 version bump 0.5.10-a: xlsx performance
- utf8 translation pushes to array rather than string concat
- large_strings test actually runs now (rather than blowing up)
2014-02-22 16:36:28 -05:00
ad20bf9b83 version bump 0.5.10: numbers iOS fix
Most writers write sheets to

xl/worksheets/sheetN.xml (where N is 1-indexed)

Numbers for iOS apparently writes to

xl/worksheets/sheet.xml (for first sheet)
xl/worksheets/sheetN.xml (N>1, 0-indexed -- sheet1.xml corresponds to 2nd sheet)

The right thing to do is to dig into workbook rels, but that's for another day
2014-02-21 11:41:37 -05:00
5c4b5827b5 version bump 0.5.9: sheetRows partial processing
- opts.sheetRows limits parsing; default (0) parses all rows
- added -n mode to xlsx2csv to control number of rows
- !ref will be adjusted; !fullref holds full range
2014-02-18 22:03:28 -05:00
33fbc389c5 version bump 0.5.8: bookFiles, default change
- option bookFiles controls whether zip files and keys are written to object
  *** Default has been flipped from "true" to "false"
- updated SSF to 0.5.8
- updated test_files to 20140216 (tests also look at 2013 XLSB)
- added dist files (make dist)
2014-02-17 03:44:22 -05:00
c0a8bef07c version bump 0.5.7: WTF-ification
- opts.bookDeps parses calc chain; now chains are not parsed by default
- getzipdata safe option obviates some try-catch blocks
- parsing cell type 'd' (h/t @malphettes, yet again :)
- opts.WTF throws on errors
2014-02-15 00:08:18 -05:00
Hugues Malphettes
a66ff4462e Support cells for the 'd' date type 2014-02-15 11:15:10 +08:00
2cb06e0fb8 version bump 0.5.6: custom properties
- custom properties (h/t @hmalphettes)
- new option bookProps
- added minified target (using uglify-js)
2014-02-14 01:25:46 -05:00
Hugues Malphettes
f5f9229ab2 Support custom properties
and return them as the hash workbook.Custprops
2014-02-14 11:39:03 +08:00
72d7707152 test cleanup 2014-02-13 03:48:41 -05:00
1dceeffbe9 version bump 0.5.5: sheet names optimization
- bookSheets option skips worksheet parsing (used by xlsx2csv)
- filtered tests (by file extension)
- XLSB formulae stubs
2014-02-13 01:22:42 -05:00
7e9f218f0f version bump 0.5.4: more options
- cellHTML controls HTML generation
- cellFormula controls formula output
- sheetStubs now defaults to false

- cleaned up unnecessary CSV quotes (fixed )
- updated test_files to 20140211
- updated SSF to 0.5.7
- removed unused main function
- removed some dead code
2014-02-12 01:09:42 -05:00
27af8a6d6a version bump 0.5.3: options!
- read and readFile accept opts argument:
o cellNF (default false) true -> cell.z holds number format string
o sheetStubs (default true) false -> stub cells not emitted

- name consistency (parse_workbook -> parse_wb_xml)
- README updates
- CONTRIBUTING notes added
2014-02-07 05:53:40 -05:00
99d879ee30 version bump 0.5.2: chores
- node jszip updated to 2.1.0 as per https://github.com/Stuk/jszip/issues/84
- travis 0.8 tests restored
- get_formulae ignores undefined values
- updated test_files to 20140206
2014-02-06 17:02:11 -05:00
972897c9ae version bump 0.5.1: field reorg
- cell.r holds the raw rich text, cell.h now holds the html
  (version 0.5.0 cell.raw -> cell.r, cell.r -> cell.h)
- similar changes to comments and XLSB generation
- removed some unused binary methods
2014-02-05 08:39:21 -05:00
242d5c655e xlsb browser fix 2014-02-04 11:10:42 -05:00
a96d8964e2 version bump 0.5.0: changes to cell interface
Cell object stores the formatted text in the `.w` field
- Raw format and types are preserved in the `.t`, `.v` fields
- Accessors have been updated to use the field

updates for older OOXML:
- ECMA-376 makes reference to old sstItem shared string item
- [MS-XLSX] xmlns for workbook
2014-02-03 19:00:44 -05:00
5c4bf62b83 version bump 0.4.3: shared strings and formatting
- XLSB basic support for number formats
- removed extraneous Strings table element
- formatting xml tags (rich_stress_test)
- updating test_files to 20130130
2014-01-31 06:52:18 -05:00
47dd984a6c version bump 0.4.2: using jszip module on node
- updated test_files
- new dependency in node: jszip
2014-01-29 22:06:14 -05:00
6990e66a56 version bump 0.4.1: more XLSB + cleanup
- updated ssf to 0.5.4
- cleaned up CSV string output
- added CSV tests (from test_files)
- passes lint
- inlineStr actually parses <is> block
- more XLSB bits
2014-01-29 01:00:09 -05:00
32d835ab81 version bump 0.4.0: very basic XLSB support
subfiles reshuffled (XLSB and XLSX/XLSM content separated)
2014-01-28 11:38:02 -05:00
844850abab version bump 0.3.10: xlsm support
different workbook content type, same representation
2014-01-25 17:28:27 -05:00
9c9aad5df3 version bump 0.3.9: general format used by default
(when no format or style is found, use general)

Other whitespace cleanup
2014-01-23 11:14:11 -05:00