You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cell range can also have the eproperty 'editAs' which will control how the image is anchored to the cell(s)
1784
+
The cell range can also have the property 'editAs' which will control how the image is anchored to the cell(s)
1785
1785
It can have one of the following values:
1786
1786
1787
1787
| Value | Description |
@@ -2093,7 +2093,7 @@ The constructor takes an optional options object with the following fields:
2093
2093
| filename | If stream not specified, this field specifies the path to a file to write the XLSX workbook to. |
2094
2094
| useSharedStrings | Specifies whether to use shared strings in the workbook. Default is false |
2095
2095
| useStyles | Specifies whether to add style information to the workbook. Styles can add some performance overhead. Default is false |
2096
-
| zip |[Zip optons](https://www.archiverjs.com/global.html#ZipOptions) that ExcelJS internally passes to [Archiver](https://github.com/archiverjs/node-archiver). Default is undefined |
2096
+
| zip |[Zip options](https://www.archiverjs.com/global.html#ZipOptions) that ExcelJS internally passes to [Archiver](https://github.com/archiverjs/node-archiver). Default is undefined |
2097
2097
2098
2098
If neither stream nor filename is specified in the options, the workbook writer will create a StreamBuf object
2099
2099
that will store the contents of the XLSX workbook in memory.
@@ -2441,7 +2441,7 @@ Every effort is made to make a good consistent interface that doesn't break thro
2441
2441
2442
2442
### Worksheet.eachRow
2443
2443
2444
-
The arguments in the callback function to Worksheet.eachRow have been swapped and changed; it was function(rowNumber,rowValues), now it is function(row, rowNumber) which gives it a look and feel more like the underscore (_.each) function and prioritises the row object over the row number.
2444
+
The arguments in the callback function to Worksheet.eachRow have been swapped and changed; it was function(rowNumber,rowValues), now it is function(row, rowNumber) which gives it a look and feel more like the underscore (_.each) function and priorities the row object over the row number.
2445
2445
2446
2446
### Worksheet.getRow
2447
2447
@@ -2462,7 +2462,7 @@ Promises returned from functions switched from Bluebird to native node Promise w
2462
2462
2463
2463
To mitigate this the following two changes were added to 0.3.0:
2464
2464
2465
-
* A more fully featured and still browser compatable promise lib is used by default. This lib supports many of the features of Bluebird but with a much lower footprint.
2465
+
* A more fully featured and still browser compatible promise lib is used by default. This lib supports many of the features of Bluebird but with a much lower footprint.
2466
2466
* An option to inject a different Promise implementation. See <ahref="#config">Config</a> section for more details.
2467
2467
2468
2468
# Config
@@ -2516,15 +2516,15 @@ If any splice operation affects a merged cell, the merge group will not be moved
2516
2516
| 0.1.2 | <ul><li>Fixed potential race condition on zip write</li></ul> |
| 0.1.5 | <ul><li>Bug Fixes<ul><li>Now handles 10 or more worksheets in one workbook</li><li>theme1.xml file properly added and referenced</li></ul></li><li><ahref="#borders">Cell Borders</a></li></ul> |
2519
-
| 0.1.6 | <ul><li>Bug Fixes<ul><li>More compatable theme1.xml included in XLSX file</li></ul></li><li><ahref="#fills">Cell Fills</a></li></ul> |
2520
-
| 0.1.8 | <ul><li>Bug Fixes<ul><li>More compatable theme1.xml included in XLSX file</li><li>Fixed filename case issue</li></ul></li><li><ahref="#fills">Cell Fills</a></li></ul> |
2519
+
| 0.1.6 | <ul><li>Bug Fixes<ul><li>More compatible theme1.xml included in XLSX file</li></ul></li><li><ahref="#fills">Cell Fills</a></li></ul> |
2520
+
| 0.1.8 | <ul><li>Bug Fixes<ul><li>More compatible theme1.xml included in XLSX file</li><li>Fixed filename case issue</li></ul></li><li><ahref="#fills">Cell Fills</a></li></ul> |
2521
2521
| 0.1.9 | <ul><li>Bug Fixes<ul><li>Added docProps files to satisfy Mac Excel users</li><li>Fixed filename case issue</li><li>Fixed worksheet id issue</li></ul></li><li><ahref="#set-workbook-properties">Core Workbook Properties</a></li></ul> |
2522
2522
| 0.1.10 | <ul><li>Bug Fixes<ul><li>Handles File Not Found error</li></ul></li><li><ahref="#csv">CSV Files</a></li></ul> |
2523
2523
| 0.1.11 | <ul><li>Bug Fixes<ul><li>Fixed Vertical Middle Alignment Issue</li></ul></li><li><ahref="#styles">Row and Column Styles</a></li><li><ahref="#rows">Worksheet.eachRow supports options</a></li><li><ahref="#rows">Row.eachCell supports options</a></li><li><ahref="#columns">New function Column.eachCell</a></li></ul> |
2524
2524
| 0.2.0 | <ul><li><ahref="#streaming-xlxs-writer">Streaming XLSX Writer</a><ul><li>At long last ExcelJS can support writing massive XLSX files in a scalable memory efficient manner. Performance has been optimised and even smaller spreadsheets can be faster to write than the document writer. Options have been added to control the use of shared strings and styles as these can both have a considerable effect on performance</li></ul></li><li><ahref="#rows">Worksheet.lastRow</a><ul><li>Access the last editable row in a worksheet.</li></ul></li><li><ahref="#rows">Row.commit()</a><ul><li>For streaming writers, this method commits the row (and any previous rows) to the stream. Committed rows will no longer be editable (and are typically deleted from the worksheet object). For Document type workbooks, this method has no effect.</li></ul></li></ul> |
2525
2525
| 0.2.2 | <ul><li><ahref="https://pbs.twimg.com/profile_images/2933552754/fc8c70829ee964c5542ae16453503d37.jpeg">One Billion Cells</a><ul><li>Achievement Unlocked: A simple test using ExcelJS has created a spreadsheet with 1,000,000,000 cells. Made using random data with 100,000,000 rows of 10 cells per row. I cannot validate the file yet as Excel will not open it and I have yet to implement the streaming reader but I have every confidence that it is good since 1,000,000 rows loads ok.</li></ul></li></ul> |
2526
2526
| 0.2.3 | <ul><li>Bug Fixes<ul><li><a href="https://github.com/exceljs/exceljs/issues/18">Merge Cell Styles</a><ul><li>Merged cells now persist (and parse) their styles.</li></ul></li></ul></li><li><a href="#streaming-xlxs-writer">Streaming XLSX Writer</a><ul><li>At long last ExcelJS can support writing massive XLSX files in a scalable memory efficient manner. Performance has been optimised and even smaller spreadsheets can be faster to write than the document writer. Options have been added to control the use of shared strings and styles as these can both have a considerable effect on performance</li></ul></li><li><a href="#rows">Worksheet.lastRow</a><ul><li>Access the last editable row in a worksheet.</li></ul></li><li><a href="#rows">Row.commit()</a><ul><li>For streaming writers, this method commits the row (and any previous rows) to the stream. Committed rows will no longer be editable (and are typically deleted from the worksheet object). For Document type workbooks, this method has no effect.</li></ul></li></ul> |
2527
-
| 0.2.4 | <ul><li>Bug Fixes<ul><li><ahref="https://github.com/exceljs/exceljs/issues/27">Worksheets with Ampersand Names</a><ul><li>Worksheet names are now xml-encoded and should work with all xml compatable characters</li></ul></li></ul></li><li><ahref="#rows">Row.hidden</a> & <ahref="#columns">Column.hidden</a><ul><li>Rows and Columns now support the hidden attribute.</li></ul></li><li><ahref="#worksheet">Worksheet.addRows</a><ul><li>New function to add an array of rows (either array or object form) to the end of a worksheet.</li></ul></li></ul> |
2527
+
| 0.2.4 | <ul><li>Bug Fixes<ul><li><ahref="https://github.com/exceljs/exceljs/issues/27">Worksheets with Ampersand Names</a><ul><li>Worksheet names are now xml-encoded and should work with all xml compatible characters</li></ul></li></ul></li><li><ahref="#rows">Row.hidden</a> & <ahref="#columns">Column.hidden</a><ul><li>Rows and Columns now support the hidden attribute.</li></ul></li><li><ahref="#worksheet">Worksheet.addRows</a><ul><li>New function to add an array of rows (either array or object form) to the end of a worksheet.</li></ul></li></ul> |
2528
2528
| 0.2.6 | <ul><li>Bug Fixes<ul><li><ahref="https://github.com/exceljs/exceljs/issues/87">invalid signature: 0x80014</a>: Thanks to <ahref="https://github.com/hasanlussa">hasanlussa</a> for the PR</li></ul></li><li><ahref="#defined-names">Defined Names</a><ul><li>Cells can now have assigned names which may then be used in formulas.</li></ul></li><li>Converted Bluebird.defer() to new Bluebird(function(resolve, reject){}). Thanks to user <ahref="https://github.com/Nishchit14">Nishchit</a> for the Pull Request</li></ul> |
2529
2529
| 0.2.7 | <ul><li><ahref="#data-validations">Data Validations</a><ul><li>Cells can now define validations that controls the valid values the cell can have</li></ul></li></ul> |
2530
2530
| 0.2.8 | <ul><li><ahref="rich-text">Rich Text Value</a><ul><li>Cells now support <b><i>in-cell</i></b> formatting - Thanks to <ahref="https://github.com/pvadam">Peter ADAM</a></li></ul></li><li>Fixed typo in README - Thanks to <ahref="https://github.com/MRdNk">MRdNk</a></li><li>Fixing emit in worksheet-reader - Thanks to <ahref="https://github.com/alangunning">Alan Gunning</a></li><li>Clearer Docs - Thanks to <ahref="https://github.com/miensol">miensol</a></li></ul> |
@@ -2544,7 +2544,7 @@ If any splice operation affects a merged cell, the merge group will not be moved
2544
2544
| 0.2.22 | <ul><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/136">Throw legible error when failing Value.getType() #136</a>. Thanks to <ahref="https://github.com/wulfsolter">wulfsolter</a> for the contribution.</li><li>Honourable mention to contributors whose PRs were fixed before I saw them:<ul><li><ahref="https://github.com/haoliangyu">haoliangyu</a></li><li><ahref="https://github.com/wulfsolter">wulfsolter</a></li></ul></li></ul> |
2545
2545
| 0.2.23 | <ul><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/137">Fall back to JSON.stringify() if unknown Cell.Type #137</a> with some modification. If a cell value is assigned to an unrecognisable javascript object, the stored value in xlsx and csv files will be JSON stringified. Note that if the file is read again, no attempt will be made to parse the stringified JSON text. Thanks to <ahref="https://github.com/wulfsolter">wulfsolter</a> for the contribution.</li></ul> |
2546
2546
| 0.2.24 | <ul><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/166">Protect cell fix #166</a>. This does not mean full support for protected cells merely that the parser is not confused by the extra xml. Thanks to <ahref="https://github.com/jayflo">jayflo</a> for the contribution.</li></ul> |
2547
-
| 0.2.25 | <ul><li>Added functions to delete cells, rows and columns from a worksheet. Modelled after the Array splice method, the functions allow cells, rows and columns to be deleted (and optionally inserted). See <ahref="#columns">Columns</a> and <ahref="#rows">Rows</a> for details.<br />Note: <ahref="#splice-vs-merge">Not compatable with cell merges</a></li></ul> |
2547
+
| 0.2.25 | <ul><li>Added functions to delete cells, rows and columns from a worksheet. Modelled after the Array splice method, the functions allow cells, rows and columns to be deleted (and optionally inserted). See <ahref="#columns">Columns</a> and <ahref="#rows">Rows</a> for details.<br />Note: <ahref="#splice-vs-merge">Not compatible with cell merges</a></li></ul> |
2548
2548
| 0.2.26 | <ul><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/184">Update border-xform.js #184</a>Border edges without style will be parsed and rendered as no-border. Thanks to <ahref="https://github.com/skumarnk2">skumarnk2</a> for the contribution.</li></ul> |
2549
2549
| 0.2.27 | <ul><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/187">Pass views to worksheet-writer #187</a>. Now also passes views to worksheet-writer. Thanks to <ahref="https://github.com/Temetz">Temetz</a> for the contribution.</li><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/189">Do not escape xml characters when using shared strings #189</a>. Fixing bug in shared strings. Thanks to <ahref="https://github.com/tkirda">tkirda</a> for the contribution.</li></ul> |
2550
2550
| 0.2.28 | <ul><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/190">Fix tiny bug [Update hyperlink-map.js]#190</a>Thanks to <ahref="https://github.com/lszlkss">lszlkss</a> for the contribution.</li><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/196">fix typo on sheet view showGridLines option #196</a> "showGridlines" should have been "showGridLines". Thanks to <ahref="https://github.com/gadiaz1">gadiaz1</a> for the contribution.</li></ul> |
@@ -2559,7 +2559,7 @@ If any splice operation affects a merged cell, the merge group will not be moved
2559
2559
| 0.2.37 | <ul><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/225">Fix output order of Sheet Properties #225</a>. Thanks to <ahref="https://github.com/keeneym">keeneym</a> for the contribution.</li><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/231">remove empty worksheet[0] from _worksheets #231</a>. Thanks to <ahref="https://github.com/pookong">pookong</a> for the contribution.</li><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/232">do not skip empty string in shared strings so that indexes match #232</a>. Thanks again to <ahref="https://github.com/pookong">pookong</a> for the contribution.</li><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/233">use shared strings for streamed writes #233</a>. Thanks again to <ahref="https://github.com/pookong">pookong</a> for the contribution.</li></ul> |
2560
2560
| 0.2.38 | <ul><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/236">Add a comment for issue #216#236</a>. Thanks to <ahref="https://github.com/jsalwen">jsalwen</a> for the contribution.</li><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/237">Start on support for 1904 based dates #237</a>. Fixed date handling in documents with the 1904 flag set. Thanks to <ahref="https://github.com/holm">holm</a> for the contribution.</li></ul> |
2561
2561
| 0.2.39 | <ul><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/245">Stops Bluebird warning about unreturned promise #245</a>. Thanks to <ahref="https://github.com/robinbullocks4rb">robinbullocks4rb</a> for the contribution. </li> <li> Merged <ahref="https://github.com/exceljs/exceljs/pull/247">Added missing dependency: col-cache.js #247</a>. Thanks to <ahref="https://github.com/Manish2005">Manish2005</a> for the contribution. </li> </ul> |
2562
-
| 0.2.42 | <ul><li>Browser Compatable!<ul><li>Well mostly. I have added a browser sub-folder that contains a browserified bundle and an index.js that can be used to generate another. See <ahref="#browser">Browser</a> section for details.</li></ul></li><li>Fixed corrupted theme.xml. Apologies for letting that through.</li><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/253">[BUGFIX] data validation formulae undefined #253</a>. Thanks to <ahref="https://github.com/jayflo">jayflo</a> for the contribution.</li></ul> |
2562
+
| 0.2.42 | <ul><li>Browser Compatible!<ul><li>Well mostly. I have added a browser sub-folder that contains a browserified bundle and an index.js that can be used to generate another. See <ahref="#browser">Browser</a> section for details.</li></ul></li><li>Fixed corrupted theme.xml. Apologies for letting that through.</li><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/253">[BUGFIX] data validation formulae undefined #253</a>. Thanks to <ahref="https://github.com/jayflo">jayflo</a> for the contribution.</li></ul> |
2563
2563
| 0.2.43 | <ul><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/255">added a (maybe partial) solution to issue 99. i wasn't able to create an appropriate test #255</a>. This fixes <ahref="https://github.com/exceljs/exceljs/issues/99">Too few data or empty worksheet generate malformed excel file #99</a>. Thanks to <ahref="https://github.com/mminuti">mminuti</a> for the contribution.</li></ul> |
2564
2564
| 0.2.44 | <ul><li>Reduced Dependencies.<ul><li>Goodbye lodash, goodbye bluebird. Minified bundle is now just over half what it was in the first version.</li></ul></li></ul> |
2565
2565
| 0.2.45 | <ul><li>Merged <ahref="https://github.com/exceljs/exceljs/pull/256">Sheets with hyperlinks and data validations are corrupted #256</a>. Thanks to <ahref="https://github.com/simon-stoic">simon-stoic</a> for the contribution.</li></ul> |
0 commit comments