Lines Matching refs:path

2192 function find(cfb/*:CFBContainer*/, path/*:string*/)/*:?CFBEntry*/ {
2196 if(path.charCodeAt(0) === 47 /* "/" */) { k = true; path = UCFullPaths[0].slice(0, -1) + path; }
2197 else k = path.indexOf("/") !== -1;
2198 var UCPath/*:string*/ = path.toUpperCase();
3294 function read_binary(path/*:string*/) { argument
3295 if(typeof _fs !== 'undefined') return _fs.readFileSync(path);
3296 if(typeof Deno !== 'undefined') return Deno.readFileSync(path);
3300 var infile = File(path); infile.open("r"); infile.encoding = "binary";
3304 throw new Error("Cannot access file " + path);
3573 function zip_add_file(zip, path, content) { argument
3581 return CFB.utils.cfb_add(zip, path, res);
3583 CFB.utils.cfb_add(zip, path, content);
3585 else zip.file(path, content);
3599 function resolve_path(path/*:string*/, base/*:string*/)/*:string*/ { argument
3600 if(path.charAt(0) == "/") return path.slice(1);
3602 if(base.slice(-1) != "/") result.pop(); // folder path
3603 var target = path.split('/');
5522 …if(FEtag.path == '/' && FEtag.type !== CT_ODS) throw new Error("This OpenDocument is not a spreads…
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…
11669 …o[o.length] = '<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/…
11676 …o[o.length] = '<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/><…
12118 writextag("v:path", null, {gradientshapeok:"t", 'o:connecttype':"rect"})
12119 ].join(""), {id:"_x0000_t202", coordsize:csize.join(","), 'o:spt':202, path:bbox}));
12145 writextag("v:path", null, {'o:connecttype':"none"}),
18451 case 'path' /*case 'Path'*/: break;
22911 // TODO: choose correct parent path format based on link delimiters
25084 function safe_parse_sheet(zip, path/*:string*/, relsPath/*:string*/, sheet, idx/*:number*/, sheetRe… argument
25086 sheetRels[sheet]=parse_rels(getzipstr(zip, relsPath, true), path);
25087 var data = getzipdata(zip, path);
25090 … case 'sheet': _ws = parse_ws(data, path, idx, opts, sheetRels[sheet], wb, themes, styles); break;
25091 case 'chart': _ws = parse_cs(data, path, idx, opts, sheetRels[sheet], wb, themes, styles);
25093 var dfile = resolve_path(_ws['!drawel'].Target, path);
25100 … case 'macro': _ws = parse_ms(data, path, idx, opts, sheetRels[sheet], wb, themes, styles); break;
25101 … case 'dialog': _ws = parse_ds(data, path, idx, opts, sheetRels[sheet], wb, themes, styles); break;
25111 dfile = resolve_path(sheetRels[sheet][n].Target, path);
25117 dfile = resolve_path(sheetRels[sheet][n].Target, path);
25232 var path, relsPath; variable
25265 path = 'xl/' + (wbrels[i][1]).replace(/[\/]?xl\//, "");
25266 if(!safegetzipfile(zip, path)) path = wbrels[i][1];
25267 if(!safegetzipfile(zip, path)) path = wbrelsfile.replace(/_rels\/.*$/,"") + wbrels[i][1];
25270 path = 'xl/worksheets/sheet'+(i+1-nmode)+"." + wbext;
25271 path = path.replace(/sheet0\./,"sheet.");
25273 relsPath = path.replace(/^(.*)(\/)([^\/]*)$/, "$1/_rels/$3.rels");
25286 …safe_parse_sheet(zip, path, relsPath, props.SheetNames[i], i, sheetRels, sheets, stype, opts, wb, …