Commit Graph

144 Commits

Author SHA1 Message Date
Pieter Sheth-Voss
57b6fd4662 Pull changes to persist styles with blank cells; increment versions for bower and npm; run cp node_modules/codepage/dist/cpexcel.full.js dist/cpexcel.js
cp jszip.js dist/jszip.js
cp ods.js dist/ods.js
cp xlsx.js dist/
cp LICENSE dist/
uglifyjs xlsx.js -o dist/xlsx.min.js --source-map dist/xlsx.min.map --preamble "$(head -n 1 bits/00_header.js)"
misc/strip_sourcemap.sh dist/xlsx.min.js
uglifyjs jszip.js xlsx.js -o dist/xlsx.core.min.js --source-map dist/xlsx.core.min.map --preamble "$(head -n 1 bits/00_header.js)"
misc/strip_sourcemap.sh dist/xlsx.core.min.js
uglifyjs jszip.js dist/cpexcel.js xlsx.js -o dist/xlsx.full.min.js --source-map dist/xlsx.full.min.map --preamble "$(head -n 1 bits/00_header.js)"
misc/strip_sourcemap.sh dist/xlsx.full.min.js
2015-08-11 17:40:53 -04:00
Pieter Sheth-Voss
dcf6f17455 Retain styles for blank cells 2015-08-11 17:20:09 -04:00
Pieter Sheth-Voss
4099a24cfa Default gray125 style per pull request #3 2015-06-04 12:05:26 -04:00
Pieter Sheth-Voss
ed0cd9b2c1 Add alignment; update README 2015-05-21 15:52:24 -04:00
Pieter Sheth-Voss
858abf1103 Remove requirement that require, module or jquery be defined before using StyleBuilder 2015-05-12 09:01:24 -04:00
Pieter Sheth-Voss
5dbf215c9c Correct hex2RGB coding, apply tints 2015-04-17 13:15:13 -04:00
Pieter Sheth-Voss
89066b45b6 Save fill color to .rgb but not tint 2015-04-17 11:18:51 -04:00
Pieter Sheth-Voss
51b7cabd2c Parse raw_rgb 2015-04-17 10:21:48 -04:00
Pieter Sheth-Voss
0b1a0408cb Merge changes from upsteam 2015-04-15 16:40:26 -04:00
Pieter Sheth-Voss
5f9576a6d2 Read borders and alignments 2015-04-15 15:07:45 -04:00
0d38d4c0a0 version bump 0.8.0: unification with js-xls 0.7.5 2015-04-02 16:32:22 -04:00
Pieter Sheth-Voss
9102c8214d Added round-trip test for styles 2015-03-29 15:21:11 -04:00
Pieter Sheth-Voss
995f5e89bf Parse font bold-italic-strike-outline-shadow-superscript-subscript 2015-03-28 13:05:53 -04:00
Pieter Sheth-Voss
37a031caee Parse font bold-italic-strike-outline-shadow-superscript-subscript 2015-03-28 13:04:20 -04:00
Pieter Sheth-Voss
27a300b862 Read styles - font, fill and numFmt 2015-03-28 12:32:46 -04:00
Pieter Sheth-Voss
4f4f7fc6bc Fix issue exporting font color 2015-03-19 22:49:24 -04:00
Pieter Sheth-Voss
aa8f3a759f Add support for textRotation 2015-03-12 09:52:30 -04:00
Pieter Sheth-Voss
5e443310f8 Remove stray console.log() calls 2015-03-07 00:02:18 -05:00
Pieter Sheth-Voss
91ec052ae6 Added support for borders 2015-03-06 23:55:50 -05:00
Pieter Sheth-Voss
1f02e5bea2 Handle embedded quotes in number formats 2015-03-05 12:18:36 -05:00
Pieter Sheth-Voss
05b58d839a Escape embedded quotes 2015-03-03 14:27:28 -05:00
Pieter Sheth-Voss
576b59f96a Fix issue with custom formats 2015-03-02 00:28:11 -05:00
Pieter Sheth-Voss
cd2b20f7e5 Remove stray logs 2015-03-01 23:27:00 -05:00
Pieter Sheth-Voss
5f7a0f2ad2 Removed dependence on cheerio, jquery; added xmlbuilder; 2015-03-01 23:18:10 -05:00
Pieter Sheth-Voss
a562150b96 Use jQuery parseXML to preserve case in XML 2015-03-01 00:39:47 -05:00
Pieter Sheth-Voss
845d2a8880 Added support for alignment 2015-02-28 11:55:15 -05:00
Pieter Sheth-Voss
0227496616 Add ability to save cell styles to .xlsx 2015-02-28 01:42:41 -05:00
harbhub
61b17e6d9d handle internal links (fixes #145) 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 #82)
- XLSX treat empty <v/> tags as empty cells (h/t @clarlars)
- XLSX write !merges array (fixes #92)
2014-08-26 13:40:04 -04:00
127a430e79 version bump 0.7.9: updating jszip to 2.4.0
Fixes #98
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 #80, 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 #42) 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