Lines Matching refs:CFB

1384 /*exported CFB */
1495 /* [MS-CFB] v20171201 */
1496 var CFB = /*#__PURE__*/(function _CFB(){ function
1499 /* [MS-CFB] 2.6.4 */
1596 if(file.length < 512) throw new Error("CFB file size " + file.length + " < 512");
1607 /* [MS-CFB] 2.2 Compound File Header */
1677 /* [MS-CFB] 2.6.1 Compound File Directory Entry */
1694 /* [MS-CFB] 2.2 Compound File Header -- read up to major version */
1739 /* [MS-CFB] 2.6.4 Red-Black Tree */
1855 /* [MS-CFB] 2.6.1 Compound File Directory Entry */
1933 if(cfb.FullPaths.length !== cfb.FileIndex.length) throw new Error("inconsistent CFB structure");
1943 if(CFB.find(cfb, "/" + nm)) return;
2191 /* [MS-CFB] 2.6.4 (Unicode 3.0.1 case conversion) */
2211 /** CFB Constants */
3162 var file = !unsafe && CFB.find(cfb, name);
3173 if(!unsafe) CFB.utils.cfb_gc(cfb);
3188 var file = CFB.find(cfb, name);
3199 var file = CFB.find(cfb, old_name);
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(); }
3592 case "base64": return CFB.read(d, { type: "base64" });
3593 case "binary": return CFB.read(d, { type: "binary" });
3594 case "buffer": case "array": return CFB.read(d, { type: "buffer" });
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");
12481 var newcfb = CFB.utils.cfb_new({ root: "R" });
12486 CFB.utils.cfb_add(newcfb, newpath, cfb.FileIndex[i].content);
12488 return CFB.write(newcfb);
12496 CFB.utils.cfb_add(cfb, newpath, vba.FileIndex[i].content);
19760 var DSI = CFB.find(cfb, '/!DocumentSummaryInformation');
19767 var SI = CFB.find(cfb, '/!SummaryInformation');
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…
19810 if(CFB.find(cfb, '/encryption')) throw new Error("File is password-protected");
19811 CompObj = CFB.find(cfb, '!CompObj');
19812 WB = CFB.find(cfb, '/Workbook') || CFB.find(cfb, '/Book');
19832 …else if((_data=CFB.find(cfb, 'PerfectOffice_MAIN')) && _data.content) WorkbookP = WK_.to_workbook(…
19834 …else if((_data=CFB.find(cfb, 'NativeContent_MAIN')) && _data.content) WorkbookP = WK_.to_workbook(…
19836 …else if((_data=CFB.find(cfb, 'MN0')) && _data.content) throw new Error("Unsupported Works 4 for Ma…
19838 …if(options.bookVBA && cfb.FullPaths && CFB.find(cfb, '/_VBA_PROJECT_CUR/VBA/dir')) WorkbookP.vbara…
19853 var cfb = CFB.utils.cfb_new({root:"R"});
19862 default: throw new Error("invalid type " + o.bookType + " for XLS CFB");
19864 CFB.utils.cfb_add(cfb, wbpath, write_biff_buf(wb, o));
19867 …if(o.biff == 8 && wb.vbaraw) fill_vba_xls(cfb, CFB.read(wb.vbaraw, {type: typeof wb.vbaraw == "str…
24354 var cfb = CFB.read(opts.numbers, { type: "base64" });
24373 var entry = CFB.find(cfb, deps[id].location);
24385 var entry = CFB.find(cfb, deps[id].location);
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])));
24699CFB.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();
25150 var index_zip = CFB.find(zip, 'Index.zip');
25328 var f = 'Workbook', data = CFB.find(cfb, f);
25331 …data = CFB.find(cfb, f); if(!data || !data.content) throw new Error("ECMA-376 Encrypted file missi…
25336 …data = CFB.find(cfb, f); if(!data || !data.content) throw new Error("ECMA-376 Encrypted file missi…
25343 …data = CFB.find(cfb, f); if(!data || !data.content) throw new Error("ECMA-376 Encrypted file missi…
25350 …data = CFB.find(cfb, f); if(!data || !data.content) throw new Error("ECMA-376 Encrypted file missi…
25355 …data = CFB.find(cfb, f); if(!data || !data.content) throw new Error("ECMA-376 Encrypted file missi…
25360 …data = CFB.find(cfb, f); if(!data || !data.content) throw new Error("ECMA-376 Encrypted file missi…
25674 if(CFB.find(cfb, "EncryptedPackage")) return parse_xlsxcfb(cfb, opts);
25747 …= 0xA1 && n[5] === 0xB1 && n[6] === 0x1A && n[7] === 0xE1) return read_cfb(CFB.read(d, o), o); bre…
25789 case "file": return write_dl(o.file, CFB.write(cfb, {type:has_buf ? 'buffer' : ""}));
25793 return CFB.write(cfb, o);
25829 …var out = z.FullPaths ? CFB.write(z, {fileType:"zip", type: /*::(*/{"nodebuffer": "buffer", "strin…
26552 XLSX.CFB = CFB;
26571 CFB
26590 CFB