Home
last modified time | relevance | path

Searched refs:colwidths (Results 1 – 2 of 2) sorted by relevance

/plugin/tablelayout/script/
H A Dtablelayout_functions.js57 exports.styleColumnWidths = function ($table, colwidths) { argument
62 if (colwidths[i]) {
63 $col.css('width', colwidths[i]);
69 if (colwidths.length === numCols) {
/plugin/xlsx2dw/packages/xlsx/
H A Dxlsx.mjs7908 var colwidths/*:Array<number>*/ = [];
7942 colwidths[i] = guess == 'C' || _guess == 'N' ? maxlen : (_RLEN[guess] || 0);
7943 rlen += colwidths[i];
7968 hf.write_shift(1, colwidths[i] || _RLEN[coltypes[i]] || 0);
7975 j += (colwidths[i] || _RLEN[coltypes[i]] || 0);
7992 for(hcnt=0; hcnt < colwidths[j]-_n.length; ++hcnt) rout.write_shift(1, 0x20);
8004 var _s = String(data[i][j] != null ? data[i][j] : "").slice(0, colwidths[j]);
8006 _l += colwidths[j] - rout.l;