Lines Matching refs:cp

14 var set_cp = function(cp) { current_codepage = cp; };  argument
21 set_cp = function(cp) { current_codepage = cp; current_cptable = cptable[cp]; };
2603 function write_core_props(cp, opts) { argument
2605 if(!cp) return o.join("");
2608 …if(cp.CreatedDate != null) cp_doit("dcterms:created", typeof cp.CreatedDate === "string" ? cp.Crea…
2609 …if(cp.ModifiedDate != null) cp_doit("dcterms:modified", typeof cp.ModifiedDate === "string" ? cp.M…
2611 …for(var i = 0; i != CORE_PROPS.length; ++i) { var f = CORE_PROPS[i]; cp_doit(f[0], cp[f[1]], null,…
2668 function write_ext_props(cp, opts) { argument
2670 if(!cp) cp = {};
2671 cp.Application = "SheetJS";
2676 if(cp[f[1]] === undefined) return;
2679 case 'string': v = cp[f[1]]; break;
2680 case 'bool': v = cp[f[1]] ? 'true' : 'false'; break;
2686 …ant', '<vt:lpstr>Worksheets</vt:lpstr>')+W('vt:variant', W('vt:i4', String(cp.Worksheets))), {size…
2687 …tlesOfParts', W('vt:vector', cp.SheetNames.map(function(s) { return "<vt:lpstr>" + s + "</vt:lpstr…
2747 function write_cust_props(cp, opts) { argument
2749 if(!cp) return o.join("");
2751 keys(cp).forEach(function custprop(k) { ++pid;
2752 o[o.length] = (writextag('property', write_vt(cp[k]), {
3076 var cp = current_codepage;
3083 current_codepage = cp;
3089 var cp = current_codepage;
3104 current_codepage = cp;
8523 function xlml_set_custprop(Custprops, Rn, cp, val) { argument
8524 switch((cp[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]) {
8530 default: throw "bad custprop:" + cp[0];
8632 var Props = {}, Custprops = {}, pidx = 0, cp = {}; variable
9152 … else if(Rn[1]==="/") xlml_set_custprop(Custprops, Rn, cp, str.slice(pidx, Rn.index));
9153 else { cp = Rn; pidx = Rn.index + Rn[0].length; }