Lines Matching refs:y

465 	var out={D:date, T:time, u:86400*(v-date)-time,y:0,m:0,d:0,H:0,M:0,S:0,q:0};  property in SSF_parse_date_code.out
484 out.y = dout[0]; out.m = dout[1]; out.d = dout[2];
563 /* TODO: properly adjust y/m/d and */
571 var o="", ss=0, tt=0, y = val.y, out, outl = 0;
574 y = val.y + 543;
576 case 121: /* 'y' year */
578 case 1: case 2: out = y % 100; outl = 2; break;
579 default: out = y % 10000; outl = 4; break;
629 out = y; outl = 1; break;
958 case 'm': case 'd': case 'y': case 'h': case 's': case 'e': case 'g': return true;
1012 case 'm': case 'd': case 'y': case 'h': case 's': case 'e': case 'g':
1076 case 'd': case 'y': case 'M': case 'e': lst=out[i].t; break;
1108 …case 'd': case 'm': case 'y': case 'h': case 'H': case 'M': case 's': case 'e': case 'b': case 'Z':
1339 case 'y': Y = v; break; case 'd': d = v; break;
2000 data.sort(function(x,y) { return namecmp(x[0], y[0]); });
2194 …var UCPaths/*:Array<string>*/ = UCFullPaths.map(function(x) { var y = x.split("/"); return y[y.len…
3487 var y = o.getYear(), m = o.getMonth(), d = o.getDate(); variable
3493 if(y < 0 || y > 8099 || s.match(/[^-0-9:,\/\\]/)) return n;
3676 …return s.replace(decregex, function(y) { return rencoding[y]; }).replace(charegex,function(s) { re… argument
3683 …return s.replace(decregex, function(y) { return rencoding[y]; }).replace(/\n/g, "<br/>").replace(h… argument
3688 …return s.replace(decregex, function(y) { return rencoding[y]; }).replace(htmlcharegex,function(s) … argument
5320 var y = parsexmltag(x);
5321 switch(y[0].replace(nsregex,"<")) {
5323 case '<Types': ct.xmlns = y['xmlns' + (y[0].match(/<(\w+):/)||["",""])[1] ]; break;
5324 case '<Default': ctext[y.Extension.toLowerCase()] = y.ContentType; break;
5326 if(ct[ct2type[y.ContentType]] !== undefined) ct[ct2type[y.ContentType]].push(y.PartName);
5468 var y = parsexmltag(x);
5470 if (y[0] === '<Relationship') {
5471 …var rel = {}; rel.Type = y.Type; rel.Target = y.Target; rel.Id = y.Id; if(y.TargetMode) rel.Target…
5472 …var canonictarget = y.TargetMode === 'External' ? y.Target : resolve_path(y.Target, currentFilePat…
5474 hash[y.Id] = rel;
5772 var x = m[i], y = parsexmltag(x);
5773 switch(strip_ns(y[0])) {
5776 case '<property': name = unescapexml(y.name); break;
6094 Props.sort(function(x,y) { return x[1] - y[1]; }); argument
6272 for(var y in PSet0) rval[y] = PSet0[y];
6281 for(y in PSet1) rval[y] = PSet1[y];
8041 /*::[*/7/*::]*/:183, Q:185, k:186, b:208, i:216, l:222, s:240, y:248, property in SYLK.sylk_escapes
9777 var y = parsexmltag(m[i]);
9778 switch(y[0].replace(/\w*:/g,"")) {
9788 if(!y.val) break;
9796 if(y.val == '1') break;
9797 font.cp = CS2CP[parseInt(y.val, 10)];
9802 if(!y.val) break;
9809 case '<rFont': font.name = y.val; break;
9812 case '<sz': font.sz = y.val; break;
9816 if(!y.val) break;
9824 if(!y.val) break;
9825 switch(y.val) {
9837 if(y.val == '0') break;
9845 if(y.val == '0') break;
9853 if(y.rgb) font.color = y.rgb.slice(2,8);
9858 case '<family': font.family = y.val; break;
9862 case '<vertAlign': font.valign = y.val; break;
9874 if(y[0].charCodeAt(1) !== 47 && !pass) throw new Error('Unrecognized rich format ' + y[0]);
9948 //var y;
9957 else if((/*y = */x.match(sirregex))) {
10210 var y/*:any*/ = parsexmltag(x);
10211 switch(strip_ns(y[0])) {
10214 case '<keyData': KeyData.forEach(function(k) { o[k] = y[k]; }); break;
10215 …case '<dataIntegrity': o.encryptedHmacKey = y.encryptedHmacKey; o.encryptedHmacValue = y.encrypted…
10219 case '<keyEncryptor': o.uri = y.uri; break;
10221 case '<encryptedKey': o.encs.push(y); break;
10222 default: throw y[0];
10598 var y = parsexmltag(x);
10599 switch(strip_ns(y[0])) {
10605 if(y.diagonalUp) border.diagonalUp = parsexmlbool(y.diagonalUp);
10606 if(y.diagonalDown) border.diagonalDown = parsexmlbool(y.diagonalDown);
10661 if(!pass) throw new Error('unrecognized ' + y[0] + ' in borders');
10673 var y = parsexmltag(x);
10674 switch(strip_ns(y[0])) {
10689 if(y.patternType) fill.patternType = y.patternType;
10696 if(y.indexed) fill.bgColor.indexed = parseInt(y.indexed, 10);
10697 if(y.theme) fill.bgColor.theme = parseInt(y.theme, 10);
10698 if(y.tint) fill.bgColor.tint = parseFloat(y.tint);
10700 if(y.rgb) fill.bgColor.rgb = y.rgb.slice(-6);
10707 if(y.theme) fill.fgColor.theme = parseInt(y.theme, 10);
10708 if(y.tint) fill.fgColor.tint = parseFloat(y.tint);
10710 if(y.rgb != null) fill.fgColor.rgb = y.rgb.slice(-6);
10727 if(!pass) throw new Error('unrecognized ' + y[0] + ' in fills');
10739 var y = parsexmltag(x);
10740 switch(strip_ns(y[0])) {
10751 case '<name': if(y.val) font.name = utf8read(y.val); break;
10755 case '<b': font.bold = y.val ? parsexmlbool(y.val) : 1; break;
10759 case '<i': font.italic = y.val ? parsexmlbool(y.val) : 1; break;
10764 switch(y.val) {
10774 case '<strike': font.strike = y.val ? parsexmlbool(y.val) : 1; break;
10778 case '<outline': font.outline = y.val ? parsexmlbool(y.val) : 1; break;
10782 case '<shadow': font.shadow = y.val ? parsexmlbool(y.val) : 1; break;
10786 case '<condense': font.condense = y.val ? parsexmlbool(y.val) : 1; break;
10790 case '<extend': font.extend = y.val ? parsexmlbool(y.val) : 1; break;
10794 case '<sz': if(y.val) font.sz = +y.val; break;
10798 case '<vertAlign': if(y.val) font.vertAlign = y.val; break;
10802 case '<family': if(y.val) font.family = parseInt(y.val,10); break;
10806 case '<scheme': if(y.val) font.scheme = y.val; break;
10811 if(y.val == '1') break;
10812 y.codepage = CS2CP[parseInt(y.val, 10)];
10818 if(y.auto) font.color.auto = parsexmlbool(y.auto);
10820 if(y.rgb) font.color.rgb = y.rgb.slice(-6);
10821 else if(y.indexed) {
10822 font.color.index = parseInt(y.indexed, 10);
10827 } else if(y.theme) {
10828 font.color.theme = parseInt(y.theme, 10);
10829 if(y.tint) font.color.tint = parseFloat(y.tint);
10830 if(y.theme && themes.themeElements && themes.themeElements.clrScheme) {
10847 if(!pass) throw new Error('unrecognized ' + y[0] + ' in fonts');
10861 var y = parsexmltag(m[i]);
10862 switch(strip_ns(y[0])) {
10865 var f=unescapexml(utf8read(y.formatCode)), j=parseInt(y.numFmtId,10);
10876 default: if(opts.WTF) throw new Error('unrecognized ' + y[0] + ' in numFmts');
10900 var y = parsexmltag(x), i = 0;
10901 switch(strip_ns(y[0])) {
10906 xf = y;
10921 if(y.vertical) alignment.vertical = y.vertical;
10922 if(y.horizontal) alignment.horizontal = y.horizontal;
10923 if(y.textRotation != null) alignment.textRotation = y.textRotation;
10924 if(y.indent) alignment.indent = y.indent;
10925 if(y.wrapText) alignment.wrapText = parsexmlbool(y.wrapText);
10944 if(!pass) throw new Error('unrecognized ' + y[0] + ' in cellXfs');
11230 for(var y in table_fmt) styles.NumberFmt[y] = table_fmt[y];
11427 var y = parsexmltag(x);
11428 switch(y[0]) {
11434 color.rgb = y.val; break;
11438 color.rgb = y.lastClr; break;
11464 if (y[0].charAt(1) === '/') {
11465 themes.themeElements.clrScheme[XLSXThemeClrScheme.indexOf(y[0])] = color;
11468 color.name = y[0].slice(3, y[0].length - 1);
11472 default: if(opts && opts.WTF) throw new Error('Unrecognized ' + y[0] + ' in clrScheme');
11904 var y = parsexmltag(x);
11905 switch (strip_ns(y[0])) {
11915 out.Types.push({ name: y.name });
11921 if (out.Types[j].name == y.name)
11932 out.Cell.push({ type: out.Types[y.t - 1].name, index: +y.v });
11934 out.Value.push({ type: out.Types[y.t - 1].name, index: +y.v });
11966 lastmeta.offsets.push(+y.i);
11970 throw new Error("unrecognized " + y[0] + " in metadata");
11987 var y = parsexmltag(x);
11988 switch(y[0]) {
11993 case '<c': delete y[0]; if(y.i) i = y.i; else y.i = i; d.push(y); break;
12215 var y = parsexmltag(cm[0]);
12216 …var comment/*:RawComment*/ = ({ author: y.authorId && authors[y.authorId] || "sheetjsghost", ref:
12217 var cell = decode_cell(y.ref);
12282 var y/*:any*/ = parsexmltag(x);
12283 switch(strip_ns(y[0])) {
12291 case '<threadedComment': comment = {author: y.personId, guid: y.id, ref: y.ref, T: 1}; break;
12309 default: if(!pass && opts.WTF) throw new Error('unrecognized ' + y[0] + ' in threaded comments');
12343 var y/*:any*/ = parsexmltag(x);
12344 switch(strip_ns(y[0])) {
12352 case '<person': out.push({name: y.displayname, id: y.id }); break;
12361 default: if(!pass && opts.WTF) throw new Error('unrecognized ' + y[0] + ' in threaded comments');
13225 var y = x[j];
13226 if(y) switch(y[0]) {
13229 /*:: if(typeof y[1] != 'string') throw "unreachable"; */
13230 r.push('"' + y[1].replace(/"/g,'""') + '"'); break;
13231 default: r.push(y[1]);
16507 …var _d = SSF_parse_date_code(p.v); if(_d) { p.t = 'd'; p.v = new Date(_d.y, _d.m-1,_d.d,_d.H,_d.M,…
17114 //window{Height,Width}, {x,y}Window
17244 var y/*:any*/ = parsexmltag(x);
17245 switch(strip_ns(y[0])) {
17251 wb.xmlns = y[xmlns];
17256 case '<fileVersion': delete y[0]; wb.AppVersion = y; break;
17268 if(y[w[0]] == null) return;
17270 case "bool": wb.WBProps[w[0]] = parsexmlbool(y[w[0]]); break;
17271 case "int": wb.WBProps[w[0]] = parseInt(y[w[0]], 10); break;
17272 default: wb.WBProps[w[0]] = y[w[0]];
17275 if(y.codeName) wb.WBProps.CodeName = utf8read(y.codeName);
17287 case '<workbookView': case '<workbookView/>': delete y[0]; wb.WBView.push(y); break;
17294 switch(y.state) {
17295 case "hidden": y.Hidden = 1; break;
17296 case "veryHidden": y.Hidden = 2; break;
17297 default: y.Hidden = 0;
17299 delete y.state;
17300 y.name = unescapexml(utf8read(y.name));
17301 delete y[0]; wb.Sheets.push(y); break;
17321 dname.Name = utf8read(y.name);
17322 if(y.comment) dname.Comment = y.comment;
17323 if(y.localSheetId) dname.Sheet = +y.localSheetId;
17324 if(parsexmlbool(y.hidden||"0")) dname.Hidden = true;
17334 case '<calcPr': delete y[0]; wb.CalcPr = y; break;
17335 case '<calcPr/>': delete y[0]; wb.CalcPr = y; break;
17385 default: if(!pass && opts.WTF) throw new Error('unrecognized ' + y[0] + ' in workbook');
17899 var m = tag.match(attregexg2), y, j, w, i;
17901 y = m[i].match(attregex2);
17902 /*:: if(!y || !y[2]) continue; */
17903 if((j=y[1].indexOf(":")) === -1) z[y[1]] = y[2].slice(1,y[2].length-1);
17905 if(y[1].slice(0,6) === "xmlns:") w = "xmlns"+y[1].slice(6);
17906 else w = y[1].slice(j+1);
17907 z[w] = y[2].slice(1,y[2].length-1);
17916 var m = tag.match(attregexg2), y, j, w, i;
17918 y = m[i].match(attregex2);
17919 /*:: if(!y || !y[2]) continue; */
17920 if((j=y[1].indexOf(":")) === -1) z[y[1]] = y[2].slice(1,y[2].length-1);
17922 if(y[1].slice(0,6) === "xmlns:") w = "xmlns"+y[1].slice(6);
17923 else w = y[1].slice(j+1);
17924 z[w] = y[2].slice(1,y[2].length-1);
17971 …var _d = SSF_parse_date_code(cell.v); if(_d) { cell.t = 'd'; cell.v = new Date(_d.y, _d.m-1,_d.d,_…
19236 …var _d = SSF_parse_date_code(p.v); if(_d) { p.t = 'd'; p.v = new Date(_d.y, _d.m-1,_d.d,_d.H,_d.M,…
21871 var Rn, NFtag, NF = "", tNF = "", y, etpos = 0, tidx = -1, infmt = false, payload = "";
21925 y = parsexmltag(Rn[0], false);
21926 switch(y["style"]) {
21934 y = parsexmltag(Rn[0], false);
21935 switch(y["style"]) {
21943 y = parsexmltag(Rn[0], false);
21944 switch(y["style"]) {
21952 y = parsexmltag(Rn[0], false);
21953 switch(y["style"]) {
21961 y = parsexmltag(Rn[0], false);
21962 switch(y["style"]) {
21970 y = parsexmltag(Rn[0], false);
21971 if(y["textual"]) NF += "mm";
21972 switch(y["style"]) {
21980 y = parsexmltag(Rn[0], false);
21981 switch(y["style"]) {
21986 if(y["decimal-places"]) NF += "." + fill("0", +y["decimal-places"]);
21990 y = parsexmltag(Rn[0], false);
21991 switch(y["style"]) {
22018 y = parsexmltag(Rn[0], false);
22019y["min-decimal-places"] || +y["decimal-places"] || 2) + fill("?", +y["decimal-places"] - +y["min-d…
22024 y = parsexmltag(Rn[0], false);
22025 if(!+y["min-integer-digits"]) NF += "#";
22026 else NF += fill("0", +y["min-integer-digits"]);
22028 NF += fill("?", +y["min-numerator-digits"] || 1);
22030 if(+y["denominator-value"]) NF += y["denominator-value"];
22031 else NF += fill("?", +y["min-denominator-digits"] || 1);
22044 y = parsexmltag(Rn[0], false);
22045 switch((y["color"]||"").toLowerCase().replace("#", "")) {
22056 y = parsexmltag(Rn[0], false);
22057 …if(unescapexml(y["condition"]) == "value()>=0") NF = number_format_map[y["apply-style-name"]] + ";…
22058 else console.error("ODS number format may be incorrect: " + y["condition"]);
22064 y = parsexmltag(Rn[0], false);
22066 tNF += fill("0", +y["min-integer-digits"] || 1);
22067 if(parsexmlbool(y["grouping"])) tNF = commaify(fill("#", Math.max(0, 4 - tNF.length)) + tNF);
22068 if(+y["min-decimal-places"] || +y["decimal-places"]) tNF += ".";
22069 if(+y["min-decimal-places"]) tNF += fill("0", +y["min-decimal-places"] || 1);
22070 …if(+y["decimal-places"] - (+y["min-decimal-places"]||0)) tNF += fill("0", +y["decimal-places"] - (…
22705 if(["y","m","d"].indexOf(nf[0]) > -1) {
22711 case "y": case "d": break l;
22715 case "y": case "d":
22718 case "y": case "yy": payload += "<number:year/>"; break;
24326 indices.sort(function(x, y) { argument
24327 return x - y;
26146 var y = "", x, val="";
26155 y = cols[C] + rr;
26156 x = dense ? (sheet[R]||[])[C] : sheet[y];
26160 y = x.F;
26163 if(y.indexOf(":") == -1) y = y + ":" + y;
26173 cmds[cmds.length] = y + "=" + val;