forked from sheetjs/sheetjs
SheetJS
dc2d391fbc
- 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 #55) - coverage test spinner (to prevent travis timeouts)
24 lines
811 B
JavaScript
24 lines
811 B
JavaScript
function parse_wb(data, name, opts) {
|
|
return name.substr(-4)===".bin" ? parse_wb_bin(data, opts) : parse_wb_xml(data, opts);
|
|
}
|
|
|
|
function parse_ws(data, name, opts, rels) {
|
|
return name.substr(-4)===".bin" ? parse_ws_bin(data, opts, rels) : parse_ws_xml(data, opts, rels);
|
|
}
|
|
|
|
function parse_sty(data, name, opts) {
|
|
return name.substr(-4)===".bin" ? parse_sty_bin(data, opts) : parse_sty_xml(data, opts);
|
|
}
|
|
|
|
function parse_sst(data, name, opts) {
|
|
return name.substr(-4)===".bin" ? parse_sst_bin(data, opts) : parse_sst_xml(data, opts);
|
|
}
|
|
|
|
function parse_cmnt(data, name, opts) {
|
|
return name.substr(-4)===".bin" ? parse_comments_bin(data, opts) : parse_comments_xml(data, opts);
|
|
}
|
|
|
|
function parse_cc(data, name, opts) {
|
|
return name.substr(-4)===".bin" ? parse_cc_bin(data, opts) : parse_cc_xml(data, opts);
|
|
}
|