Lines Matching refs:Props

5633 	if(!cp && !opts.Props) return o.join("");
5642 var v = opts.Props && opts.Props[f[1]] != null ? opts.Props[f[1]] : cp ? cp[f[1]] : null;
5864 function xlml_set_prop(Props, tag/*:string*/, val) { argument
5867 Props[tag] = val;
5870 function xlml_write_docprops(Props, opts) { argument
5877 if(Props[p[1]] == null) return;
5878 var m = opts && opts.Props && opts.Props[p[1]] != null ? opts.Props[p[1]] : Props[p[1]];
5889 function xlml_write_custprops(Props, Custprops/*::, opts*/) { argument
5893 if(Props) keys(Props).forEach(function(k) {
5894 /*:: if(!Props) return; */
5895 if(!Object.prototype.hasOwnProperty.call(Props, k)) return;
5900 var m = Props[k];
5910 if(Props && Object.prototype.hasOwnProperty.call(Props, k)) return;
6086 var Props = [], i = 0;
6092 Props[i] = [PropID, Offset + start_addr];
6094 Props.sort(function(x,y) { return x[1] - y[1]; });
6097 if(blob.l !== Props[i][1]) {
6099 if(i>0 && PIDSI) switch(PIDSI[Props[i-1][0]].t) {
6100 case 0x02 /*VT_I2*/: if(blob.l+2 === Props[i][1]) { blob.l+=2; fail = false; } break;
6101 case 0x50 /*VT_STRING*/: if(blob.l <= Props[i][1]) { blob.l=Props[i][1]; fail = false; } break;
6102 …case 0x100C /*VT_VECTOR|VT_VARIANT*/: if(blob.l <= Props[i][1]) { blob.l=Props[i][1]; fail = false…
6104 if((!PIDSI||i==0) && blob.l <= Props[i][1]) { fail=false; blob.l = Props[i][1]; }
6105 …if(fail) throw new Error("Read Error: Expected address " + Props[i][1] + ' at ' + blob.l + ' :' + …
6108 if(Props[i][0] == 0 && Props.length > i+1 && Props[i][1] == Props[i+1][1]) continue; // R9
6109 var piddsi = PIDSI[Props[i][0]];
6138 if(Props[i][0] === 0x1) {
6143 blob.l = Props[Dictionary][1];
6147 } else if(Props[i][0] === 0) {
6148 if(CodePage === 0) { Dictionary = i; blob.l = Props[i+1][1]; continue; }
6151 var name = DictObj[Props[i][0]];
18110 var Props = {}, Custprops = {}, pidx = 0, cp = []; variable
18319 else if(Rn[1]==="/") xlml_set_prop(Props, raw_Rn3, str.slice(pidx, Rn.index));
18812 out.Props = Props;
18832 if(wb.Props) o.push(xlml_write_docprops(wb.Props, opts));
18834 if(wb.Custprops) o.push(xlml_write_custprops(wb.Props, wb.Custprops, opts));
19783 if(wb.Props) {
19784 Keys = keys(wb.Props);
19786 ….hasOwnProperty.call(SummaryRE, Keys[i]) ? SEntries : CEntries).push([Keys[i], wb.Props[Keys[i]]]);
19791 …for(i = 0; i < Keys.length; ++i) if(!Object.prototype.hasOwnProperty.call((wb.Props||{}), Keys[i])…
19844 WorkbookP.Props = WorkbookP.Custprops = props; /* TODO: split up properties */
19865 if(o.biff == 8 && (wb.Props || wb.Custprops)) write_xls_props(wb, cfb);
21584 if(!wb.Props) wb.Props = {};
22622 if(safegetzipfile(zip, 'meta.xml')) wb.Props = parse_core_props(getzipdata(zip, 'meta.xml'));
25221 if(opts.bookProps) { out.Props = props; out.Custprops = custprops; }
25292 Props: props, property in out
25395 if(!wb.Props) wb.Props = {};
25398 zip_add_file(zip, f, write_core_props(wb.Props, opts));
25402 /*::if(!wb.Props) throw "unreachable"; */
25404 if(wb.Props && wb.Props.SheetNames){/* empty */}
25405 else if(!wb.Workbook || !wb.Workbook.Sheets) wb.Props.SheetNames = wb.SheetNames;
25410 wb.Props.SheetNames = _sn;
25412 wb.Props.Worksheets = wb.Props.SheetNames.length;
25413 zip_add_file(zip, f, write_ext_props(wb.Props, opts));
25417 if(wb.Custprops !== wb.Props && keys(wb.Custprops||{}).length > 0) {
25530 if(!wb.Props) wb.Props = {};
25533 zip_add_file(zip, f, write_core_props(wb.Props, opts));
25537 /*::if(!wb.Props) throw "unreachable"; */
25539 if(wb.Props && wb.Props.SheetNames){/* empty */}
25540 else if(!wb.Workbook || !wb.Workbook.Sheets) wb.Props.SheetNames = wb.SheetNames;
25545 wb.Props.SheetNames = _sn;
25547 wb.Props.Worksheets = wb.Props.SheetNames.length;
25548 zip_add_file(zip, f, write_ext_props(wb.Props, opts));
25552 if(wb.Custprops !== wb.Props && keys(wb.Custprops||{}).length > 0) {