Lines Matching refs:col

4278col/*:number*/)/*:string*/ { if(col < 0) throw new Error("invalid column " + col); var s=""; for(+…  argument
4295 var col = cell.c + 1;
4297 for(; col; col=((col-1)/26)|0) s = String.fromCharCode(((col-1)%26) + 65) + s;
4531 var col = data.read_shift(4);
4535 return { c: col, iStyleRef: iStyleRef };
6562 var col = blob.read_shift(2);
6564 return ({r:rw, c:col, ixfe:ixfe}/*:any*/);
7043 var rw = blob.read_shift(2), col = blob.read_shift(2);
7045 return {r:rw, c:col, ixfe:rkrec[0], rknum:rkrec[1]};
7051 var rw = blob.read_shift(2), col = blob.read_shift(2);
7056 if(rkrecs.length != lastcol - col + 1) throw new Error("MulRK length mismatch");
7057 return {r:rw, c:col, C:lastcol, rkrec:rkrecs};
7062 var rw = blob.read_shift(2), col = blob.read_shift(2);
7067 if(ixfes.length != lastcol - col + 1) throw new Error("MulBlank length mismatch");
7068 return {r:rw, c:col, C:lastcol, ixfe:ixfes};
7314 var row = blob.read_shift(2), col = blob.read_shift(2);
7318 return [{r:row,c:col}, stAuthor, idObj, flags];
7519 function write_ColInfo(col, idx) { argument
7523 o.write_shift(2, col.width * 256);
7526 if(col.hidden) f |= 1;
7528 f = col.level || 0;
7912 var col/*:Array<any>*/ = [];
7914 if(data[j][i] != null) col.push(data[j][i]);
7916 if(col.length == 0 || headers[i] == null) { coltypes[i] = '?'; continue; }
7917 for(j = 0; j < col.length; ++j) {
7918 switch(typeof col[j]) {
7923 case 'object': _guess = col[j] instanceof Date ? 'D' : 'C'; break;
7927 …of $cptable !== "undefined" && typeof col[j] == "string" ? $cptable.utils.encode(current_ansi, col
8197 colinfo.forEach(function(col) { process_col(col); });
8229 cols.forEach(function(col, i) {
8231 if(col.hidden) rec += "0";
8233 if(typeof col.width == 'number' && !col.wpx) col.wpx = width2px(col.width);
8234 if(typeof col.wpx == 'number' && !col.wch) col.wch = px2char(col.wpx);
8235 if(typeof col.wch == 'number') rec += Math.round(col.wch);
9106 function wk1_parse_rc(B, V, col) {
9110 return (rel ? "" : "$") + (col ? encode_col(V) : encode_row(V));
12818 var col = blob.read_shift(opts && opts.biff == 2 ? 1 : 2);
12819 return [row, col];
15145 function col_obj_w(C/*:number*/, col) { argument
15149 if(col.MDW) MDW = col.MDW;
15150 if(col.width != null) p.customWidth = 1;
15151 else if(col.wpx != null) wch = px2char(col.wpx);
15152 else if(col.wch != null) wch = col.wch;
15154 else if(col.width != null) p.width = col.width;
15155 if(col.hidden) p.hidden = true;
15156 if(col.level != null) { p.outlineLevel = p.level = col.level; }
15249 var colregex = /<(?:\w:)?col\b[^>]*[\/]?>/g;
15292 /* 18.3.1.13 col CT_Col */
15447 var o = ["<cols>"], col;
15449 if(!(col = cols[i])) continue;
15450 o[o.length] = (writextag('col', null, col_obj_w(i, col)));
16310 function write_BrtColInfo(C/*:number*/, col, o) { argument
16312 var p = col_obj_w(C, col);
16318 if(col.hidden) flags |= 0x01;
16320 if(col.level) flags |= (col.level << 8);
16352 o.write_shift(4, 0); // view first col
16935 var col/*:Array<number|string>*/ = [];
16943 col[+q[1]] = num ? +q[2] : q[2];
16951 return [col, nf, f];
16960 var C = 0, R = 0, col = "A";
16968 col = encode_col(C);
16970 cs[col + encode_row(i)] = {t:'n', v:n, z:cache[1] };
21198 /*::[*/0x0070/*::]*/: { /* n:"", */ }, // includes default col width
21372 cols.forEach(function(col, idx) { argument
21373 if(++cnt <= 256 && col) {
21374 write_biff_rec(ba, 0x007d /* ColInfo */, write_ColInfo(col_obj_w(idx, col), idx));
24045 throw new Error("Invalid col varint ".concat(pb[7][0].data));