Lines Matching refs:ct

1879 		if(ctime !== 0) o.ct = read_date(blob, blob.l-8);
1988 ct: now, mt: now,
3181 if(opts.ct) file.ct = opts.ct;
5316 var ct = new_ct();
5317 if(!data || !data.match) return ct;
5323 case '<Types': ct.xmlns = y['xmlns' + (y[0].match(/<(\w+):/)||["",""])[1] ]; break;
5326 if(ct[ct2type[y.ContentType]] !== undefined) ct[ct2type[y.ContentType]].push(y.PartName);
5330 if(ct.xmlns !== XMLNS.CT) throw new Error("Unknown Namespace: " + ct.xmlns);
5331 ct.calcchain = ct.calcchains.length > 0 ? ct.calcchains[0] : "";
5332 ct.sst = ct.strs.length > 0 ? ct.strs[0] : "";
5333 ct.style = ct.styles.length > 0 ? ct.styles[0] : "";
5334 ct.defaults = ctext;
5335 delete ct.calcchains;
5336 return ct;
5339 function write_ct(ct, opts, raw)/*:string*/ { argument
5373 if(ct[w] && ct[w].length > 0) {
5374 v = ct[w][0];
5384 (ct[w]||[]).forEach(function(v) {
5394 (ct[t]||[]).forEach(function(v) {
22859 var skip = false, ct = {}, textp = "";
22866 ct['table:number-columns-spanned'] = (marr[mi].e.c - marr[mi].s.c + 1);
22867 ct['table:number-rows-spanned'] = (marr[mi].e.r - marr[mi].s.r + 1);
22873 ct['table:formula'] = escapexml(csf_to_ods_formula(cell.f));
22877 ct['table:number-matrix-columns-spanned'] = (_Fref.e.c - _Fref.s.c + 1);
22878 ct['table:number-matrix-rows-spanned'] = (_Fref.e.r - _Fref.s.r + 1);
22886 ct['office:value-type'] = "boolean";
22887 ct['office:boolean-value'] = (cell.v ? 'true' : 'false');
22891 ct['office:value-type'] = "float";
22892 ct['office:value'] = (cell.v||0);
22896 ct['office:value-type'] = "string";
22900 ct['office:value-type'] = "date";
22901 ct['office:date-value'] = (parseDate(cell.v).toISOString());
22902 ct['table:style-name'] = "ce1";
22915 if(nfs[cell.z]) ct["table:style-name"] = "ce" + nfs[cell.z].slice(1);
22916 … o.push(' ' + writextag('table:table-cell', writextag('text:p', text_p, {}), ct) + '\n');
25387 var ct = new_ct();
25399 ct.coreprops.push(f);
25414 ct.extprops.push(f);
25420 ct.custprops.push(f);
25434 ct.sheets.push(f);
25445 ct.comments.push(cf);
25462 ct.strs.push(f);
25468 ct.workbooks.push(f);
25476 ct.themes.push(f);
25483 ct.styles.push(f);
25489 ct.vba.push(f);
25495 ct.metadata.push(f);
25498 zip_add_file(zip, "[Content_Types].xml", write_ct(ct, opts));
25522 var ct = new_ct();
25534 ct.coreprops.push(f);
25549 ct.extprops.push(f);
25555 ct.custprops.push(f);
25572 ct.sheets.push(f);
25588 ct.threadedcomments.push(cf);
25594 ct.comments.push(cf);
25611 ct.strs.push(f);
25617 ct.workbooks.push(f);
25624 ct.themes.push(f);
25631 ct.styles.push(f);
25637 ct.vba.push(f);
25643 ct.metadata.push(f);
25649 ct.people.push(f);
25653 zip_add_file(zip, "[Content_Types].xml", write_ct(ct, opts));