forked from sheetjs/sheetjs
SheetJS
27af8a6d6a
- read and readFile accept opts argument: o cellNF (default false) true -> cell.z holds number format string o sheetStubs (default true) false -> stub cells not emitted - name consistency (parse_workbook -> parse_wb_xml) - README updates - CONTRIBUTING notes added
12 lines
389 B
JavaScript
12 lines
389 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) {
|
|
return name.substr(-4)===".bin" ? parse_ws_bin(data, opts) : parse_ws_xml(data, opts);
|
|
}
|
|
|
|
function parse_sty(data, name, opts) {
|
|
return name.substr(-4)===".bin" ? parse_sty_bin(data, opts) : parse_sty_xml(data, opts);
|
|
}
|