///
RELS.XLMETA = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata";
/* 12.3.10 Metadata Part */
function parse_xlmeta_xml(data: string, name: string, opts?: ParseXLMetaOptions): XLMeta {
var out: XLMeta = { Types: [] };
if(!data) return out;
var pass = false;
data.replace(tagregex, (x: string, idx: number) => {
var y: any = parsexmltag(x);
switch(strip_ns(y[0])) {
case '': break;
/* 18.9.11 */
case '': break;
/* 18.9.10 */
case '': break;
/* 18.9.1 */
case '': break;
case '': break;
/* 18.9.15 */
case '': break;
/* 18.9.3 */
case '': break;
/* 18.9.17 */
case '': break;
/* 18.2.10 extLst CT_ExtensionList ? */
case '': case '': case '': break;
/* 18.2.7 ext CT_Extension + */
case '': pass=false; break;
default: if(!pass && opts.WTF) throw new Error('unrecognized ' + y[0] + ' in metadata');
}
return x;
});
return out;
}
/* TODO: coordinate with cell writing, pass flags */
function write_xlmeta_xml(): string {
var o = [XML_HEADER];
o.push(`\
`);
return o.join("");
}