forked from protobi/js-xlsx
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- phased out Array map invocations (fixes SheetJS#620 h/t @dullin) - "array" type supports Uint8Array - Headless browser examples - blank cells are omitted or stubbed (fixes SheetJS#779 h/t @Domxa) - removed transferrables from demo
- Loading branch information
1 parent
761afc3
commit ebeec97
Showing
67 changed files
with
1,460 additions
and
1,641 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
XLSX.version = '0.11.2'; | ||
XLSX.version = '0.11.3'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* 18.14 Supplementary Workbook Data */ | ||
function parse_xlink_xml(data, name/*:string*/, _opts) { | ||
var opts = _opts || {}; | ||
//if(opts.WTF) throw "XLSX External Link"; | ||
} | ||
|
||
/* [MS-XLSB] 2.1.7.25 External Link */ | ||
function parse_xlink_bin(data, name/*:string*/, _opts) { | ||
if(!data) return data; | ||
var opts = _opts || {}; | ||
|
||
var pass = false, end = false; | ||
|
||
recordhopper(data, function xlink_parse(val, R_n, RT) { | ||
if(end) return; | ||
switch(RT) { | ||
case 0x0167: /* 'BrtSupTabs' */ | ||
case 0x016B: /* 'BrtExternTableStart' */ | ||
case 0x016C: /* 'BrtExternTableEnd' */ | ||
case 0x016E: /* 'BrtExternRowHdr' */ | ||
case 0x016F: /* 'BrtExternCellBlank' */ | ||
case 0x0170: /* 'BrtExternCellReal' */ | ||
case 0x0171: /* 'BrtExternCellBool' */ | ||
case 0x0172: /* 'BrtExternCellError' */ | ||
case 0x0173: /* 'BrtExternCellString' */ | ||
case 0x01D8: /* 'BrtExternValueMeta' */ | ||
case 0x0241: /* 'BrtSupNameStart' */ | ||
case 0x0242: /* 'BrtSupNameValueStart' */ | ||
case 0x0243: /* 'BrtSupNameValueEnd' */ | ||
case 0x0244: /* 'BrtSupNameNum' */ | ||
case 0x0245: /* 'BrtSupNameErr' */ | ||
case 0x0246: /* 'BrtSupNameSt' */ | ||
case 0x0247: /* 'BrtSupNameNil' */ | ||
case 0x0248: /* 'BrtSupNameBool' */ | ||
case 0x0249: /* 'BrtSupNameFmla' */ | ||
case 0x024A: /* 'BrtSupNameBits' */ | ||
case 0x024B: /* 'BrtSupNameEnd' */ | ||
break; | ||
|
||
case 0x0023: /* 'BrtFRTBegin' */ | ||
pass = true; break; | ||
case 0x0024: /* 'BrtFRTEnd' */ | ||
pass = false; break; | ||
|
||
default: | ||
if((R_n||"").indexOf("Begin") > 0){/* empty */} | ||
else if((R_n||"").indexOf("End") > 0){/* empty */} | ||
else if(!pass || opts.WTF) throw new Error("Unexpected record " + RT.toString(16) + " " + R_n); | ||
} | ||
}, opts); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.