version bump 0.3.10: xlsm support

different workbook content type, same representation
This commit is contained in:
SheetJS 2014-01-25 17:28:27 -05:00
parent 9c9aad5df3
commit 844850abab
7 changed files with 13 additions and 7 deletions

@ -1,8 +1,7 @@
# xlsx
Currently a parser for XLSX files. Cleanroom implementation from the ISO 29500 Office Open XML specifications.
This has been tested on some very basic XLSX files generated from Excel 2011.
Currently a parser for XLSX and XLSM files. Cleanroom implementation from the
ISO 29500 Office Open XML specifications.
If you need something that is not currently supported, file an issue and attach a sample file. I will get to it :)

@ -1 +1 @@
XLSX.version = '0.3.9';
XLSX.version = '0.3.10';

@ -1,6 +1,7 @@
var ct2type = {
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml": "workbooks",
"application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks", /*XLSM*/
"application/vnd.openxmlformats-package.core-properties+xml": "coreprops",
"application/vnd.openxmlformats-officedocument.extended-properties+xml": "extprops",
"application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml": "calcchains",

@ -24,7 +24,7 @@
<input type="radio" name="format" value="json"> JSON<br>
<input type="radio" name="format" value="form"> FORMULAE<br>
<div id="drop">Drop an XLSX file here to see sheet data.</div>
<div id="drop">Drop an XLSX or XLSM file here to see sheet data.</div>
<textarea id="b64data">... or paste a base64-encoding here</textarea>
<input type="button" id="dotext" value="Click here to process the base64 text" onclick="b64it();"/>
<pre id="out"></pre>

@ -1,6 +1,6 @@
{
"name": "xlsx",
"version": "0.3.9",
"version": "0.3.10",
"author": "sheetjs",
"description": "(one day) a full-featured XLSX parser and writer. For now, primitive parser",
"keywords": [ "xlsx", "office", "excel", "spreadsheet" ],

@ -204,3 +204,8 @@ spreadsheet-parsexlsx_bug-8.xlsx
xlrd_reveng1.xlsx
xlrd_text_bar.xlsx
חישוב_נקודות_זיכוי.xlsx
apachepoi_45431.xlsm
apachepoi_47026.xlsm
apachepoi_47089.xlsm
apachepoi_ExcelWithAttachments.xlsm
openpyxl_r_vba-test.xlsm

@ -419,7 +419,7 @@ SSF.load_table = function(tbl) { for(var i=0; i!=0x0188; ++i) if(tbl[i]) SSF.loa
make_ssf(SSF);
var XLSX = {};
(function(XLSX){
XLSX.version = '0.3.9';
XLSX.version = '0.3.10';
function parsexmltag(tag) {
var words = tag.split(/\s+/);
var z = {'0': words[0]};
@ -627,6 +627,7 @@ var parse_sst = (function(){
var ct2type = {
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml": "workbooks",
"application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks", /*XLSM*/
"application/vnd.openxmlformats-package.core-properties+xml": "coreprops",
"application/vnd.openxmlformats-officedocument.extended-properties+xml": "extprops",
"application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml": "calcchains",