2014-10-10 02:22:38 +00:00
|
|
|
/* Helper function to call out to ODS parser */
|
|
|
|
function parse_ods(zip, opts) {
|
2014-10-26 05:26:18 +00:00
|
|
|
if(typeof module !== "undefined" && typeof require !== 'undefined' && typeof ODS === 'undefined') ODS = require('./od' + 's');
|
2014-10-10 02:22:38 +00:00
|
|
|
if(typeof ODS === 'undefined' || !ODS.parse_ods) throw new Error("Unsupported ODS");
|
|
|
|
return ODS.parse_ods(zip, opts);
|
|
|
|
}
|