Lines Matching refs:push

257 			out.push(o.slice(0, widx));
263 out.push(o.slice(0, widx));
274 push(buf:Block):void;
1754 if(L !== -1 && i != dad[i]) { dad[L] = dad[i]; if(q.lastIndexOf(L) < j) q.push(L); }
1755 if(R !== -1 && i != dad[i]) { dad[R] = dad[i]; if(q.lastIndexOf(R) < j) q.push(R); }
1784 o.push(payload.slice(idx * MSSZ, idx * MSSZ + MSSZ));
1803 fat_addrs.push(q);
1817 buf_chain.push(sectors[j]);
1842 buf_chain.push(sectors[j]);
1865 Paths.push(name);
1903 FileIndex.push(o);
1945 cfb.FileIndex.push(({ name: nm, type: 2, content:p, size:4, L:69, R:69, C:69 }/*:any*/));
1946 cfb.FullPaths.push(cfb.FullPaths[0] + nm);
1976 data.push([cfb.FullPaths[i], cfb.FileIndex[i]]);
1984 data.push([dad, ({
2435 for(;i<32; i++) dlens.push(5);
2440 for(; i<=143; i++) clens.push(8);
2441 for(; i<=255; i++) clens.push(9);
2442 for(; i<=279; i++) clens.push(7);
2443 for(; i<=287; i++) clens.push(8);
2616 while(w-- > 0) hcodes.push(ccode);
2620 while(w-- > 0) hcodes.push(0);
2624 while(w -- > 0) hcodes.push(0);
2627 hcodes.push(ccode);
2666 /* push sz bytes */
2886 out.push(o);
2888 out.push(namebuf);
2895 out.push(outbuf);
2904 out.push(o);
2928 cdirs.push(o);
2930 cdirs.push(namebuf);
2978 for(var i = 0; i < data.length; i+= 76) o.push(data.slice(i, i+76));
3010 if(str.length == 0) { o.push(""); continue; }
3020 o.push(tmp);
3033 o.push(line);
3142 out.push(boundary);
3143 out.push('Content-Location: ' + (opts.root || 'file:///C:/SheetJS/') + fp);
3144 out.push('Content-Transfer-Encoding: ' + (qp ? 'quoted-printable' : 'base64'));
3145 out.push('Content-Type: ' + get_content_type(fi, fp));
3146 out.push('');
3148 out.push(qp ? write_quoted_printable(cstr) : write_base64_76(cstr));
3150 out.push(boundary + '--\r\n');
3171 cfb.FileIndex.push(file);
3172 cfb.FullPaths.push(fpath);
3308 …for(var i = 0; i < ks.length; ++i) if(Object.prototype.hasOwnProperty.call(o, ks[i])) o2.push(ks[i…
3334 o[obj[K[i]]].push(K[i]);
3438 for(var i = 0; i != arr.length; ++i) o.push(String.fromCharCode(arr[i]));
3502 for(var i = 1; i < p.length; ++i) { o.push(def); o.push(p[i]); }
3569 …for(var i = 0; i < k.length; ++i) if(k[i].slice(-1) != '/') o.push(k[i].replace(/^Root Entry[\/]/,…
3607 else if (step !== '.') result.push(step);
3753 case c < 128: out.push(String.fromCharCode(c)); break;
3755 out.push(String.fromCharCode(192 + (c >> 6)));
3756 out.push(String.fromCharCode(128 + (c & 63)));
3760 out.push(String.fromCharCode(240 + ((d >>18) & 7)));
3761 out.push(String.fromCharCode(144 + ((d >>12) & 63)));
3762 out.push(String.fromCharCode(128 + ((d >> 6) & 63)));
3763 out.push(String.fromCharCode(128 + (d & 63)));
3766 out.push(String.fromCharCode(224 + (c >> 12)));
3767 out.push(String.fromCharCode(128 + ((c >> 6) & 63)));
3768 out.push(String.fromCharCode(128 + (c & 63)));
3825 if(v) res.push({v:utf8read(v[2]), t:v[1]});
3923 …0].length;++i) if(bufs[0][i]) for(var j=0,L=bufs[0][i].length;j<L;j+=w) x.push.apply(x, bufs[0][i]…
3926 …r*/)/*:string*/ { var ss/*:Array<string>*/=[]; for(var i=s; i<e; i+=2) ss.push(String.fromCharCode…
3929 …*/)/*:string*/ { var ss/*:Array<string>*/=[]; for(var i=s; i<s+l; ++i) ss.push(("0" + b[i].toStrin…
3932 …FBlob*/,s/*:number*/,e/*:number*/) { var ss=[]; for(var i=s; i<e; i++) ss.push(String.fromCharCode…
4013 while((w=__readUInt8(this, this.l + size++))!==0) oo.push(_getchar(w));
4016 while((w=__readUInt16LE(this,this.l +size))!==0){oo.push(_getchar(w));size+=2;}
4028 oo.push(_getchar(__readUInt16LE(this, loc)));
4046 oo.push(_getchar(__readUInt8(this, loc)));
4187 if(curbuf.length > 0) bufs.push(curbuf);
4203 …var push = function ba_push(buf) { endbuf(); curbuf = buf; if(curbuf.l == null) curbuf.l = curbuf.… function
4205 return ({ next:next, push:push, end:end, _bufs:bufs }/*:any*/);
4224 if(/*:: length != null &&*/length > 0 && is_buf(payload)) ba.push(payload);
4500 for (var i = 0; i != dwSizeStrRun; ++i) rgsStrRun.push(parse_StrRun(data));
4630 // out.push(encode_range(rng));
4639 // out.push(write_UncheckedRfX(safe_decode_range(rng)));
5326 if(ct[ct2type[y.ContentType]] !== undefined) ct[ct2type[y.ContentType]].push(y.PartName);
5535 …o.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" man…
5536 …o.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="…
5537 …for(var i = 0; i < manifest.length; ++i) o.push(' <manifest:file-entry manifest:full-path="' + ma…
5538 o.push('</manifest:manifest>');
5559 o.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');
5561 o.push(write_rdf_type(rdf[i][0], rdf[i][1]));
5562 o.push(write_rdf_has("",rdf[i][0]));
5564 o.push(write_rdf_type("","Document", "pkg"));
5565 o.push('</rdf:RDF>');
5885 o.push(writetag(XLMLDocPropsMap[p[1]] || p[1], m));
5905 o.push(writextag(escapexmltag(k), m, {"dt:dt":t}));
5917 o.push(writextag(escapexmltag(k), m, {"dt:dt":t}));
5998 for(var i = 0; i < cElements / 2; ++i) out.push(parse_VtHeadingPair(blob));
6190 prop.push(pr); piao.push(pio);
6207 bufs.push(pr);
6234 prop.push(pr);
6238 piao.push(pio);
6296 bufs.push(ps0);
6302 bufs.push(ps1);
6312 while(blob.l < target) arr.push(cb(blob, target - blob.l));
6699 fts.push(FtTab[ft](blob, tgt - blob.l));
6822 strs.push(parse_XLUnicodeRichExtendedString(blob));
7053 while(blob.l < target) rkrecs.push(parse_RkRec(blob));
7064 while(blob.l < target) ixfes.push(blob.read_shift(2));
7205 while(end > blob.l) rgst.push(parse_XLUnicodeString(blob));
7261 while(len-- !== 0) o.push(parse_XTI(blob, opts.biff > 8 ? 12 : 6, opts));
7331 while (cmcs--) merges.push(parse_Ref8U(blob,length));
7383 fts.push((parse_BIFF5OT[ot]||parsenoop)(blob, length, opts));
7483 while(ccv-->0) o.push(parse_LongRGB(blob, 8));
7491 while(ccv-->0) o.push(parse_LongRGB(blob, 8));
7770 if(field.name.length) fields.push(field);
7914 if(data[j][i] != null) col.push(data[j][i]);
8087 case 'P': formats.push(rstr.slice(3).replace(/;;/g, ";")); break;
8095 wb.Workbook.Names.push(nn);
8237 if(rec.charAt(rec.length - 1) != " ") out.push(rec);
8247 if(rec.length > 2) out.push(rec + "R" + (i+1));
8259 preamble.push("P;PGeneral");
8260 preamble.push("F;P0;DG0G8;M255");
8264 …preamble.push("B;Y" + (r.e.r - r.s.r + 1) + ";X" + (r.e.c - r.s.c + 1) + ";D" + [r.s.c,r.s.r,r.e.c…
8265 preamble.push("O;L;D;B" + (d1904 ? ";V4" : "") + ";K47;G100 0.001");
8272 p.push(write_ws_cell_sylk(cell, ws, R, C, opts)); // TODO: pass date1904 info
8274 o.push(p.join(RS));
8382 o.push(p);
8456 case 's': case 'str': oo.push(encode(cell.v)); break;
8472 o.push(oo.join(":"));
8475 o.push("sheet:c:" + (r.e.c-r.s.c+1) + ":r:" + (r.e.r-r.s.r+1) + ":tvf:1");
8476 o.push("valueformat:1:text-wiki");
8477 //o.push("copiedfrom:" + ws['!ref']); // clipboard only
8555 cc.push([ cnt[end], end ]);
8561 cc.push([ cnt[end], end ]);
8682 if(!cell || cell.v == null) { oo.push(" "); continue; }
8685 oo.push(w + (C === 0 ? " " : ""));
8687 o.push(oo.join(""));
8788 snames.push(n);
8829 snames.push(n);
8852 snames.push(next_n || n);
8857 rnames.push(realnames[i] || snames[i]);
8860 rnames.push(realnames[i]);
9214 case 0x00: out.push(blob.read_shift(8, 'f')); break;
9218 out.push(C + R);
9225 out.push(c + r + ":" + C + R);
9230 case 0x04: out.push("(" + out.pop() + ")"); break;
9231 case 0x05: out.push(blob.read_shift(2)); break;
9235 out.push('"' + Z.replace(/"/g, '""') + '"');
9238 case 0x08: out.push("-" + out.pop()); break;
9239 case 0x17: out.push("+" + out.pop()); break;
9240 case 0x16: out.push("NOT(" + out.pop() + ")"); break;
9244 out.push(["AND", "OR"][cc - 0x14] + "(" + argL + "," + argR + ")");
9250 out.push(argL + BinOpTab[cc] + argR);
9257 out.push(FuncTab[cc][0] + "(" + args.join(",") + ")");
9658 SST.push(p.read_shift(cnt, 'cstr'));
9665 // formulae.push(p.slice(p.l, p.l + cnt + 1)); p.l += cnt + 1;
9906 if(font.u) style.push("text-decoration: underline;");
9907 if(font.uval) style.push("text-underline-style:" + font.uval + ";");
9908 if(font.sz) style.push("font-size:" + font.sz + "pt;");
9909 if(font.outline) style.push("text-effect: outline;");
9910 if(font.shadow) style.push("text-shadow: auto;");
9911 intro.push('<span style="' + style.join("") + '">');
9913 if(font.b) { intro.push("<b>"); outro.push("</b>"); }
9914 if(font.i) { intro.push("<i>"); outro.push("</i>"); }
9915 if(font.strike) { intro.push("<s>"); outro.push("</s>"); }
9920 if(align != "") { intro.push("<" + align + ">"); outro.push("</" + align + ">"); }
9922 outro.push("</span>");
10027 s.push(val); break;
10096 while(cnt-- > 0) comps.push({ t: blob.read_shift(4), v: blob.read_shift(0, 'lpp4') });
10108 while(cnt-- > 0) o.push(parse_DataSpaceMapEntry(blob));
10117 while(cnt-- > 0) o.push(blob.read_shift(0, 'lpp4'));
10221 case '<encryptedKey': o.encs.push(y); break;
10410 payload.push(data);
10433 payload.push("\n");
10456 o.push("\\trowd\\trautofit1");
10458 o.push("\\cellx" + (C + 1));
10459 o.push("\\pard\\intbl");
10464 o.push(" \\cell");
10467 o.push(" " + (cell.w || (format_cell(cell), cell.w) || "").replace(/[\r\n]/g, "\\par "));
10468 o.push("\\cell");
10470 o.push("\\pard\\intbl\\row");
10607 styles.Borders.push(border);
10679 fill = {}; styles.Fills.push(fill); break;
10685 case '</gradientFill>': styles.Fills.push(fill); fill = {}; break;
10746 styles.Fonts.push(font);
10915 styles.CellXf.push(xf); break;
11242 styles.Fonts.push(val);
11254 styles.CellXf.push(val);
11276 state.push(RT); pass = true; break;
11281 if(R.T > 0) state.push(RT);
11761 while(cexts-- > 0) ext.push(parse_ExtProp(blob, end-blob.l));
11803 out.push([data.read_shift(4), data.read_shift(4)]);
11840 out.Types.push({ name: val.name });
11845 out.Cell.push({ type: out.Types[r[0] - 1].name, index: r[1] });
11847 out.Value.push({ type: out.Types[r[0] - 1].name, index: r[1] });
11857 state.push(RT);
11915 out.Types.push({ 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);
11978 …o.push('<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="ht…
11993 case '<c': delete y[0]; if(y.i) i = y.i; else y.i = i; d.push(y); break;
12022 out.push(val); break;
12116 if(_comments.length > 0) o.push(writextag("v:shapetype", [
12121 _comments.forEach(function(x) { ++_shapeid; o.push(write_vml_comment(x, _shapeid)); });
12122 o.push('</xml>');
12194 cell.c.push(o);
12208 if(a) authors.push(a[1]);
12225 commentList.push(comment);
12234 o.push("<authors>");
12237 iauthor.push(a);
12238 o.push("<author>" + a + "</author>");
12241 iauthor.push("tc=" + w.ID);
12242 o.push("<author>" + "tc=" + w.ID + "</author>");
12245 if(iauthor.length == 0) { iauthor.push("SheetJ5"); o.push("<author>SheetJ5</author>"); }
12246 o.push("</authors>");
12247 o.push("<commentList>");
12255 ts.push(c.t == null ? "" : escapexml(c.t));
12259 o.push('<comment ref="' + d[0] + '" authorId="' + iauthor.indexOf(escapexml(c.a)) + '"><text>');
12260 o.push(writetag("t", c.t == null ? "" : escapexml(c.t)));
12261 o.push('</text></comment>');
12265 o.push('<comment ref="' + d[0] + '" authorId="' + lastauthor + '"><text>');
12268 o.push(writetag("t", escapexml(t)));
12269 o.push('</text></comment>');
12272 o.push("</commentList>");
12292 case '</threadedComment>': if(comment.t != null) out.push(comment); break;
12322 if(c.a && people.indexOf(c.a) == -1) people.push(c.a);
12331 o.push(writextag('threadedComment', writetag('text', c.t||""), tcopts));
12334 o.push('</ThreadedComments>');
12352 case '<person': out.push({name: y.displayname, id: y.id }); break;
12373 o.push(writextag('person', null, {
12380 o.push("</personList>");
12417 authors.push(val); break;
12427 delete c.rfx; out.push(c); break;
12457 iauthor.push(c.a.slice(0,54));
12711 for(var i = 0; i <= offset; ++i) o.push(blob.read_shift(opts && opts.biff == 2 ? 1 : 2));
12870 …for(var i = 0; i != count; ++i) out.push(((opts.biff == 12) ? parse_UncheckedRfX : parse_Ref8U)(bl…
13179 o.push(rgce[i][1]);
13183 o.push(rgce[i][2]);
13188 o.push(rgce[i][1]);
13201 if(length !== 0) o.push(parsenoop(blob, length));
13214 if(!R || !R.f) { /*ptgs.push*/(parsenoop(blob, length)); }
13215 else { ptgs.push([R.n, R.f(blob, length, opts)]); }
13230 r.push('"' + y[1].replace(/"/g,'""') + '"'); break;
13231 default: r.push(y[1]);
13232 } else r.push("");
13234 o.push(r.join(","));
13312 stack.push("-" + stack.pop()); break;
13314 stack.push("+" + stack.pop()); break;
13316 stack.push(stack.pop() + "%"); break;
13347 stack.push(e2+PtgBinOp[f[0]]+e1);
13352 stack.push(e2+" "+e1);
13356 stack.push(e2+","+e1);
13360 stack.push(make_3d_range(e2,e1));
13375 stack.push(encode_cell_xls(c, biff));
13379 stack.push(encode_cell_xls(c, biff));
13385 stack.push(sname + "!" + encode_cell_xls(c, biff));
13397 stack.push(func + "(" + args.join(",") + ")");
13401 stack.push(f[1] ? "TRUE" : "FALSE"); break;
13403 stack.push(/*::String(*/f[1]/*::)*/); break;
13405 stack.push(String(f[1])); break;
13408 stack.push('"' + f[1].replace(/"/g, '""') + '"'); break;
13410 stack.push(/*::String(*/f[1]/*::)*/); break;
13413 stack.push(encode_range_xls((r/*:any*/), opts));
13417 stack.push(encode_range_xls((r/*:any*/), opts));
13422 stack.push(sname + "!" + encode_range_xls((r/*:any*/), opts));
13425 stack.push("SUM(" + stack.pop() + ")");
13439 stack.push(name);
13465 stack.push(o);
13469 stack.push(externbook.Name);
13491 stack.push(lp + stack.pop() + rp); break;
13494 stack.push('#REF!'); break;
13497 stack.push('#REF!'); break;
13504 stack.push(stringify_formula(parsedf, _range, q, supbooks, opts));
13512 stack.push(stringify_formula(e2[1], _range, q, supbooks, opts));
13516 if(!fnd) stack.push(/*::String(*/f[1]/*::)*/);
13521 stack.push("{" + stringify_array(/*::(*/f[1]/*:: :any)*/) + "}");
13525 //stack.push("(" + f[2].map(encode_range).join(",") + ")");
13540 stack.push("");
13544 stack.push("#REF!"); break;
13547 stack.push("#REF!"); break;
13551 stack.push("Table" + f[1].idx + "[#" + f[1].rt + "]");
13603 stack.push((_left ? sp : "") + stack.pop() + (_left ? "" : sp));
15136 rev.get(str).push(len);
15139 rev[str].push(len);
15473 …if(i == names.length) names.push({ Name: '_xlnm._FilterDatabase', Sheet: idx, Ref: "'" + wb.SheetN…
15500 if(cell.c) ws['!comments'].push([ref, cell.c]);
15544 ws['!links'].push([ref, cell.l]);
15638 if(p.F.indexOf(":") > -1) arrayf.push([safe_decode_range(p.F), p.F]);
15749 if((cell = write_ws_xml_cell(_cell, ref, ws, opts, idx, wb)) != null) r.push(cell);
16535 merges.push(val); break;
16565 arrayf.push(val);
16673 state.push(RT); pass = true; break;
16708 if(cell.c) ws['!comments'].push([encode_cell(o), cell.c]);
16724 if(cell.l) ws['!links'].push([encode_cell(o), cell.l]);
16844 …if(i == names.length) names.push({ Name: '_xlnm._FilterDatabase', Sheet: idx, Ref: formula_quote_s…
17048 state.push(RT); break;
17053 if(R.T > 0) state.push(RT);
17232 else wb.Workbook.Names.push({Name: "_xlnm._FilterDatabase", Sheet: i, Ref: nn});
17287 case '<workbookView': case '<workbookView/>': delete y[0]; wb.WBView.push(y); break;
17301 delete y[0]; wb.Sheets.push(y); break;
17329 wb.Names.push(dname);
17583 if(name.Comment) arr.push(write_XLNullableWideString(name.Comment));
17587 arr.push(x);
17618 supbooks.SheetNames.push(val.name);
17619 wb.Sheets.push(val); break;
17629 Names.push(val);
17638 else supbooks.push([RT, val]);
17685 state.push(RT); pass = true; break;
17689 state.push(RT); pass = true; break;
17995 if(styles[sid].Interior) interiors.push(styles[sid].Interior);
18036 arrayf.push([safe_decode_range(cell.F), cell.F]);
18123 else if(Rn[0].charAt(Rn[0].length-2) !== '/') state.push([Rn[3], true]);
18147 if(cc > c || rr > r) merges.push({s:{c:c,r:r},e:{c:cc,r:rr}});
18197 sheetnames.push(sheetname);
18213 state.push([Rn[3], false]);
18221 Workbook.Sheets.push(wsprops);
18228 state.push([Rn[3], false]);
18269 /*:: if(Workbook.Names) */Workbook.Names.push(_DefinedName);
18327 else state.push([Rn[3], false]);
18334 comments.push(comment);
18336 state.push([Rn[3], false]);
18347 state.push([Rn[3], true]);
18357 if(Rn[0].charAt(Rn[0].length-2) !== '/') state.push([Rn[3], true]);
18382 else if(Rn[0].charAt(Rn[0].length-2) !== '/') state.push([Rn[3], true]);
18832 if(wb.Props) o.push(xlml_write_docprops(wb.Props, opts));
18834 if(wb.Custprops) o.push(xlml_write_custprops(wb.Props, wb.Custprops, opts));
18850 payload.push(writextag('NumberFormat', null, {"ss:Format": escapexml(table_fmt[xf.numFmtId])}));
18853 styles.push(writextag('Style', payload.join(""), o));
18867 out.push(write_name_xlml(n));
18884 out.push(write_name_xlml(n));
18908 o.push("<PageSetup>");
18909 if(ws['!margins'].header) o.push(writextag("Header", null, {'x:Margin':ws['!margins'].header}));
18910 if(ws['!margins'].footer) o.push(writextag("Footer", null, {'x:Margin':ws['!margins'].footer}));
18911 o.push(writextag("PageMargins", null, {
18917 o.push("</PageSetup>");
18935 …if(wb.Workbook.Sheets[idx].Hidden) o.push(writextag("Visible", (wb.Workbook.Sheets[idx].Hidden == …
18939 if(i == idx) o.push("<Selected/>");
18945 if(((((wb||{}).Workbook||{}).Views||[])[0]||{}).RTL) o.push("<DisplayRightToLeft/>");
18973 o.push(writetag("ProtectContents", "True"));
18974 if(ws['!protect'].objects) o.push(writetag("ProtectObjects", "True"));
18975 if(ws['!protect'].scenarios) o.push(writetag("ProtectScenarios", "True"));
18976 …if(ws['!protect'].selectLockedCells != null && !ws['!protect'].selectLockedCells) o.push(writetag(…
18977 …else if(ws['!protect'].selectUnlockedCells != null && !ws['!protect'].selectUnlockedCells) o.push(…
18990 ].forEach(function(x) { if(ws['!protect'][x[0]]) o.push("<"+x[1]+"/>"); });
19070 o.push(writextag("Column",null,k));
19088 row.push(write_ws_xlml_cell(cell, ref, ws, opts, idx, wb, addr));
19090 row.push("</Row>");
19091 if(row.length > 2) o.push(row.join(""));
19101 if(t.length > 0) o.push("<Names>" + t + "</Names>");
19105 if(t.length > 0) o.push("<Table>" + t + "</Table>");
19108 o.push(write_ws_xlml_wsopts(ws, opts, idx, wb));
19110 …if(ws["!autofilter"]) o.push('<AutoFilter x:Range="' + a1_to_rc(fix_range(ws["!autofilter"].ref), …
19126 d.push(write_props_xlml(wb, opts));
19127 d.push(write_wb_xlml(wb, opts));
19128 d.push("");
19129 d.push("");
19131 …d.push(writextag("Worksheet", write_ws_xlml(i, opts, wb), {"ss:Name":escapexml(wb.SheetNames[i])})…
19192 bufs.push(d);
19204 bufs.push(d);
19211 for(var j = 0; j < bufs.length; ++j) { b.lens.push(ll); ll += bufs[j].length; }
19411 XFs.push(val); break;
19413 supbooks.push([val]);
19417 supbooks[supbooks.length-1].push(val);
19425 supbooks.names.push(last_lbl);
19427 supbooks[supbooks.length-1].push(val);
19445 opts.snames.push(val.name);
19466 Workbook.Sheets.push(wsprops);
19499 opts.snames.push(cur_sheet);
19572 arrayf.push(val);
19682 cc.c.push(cmnt);
19735 wb.SheetNames.push("Sheet1");
19786 ….prototype.hasOwnProperty.call(SummaryRE, Keys[i]) ? SEntries : CEntries).push([Keys[i], wb.Props[…
19791 ….prototype.hasOwnProperty.call(SummaryRE, Keys[i]) ? SEntries : CEntries).push([Keys[i], wb.Custpr…
19797 CEntries2.push(CEntries[i]);
21211 if(/*:: len != null &&*/len > 0 && is_buf(payload)) ba.push(payload);
21225 ba.push(payload.slice(i, i + w));
21233 ba.push(payload.slice(i, i+w)); i+= w;
21458 if(b8 && cell.l) ws['!links'].push([ref, cell.l]);
21459 if(b8 && cell.c) comments.push([ref, cell.c]);
21557 if(a.length) out.push(a);
21558 if(b.length) out.push(b);
21559 if(c.length) out.push(c);
21640 if((RS = +tag.rowspan)>1 || CS>1) merges.push({s:{r:R,c:C},e:{r:R + (RS||1) - 1, c:C + CS - 1}});
21695 oo.push(writextag('td', w, sp));
21730 out.push(make_html_preamble(ws, r, o));
21731 for(var R = r.s.r; R <= r.e.r; ++R) out.push(make_html_row(ws, r, R, o));
21732 out.push("</table>" + footer);
21786 …if( ((RS = (+elt.getAttribute("rowspan") || 1)))>1 || CS>1) merges.push({s:{r:R + or_R,c:C + or_C}…
22134 SheetNames.push(sheetag.name);
22205 arrayf.push([mrange, q.F]);
22217 merges.push(mrange);
22286 else if(Rn[0].charAt(Rn[0].length-2) !== '/') state.push([Rn[3], true]);
22295 comments.push(comment);
22297 else if(Rn[0].charAt(Rn[0].length-2) !== '/') {state.push([Rn[3], false]);}
22325 else if(Rn[0].charAt(Rn[0].length-2) !== '/') state.push([Rn[3], false]);
22404 WB.Names.push(nrange);
22842 …o.push(' <table:table table:name="' + escapexml(wb.SheetNames[i]) + '" table:style-name="ta1"…
22847 …for(C = 0; C <= range.e.c; ++C) o.push(' <table:table-column' + (ws["!cols"][C] ? ' table:s…
22852 o.push(' <table:table-row' + H + '></table:table-row>\n');
22856 o.push(' <table:table-row' + H + '>\n');
22857 for(C=0; C < range.s.c; ++C) o.push(null_cell_xml);
22870 if(skip) { o.push(covered_cell_xml); continue; }
22882 if(!cell) { o.push(null_cell_xml); continue; }
22905 default: o.push(null_cell_xml); continue;
22916 … o.push(' ' + writextag('table:table-cell', writextag('text:p', text_p, {}), ct) + '\n');
22918 o.push(' </table:table-row>\n');
22920 if((wb.Workbook||{}).Names) o.push(write_names_ods(wb.Workbook.Names, wb.SheetNames, i));
22921 o.push(' </table:table>\n');
22926 o.push(' <office:automatic-styles>\n');
22939 o.push(' <style:style style:name="co' + cidx + '" style:family="table-column">\n');
22940 …o.push(' <style:table-column-properties fo:break-before="auto" style:column-width="' + w + '"/>\…
22941 o.push(' </style:style>\n');
22955 o.push(' <style:style style:name="ro' + ridx + '" style:family="table-row">\n');
22956 … o.push(' <style:table-row-properties fo:break-before="auto" style:row-height="' + h + '"/>\n');
22957 o.push(' </style:style>\n');
22964 o.push(' <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">\n');
22965 o.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n');
22966 o.push(' </style:style>\n');
22968 o.push(' <number:date-style style:name="N37" number:automatic-order="true">\n');
22969 o.push(' <number:month number:style="long"/>\n');
22970 o.push(' <number:text>/</number:text>\n');
22971 o.push(' <number:day number:style="long"/>\n');
22972 o.push(' <number:text>/</number:text>\n');
22973 o.push(' <number:year/>\n');
22974 o.push(' </number:date-style>\n');
22987 if(out) { nfs[c.z] = "N" + nfi; ++nfi; o.push(out + "\n"); }
22991 …o.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default…
22993 …o.push('<style:style style:name="ce' + nfs[nf].slice(1) + '" style:family="table-cell" style:paren…
22998 o.push(' </office:automatic-styles>\n');
23051 o.push('<office:document' + attr + fods + '>\n');
23052 …o.push(write_meta_ods().replace(/<office:document-meta.*?>/, "").replace(/<\/office:document-meta>…
23054 } else o.push('<office:document-content' + attr + '>\n');
23055 // o.push(' <office:scripts/>\n');
23057 o.push(' <office:body>\n');
23058 o.push(' <office:spreadsheet>\n');
23059 …if(((wb.Workbook||{}).WBProps||{}).date1904) o.push(' <table:calculation-settings table:case-…
23060 …for(var i = 0; i != wb.SheetNames.length; ++i) o.push(write_ws(wb.Sheets[wb.SheetNames[i]], wb, i,…
23061 if((wb.Workbook||{}).Names) o.push(write_names_ods(wb.Workbook.Names, wb.SheetNames, -1));
23062 o.push(' </office:spreadsheet>\n');
23063 o.push(' </office:body>\n');
23064 if(opts.bookType == "fods") o.push('</office:document>');
23065 else o.push('</office:document-content>');
23086 manifest.push([f, "text/xml"]);
23087 rdf.push([f, "ContentFile"]);
23092 manifest.push([f, "text/xml"]);
23093 rdf.push([f, "StylesFile"]);
23098 manifest.push([f, "text/xml"]);
23099 rdf.push([f, "MetadataFile"]);
23104 manifest.push([f, "application/rdf+xml"]);
23259 out.push(parse_varint49(buf, ptr));
23361 out[num].push(v);
23373 out.push(write_varint49(idx * 8 + item.type));
23375 out.push(write_varint49(item.data.length));
23376 out.push(item.data);
23400 res.messages.push({
23408 out.push(res);
23424 midata.push(mi.data);
23426 ai[2].push({ data: write_shallow(mi.meta), type: 2 });
23429 bufs.push(write_varint49(aipayload.length));
23430 bufs.push(aipayload);
23432 return bufs.push(mid);
23462 chunks.push(buf[subarray](ptr[0], ptr[0] + len));
23495 chunks.push(chunks[j][subarray](chunks[j].length - off, chunks[j].length - off + length));
23498 chunks.push(chunks[j][subarray](chunks[j].length - off));
23503 chunks.push(chunks[j]);
23508 chunks.push(chunks[j][subarray](0, length));
23531 out.push.apply(out, parse_snappy_chunk(t, buf[subarray](l, l + len)));
23544 out.push(frame);
23547 out.push(usz);
23550 out.push(new Uint8Array([c - 1 << 2]));
23553 out.push(new Uint8Array([240, c - 1 & 255]));
23556 out.push(new Uint8Array([244, c - 1 & 255, c - 1 >> 8 & 255]));
23559 out.push(new Uint8Array([248, c - 1 & 255, c - 1 >> 8 & 255, c - 1 >> 16 & 255]));
23562 …out.push(new Uint8Array([252, c - 1 & 255, c - 1 >> 8 & 255, c - 1 >> 16 & 255, c - 1 >>> 24 & 255…
23564 out.push(buf[subarray](l, l + c));
23627 zstr.push('d"d"');
23632 dstr.push(dd + (dstyle == 2 ? " week" + (dd == 1 ? "" : "s") : dstyle == 1 ? "w" : ""));
23640 zstr.push('d"d"');
23641 dstr.push(dd + (dstyle == 2 ? " day" + (dd == 1 ? "" : "s") : dstyle == 1 ? "d" : ""));
23649 zstr.push((dmin >= 4 ? "[h]" : "h") + '"h"');
23650 dstr.push(dd + (dstyle == 2 ? " hour" + (dd == 1 ? "" : "s") : dstyle == 1 ? "h" : ""));
23658 zstr.push((dmin >= 8 ? "[m]" : "m") + '"m"');
23660 dstr.push((dmin == 8 && dmax == 8 || dd >= 10 ? "" : "0") + dd);
23662 dstr.push(dd + (dstyle == 2 ? " minute" + (dd == 1 ? "" : "s") : dstyle == 1 ? "m" : ""));
23670 zstr.push((dmin >= 16 ? "[s]" : "s") + '"s"');
23672 dstr.push((dmax == 16 && dmin == 16 || dd >= 10 ? "" : "0") + dd);
23674 dstr.push(dd + (dstyle == 2 ? " second" + (dd == 1 ? "" : "s") : dstyle == 1 ? "s" : ""));
23679 zstr.push('.000"ms"');
23681 dstr.push((dd >= 100 ? "" : dd >= 10 ? "0" : "00") + dd);
23683 … dstr.push(dd + (dstyle == 2 ? " millisecond" + (dd == 1 ? "" : "s") : dstyle == 1 ? "ms" : ""));
23929 orefs.push(ref);
23998 offsets.push([C, off]);
24129 out.sheets.push(parse_TST_TableInfoArchive(M, m, opts));
24183 indices.push(packet.id);
24270 cell_storage.push(celload);
24273 _cell_storage.push(_celload);
24322 indices.push(packet.id);
24344 dependents[ivi[0]].deps.push(ia.id);
24403 doc[1].push({ type: 2, data: write_TSP_Reference(newsheetref) });
24407 arch.push(sheet);
24410 return x.push(sheet);
24430 arch.push(tia);
24449 parent[6].push({
24460 return x.push(tia);
24483 arch.push(tma);
24486 return x.push(tma);
24568 arch.push(msg);
24579 mlist[3].push({ type: 2, data: write_shallow([
24607 parent[6].push({
24631 arch.push(msg);
24642 mlist[3].push({ type: 2, data: write_shallow([
24670 parent[6].push({
24702 mlist[3].push({ type: 2, data: write_shallow([
24730 parent[6].push({
24883 tiledata[5].push({ data: write_shallow(tilerow), type: 2 });
24885 tilestore[1].push({ type: 2, data: write_shallow([
24898 mlist[3].push({ type: 2, data: write_shallow([
24926 parent[6].push({
24937 rbtree[1].push({ type: 2, data: write_shallow([
24953 tmafile.push({
24987 parent[6].push({
25008 sstdata[3].push({ type: 2, data: write_shallow([
25168 if(getzipdata(zip,binname, true)) dir.workbooks.push(binname);
25173 dir.workbooks.push(binname);
25311 out.keys.push(p);
25399 ct.coreprops.push(f);
25409 if((wb.Workbook.Sheets[_i]||{}).Hidden != 2) _sn.push(wb.SheetNames[_i]);
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);
25534 ct.coreprops.push(f);
25544 if((wb.Workbook.Sheets[_i]||{}).Hidden != 2) _sn.push(wb.SheetNames[_i]);
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);
26106 row.push(txt);
26131 if(row || (o.blankrows !== false)) out.push((w++ ? RS : "") + row);
26299 wb.SheetNames.push(name);
26342 cell.c.push({t:text, a:author||"SheetJS"});
26414 if(sheet == null || sheet["!ref"] == null) { stream.push(null); return stream; }
26427 if(!BOM) { BOM = true; return stream.push("\uFEFF"); }
26434 if(row || (o.blankrows !== false)) return stream.push((w++ ? RS : "") + row);
26437 return stream.push(null);
26448 stream.push(header);
26451 stream.push(make_html_preamble(ws, r, o));
26456 if(!end) { end = true; stream.push("</table>" + footer); }
26457 return stream.push(null);
26460 stream.push(make_html_row(ws, r, R, o));
26471 if(sheet == null || sheet["!ref"] == null) { stream.push(null); return stream; }
26521 stream.push(row.row);
26525 return stream.push(null);