/* global OpenDocument */ var Html2Ods = function (output, table, options) { //compile target switch(output) { case "blob": return OpenDocument.OdsConverter.convertToBlob(table, options); case "xml": return OpenDocument.OdsConverter.convertToXml(table, options); default: return null; } }; Html2Ods.blob = function (table, options) { return Html2Ods("blob", table, options); }; Html2Ods.xml = function (table, options) { return Html2Ods("xml", table, options); };