Lines Matching refs:utils

71 …if(data.charCodeAt(0) === 0xFF && data.charCodeAt(1) === 0xFE) { return $cptable.utils.decode(1200…
76 return $cptable.utils.decode(current_codepage, [x&255,x>>8])[0];
79 return $cptable.utils.decode(current_ansi, [x])[0];
3173 if(!unsafe) CFB.utils.cfb_gc(cfb);
3215 exports.utils = {
3581 return CFB.utils.cfb_add(zip, path, res);
3583 CFB.utils.cfb_add(zip, path, content);
3588 function zip_new() { return CFB.utils.cfb_new(); }
3967 …__utf16le = function(b/*:RawBytes|CFBlob*/,s/*:number*/,e/*:number*/) { return $cptable.utils.deco…
3968 …__utf8 = function(b/*:RawBytes|CFBlob*/,s/*:number*/,e/*:number*/) { return $cptable.utils.decode(…
3969 …,i/*:number*/) { var len = __readUInt32LE(b,i); return len > 0 ? $cptable.utils.decode(current_ans…
3970 …,i/*:number*/) { var len = __readUInt32LE(b,i); return len > 0 ? $cptable.utils.decode(current_cod…
3971 …/*:number*/) { var len = 2*__readUInt32LE(b,i); return len > 0 ? $cptable.utils.decode(1200, b.sli…
3972 …,i/*:number*/) { var len = __readUInt32LE(b,i); return len > 0 ? $cptable.utils.decode(1200, b.sli…
3973 …,i/*:number*/) { var len = __readUInt32LE(b,i); return len > 0 ? $cptable.utils.decode(65001, b.sl…
3998 …if(typeof $cptable !== 'undefined') o = $cptable.utils.decode(current_codepage, this.slice(this.l,…
4034 o = $cptable.utils.decode(current_codepage, this.slice(this.l, this.l + size));
4084 var cpp = $cptable.utils.encode(current_ansi, val.charAt(i));
4089 cpp = $cptable.utils.encode(current_codepage, val);
6262 …if(CLSID !== CFB.utils.consts.HEADER_CLSID && CLSID !== clsid) throw new Error("Bad PropertySet CL…
6291 hdr.write_shift(16, CFB.utils.consts.HEADER_CLSID, "hex");
7763 …field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l…
7817 var s = typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, dd) : a2s(dd);
7927 … (typeof $cptable !== "undefined" && typeof col[j] == "string" ? $cptable.utils.encode(current_ans…
8119 …" && ((opts||{}).type != "string") && (opts||{}).codepage) val = $cptable.utils.decode(opts.codepa…
8657 …else if(opts.codepage && typeof $cptable !== 'undefined') str = $cptable.utils.decode(opts.codepag…
8666 …able !== 'undefined' && opts.codepage) str = $cptable.utils.decode(opts.codepage, $cptable.utils.…
10062 if(typeof $cptable !== 'undefined') return $cptable.utils.encode(current_ansi, str);
12481 var newcfb = CFB.utils.cfb_new({ root: "R" });
12486 CFB.utils.cfb_add(newcfb, newpath, cfb.FileIndex[i].content);
12496 CFB.utils.cfb_add(cfb, newpath, vba.FileIndex[i].content);
18070 if(typeof $cptable !== 'undefined') str = $cptable.utils.decode(65001, char_codes(str));
19799 …if(SEntries.length) CFB.utils.cfb_add(cfb, "/\u0005SummaryInformation", write_PropertySetStream(SE…
19800 …if(DSEntries.length || CEntries2.length) CFB.utils.cfb_add(cfb, "/\u0005DocumentSummaryInformation…
19823 var WorkbookP = XLSX.utils.book_new();
19853 var cfb = CFB.utils.cfb_new({root:"R"});
19864 CFB.utils.cfb_add(cfb, wbpath, write_biff_buf(wb, o));
24573 CFB.utils.cfb_add(cfb, deps[newref].location, compress_iwa_file(write_iwa_file([msg])));
24636 CFB.utils.cfb_add(cfb, deps[newref].location, compress_iwa_file(write_iwa_file([msg])));
24699 …CFB.utils.cfb_add(cfb, "/Index/Tables/Tile-".concat(newtileref, ".iwa"), compress_iwa_file(write_i…
24834 CFB.utils.cfb_del(cfb, deps[tileref].location);
24895 CFB.utils.cfb_add(cfb, "/Index/Tables/Tile-".concat(newtileid, ".iwa"), tilecontent);
25141 var _zip = CFB.utils.cfb_new();
25713 …d = typeof $cptable !== "undefined" ? $cptable.utils.decode(1200, d.slice(2), 'str') : utf16leread…
26141 var o = $cptable.utils.encode(1200, s, 'str');
26547 XLSX.utils = utils1;
26566 utils,
26585 utils,