Lines Matching refs:map

124         var map = options.map || function (datum) {
163 worksheet.addRow(data.map(map));
202 var map = options.map || function (value) {
245 csvStream.write(values.map(map));
988 return this.model.value.richText.map(function (t) {
2252 return _.map(this.matrixMap, function (matrix, name) {
2336 var ranges = matrix.map(function (cell) {
2338 }).filter(Boolean).map(function (range) {
2389 return _.map(this.matrixMap, function (matrix, name) {
4198 worksheets: this.worksheets.map(function (worksheet) {
4201 sheets: this.worksheets.map(function (ws) {
5272 media: this._media.map(function (medium) {
5276 tables: Object.values(this.tables).map(function (table) {
5324 this._media = value.media.map(function (medium) {
5562 value: function map(callback) {
6481 return Buffer.concat(this.buffers.map(function (rwBuf) {
6523 return Promise.all(_this.pipes.map(write));
6724 buffers = this.buffers.map(function (buf) {
6935 map: function map(obj, cb) {
6938 return obj.map(cb);
6941 return Object.keys(obj).map(function (key) {
7981 if (this.map) {
7982 Object.values(this.map).forEach(function (xform) {
8804 _this.map = {
8886 this.map.fileVersion.render(xmlStream);
8887 this.map.workbookPr.render(xmlStream, model.properties);
8888 this.map.bookViews.render(xmlStream, model.views);
8889 this.map.sheets.render(xmlStream, model.sheets);
8890 this.map.definedNames.render(xmlStream, model.definedNames);
8891 this.map.calcPr.render(xmlStream, model.calcProperties);
8907 this.parser = this.map[node.name];
8937 sheets: this.map.sheets.model,
8938 properties: this.map.workbookPr.model || {},
8939 views: this.map.bookViews.model,
8943 if (this.map.definedNames.model) {
8944 this.model.definedNames = this.map.definedNames.model;
8957 var rels = (model.workbookRels || []).reduce(function (map, rel) {
8958 map[rel.Id] = rel;
8959 return map;
9201 this.map = {
9225 _this.map.comment.render(xmlStream, comment);
9244 this.parser = this.map.comment;
9593 _this.map = {
9620 this.map['x:MoveWithCells'].render(xmlStream, editAs, POSITION_TYPE);
9621 this.map['x:SizeWithCells'].render(xmlStream, editAs, POSITION_TYPE);
9622 this.map['x:Anchor'].render(xmlStream, model);
9623 this.map['x:Locked'].render(xmlStream, protection.locked);
9625 this.map['x:LockText'].render(xmlStream, protection.lockText);
9644 this.parser = this.map[node.name];
9685 …var position = Object.assign({}, this.map['x:MoveWithCells'].model, this.map['x:SizeWithCells'].mo…
9688 this.model.anchor = this.map['x:Anchor'].text;
9689 this.model.protection.locked = this.map['x:Locked'].text;
9690 this.model.protection.lockText = this.map['x:LockText'].text;
9748 _this.map = {
9784 _this2.map['v:shape'].render(xmlStream, item, index);
9805 this.parser = this.map[node.name];
9851 _this3.map['xdr:twoCellAnchor'].reconcile(anchor, options);
9853 _this3.map['xdr:oneCellAnchor'].reconcile(anchor, options);
9916 _this.map = {
9937 this.map['v:textbox'].render(xmlStream, model);
9938 this.map['x:ClientData'].render(xmlStream, model);
9963 this.parser = this.map[node.name];
9994 … this.model.margins.inset = this.map['v:textbox'].model && this.map['v:textbox'].model.inset;
9995 …this.model.protection = this.map['x:ClientData'].model && this.map['x:ClientData'].model.protectio…
9996 … this.model.anchor = this.map['x:ClientData'].model && this.map['x:ClientData'].model.anchor;
9997 … this.model.editAs = this.map['x:ClientData'].model && this.map['x:ClientData'].model.editAs;
10075 return (inset || '').split(',').map(function (margin) {
10093 inset = inset.map(function (margin) {
10202 this.parser = this.parser || this.map[node.name];
10448 _this.map = {
10469 this.map.HeadingPairs.render(xmlStream, model.worksheets);
10470 this.map.TitleOfParts.render(xmlStream, model.worksheets);
10471 this.map.Company.render(xmlStream, model.company || '');
10472 this.map.Manager.render(xmlStream, model.manager);
10492 this.parser = this.map[node.name];
10524 worksheets: this.map.TitleOfParts.model,
10525 company: this.map.Company.model,
10526 manager: this.map.Manager.model
10760 _this.map = {
10823 this.map['dc:creator'].render(xmlStream, model.creator);
10824 this.map['dc:title'].render(xmlStream, model.title);
10825 this.map['dc:subject'].render(xmlStream, model.subject);
10826 this.map['dc:description'].render(xmlStream, model.description);
10827 this.map['dc:identifier'].render(xmlStream, model.identifier);
10828 this.map['dc:language'].render(xmlStream, model.language);
10829 this.map['cp:keywords'].render(xmlStream, model.keywords);
10830 this.map['cp:category'].render(xmlStream, model.category);
10831 this.map['cp:lastModifiedBy'].render(xmlStream, model.lastModifiedBy);
10832 this.map['cp:lastPrinted'].render(xmlStream, model.lastPrinted);
10833 this.map['cp:revision'].render(xmlStream, model.revision);
10834 this.map['cp:version'].render(xmlStream, model.version);
10835 this.map['cp:contentStatus'].render(xmlStream, model.contentStatus);
10836 this.map['cp:contentType'].render(xmlStream, model.contentType);
10837 this.map['dcterms:created'].render(xmlStream, model.created);
10838 this.map['dcterms:modified'].render(xmlStream, model.modified);
10855 this.parser = this.map[node.name];
10887 creator: this.map['dc:creator'].model,
10888 title: this.map['dc:title'].model,
10889 subject: this.map['dc:subject'].model,
10890 description: this.map['dc:description'].model,
10891 identifier: this.map['dc:identifier'].model,
10892 language: this.map['dc:language'].model,
10893 keywords: this.map['cp:keywords'].model,
10894 category: this.map['cp:category'].model,
10895 lastModifiedBy: this.map['cp:lastModifiedBy'].model,
10896 lastPrinted: this.map['cp:lastPrinted'].model,
10897 revision: this.map['cp:revision'].model,
10898 contentStatus: this.map['cp:contentStatus'].model,
10899 contentType: this.map['cp:contentType'].model,
10900 created: this.map['dcterms:created'].model,
10901 modified: this.map['dcterms:modified'].model
11042 _this.map = {
11057 _this2.map.Relationship.render(xmlStream, relationship);
11075 this.parser = this.map[node.name];
11179 this.parser = this.map[node.name];
11260 _this.map = {
11270 this.map['a:blip'].render(xmlStream, model); // TODO: options for this + parsing
11291 this.parser = this.map[node.name];
11318 this.model = this.map['a:blip'].model;
11552 _this.map = {
11566 this.map['a:hlinkClick'].render(xmlStream, model);
11567 this.map['a:extLst'].render(xmlStream, model);
11584 this.parser = this.map[node.name];
11611 this.model = this.map['a:hlinkClick'].model;
11671 _this.map = {
11696 this.map['xdr:col'].render(xmlStream, model.nativeCol);
11697 this.map['xdr:colOff'].render(xmlStream, model.nativeColOff);
11698 this.map['xdr:row'].render(xmlStream, model.nativeRow);
11699 this.map['xdr:rowOff'].render(xmlStream, model.nativeRowOff);
11716 this.parser = this.map[node.name];
11748 nativeCol: this.map['xdr:col'].model,
11749 nativeColOff: this.map['xdr:colOff'].model,
11750 nativeRow: this.map['xdr:row'].model,
11751 nativeRowOff: this.map['xdr:rowOff'].model
11818 _this.map = {
11832 var anchor = _this2.map[item.anchorType];
11846 var anchor = _this3.map[item.anchorType];
11868 this.parser = this.map[node.name];
11914 _this4.map['xdr:twoCellAnchor'].reconcile(anchor, options);
11916 _this4.map['xdr:oneCellAnchor'].reconcile(anchor, options);
12069 _this.map = {};
12245 _this.map = {
12256 this.map['xdr:cNvPr'].render(xmlStream, model);
12257 this.map['xdr:cNvPicPr'].render(xmlStream, model);
12274 this.parser = this.map[node.name];
12301 this.model = this.map['xdr:cNvPr'].model;
12366 _this.map = {
12384 this.map['xdr:pic'].prepare(model.picture, options);
12392 this.map['xdr:from'].render(xmlStream, model.range.tl);
12393 this.map['xdr:ext'].render(xmlStream, model.range.ext);
12394 this.map['xdr:pic'].render(xmlStream, model.picture);
12395 this.map['xdr:clientData'].render(xmlStream, {});
12411 this.model.range.tl = this.map['xdr:from'].model;
12412 this.model.range.ext = this.map['xdr:ext'].model;
12413 this.model.picture = this.map['xdr:pic'].model;
12484 _this.map = {
12501 this.map['xdr:nvPicPr'].render(xmlStream, model);
12502 this.map['xdr:blipFill'].render(xmlStream, model);
12503 this.map['xdr:spPr'].render(xmlStream, model);
12520 this.parser = this.map[node.name];
12642 _this.map = {
12660 this.map['xdr:pic'].prepare(model.picture, options);
12668 this.map['xdr:from'].render(xmlStream, model.range.tl);
12669 this.map['xdr:to'].render(xmlStream, model.range.br);
12670 this.map['xdr:pic'].render(xmlStream, model.picture);
12671 this.map['xdr:clientData'].render(xmlStream, {});
12687 this.model.range.tl = this.map['xdr:from'].model;
12688 this.model.range.br = this.map['xdr:to'].model;
12689 this.model.picture = this.map['xdr:pic'].model;
13678 _this.map = {
13813 _this.map = {
13902 _this.map = {
14011 _this.map = {
14129 _this.map = {
14341 _this.map = {
14651 _this.map = {
14991 _this.map = {
15077 _this.map = {
15100 _this2.map.cfRule.render(xmlStream, rule);
15197 return Math.max.apply(Math, [p].concat(_toConsumableArray(cf.rules.map(function (rule) {
15328 _this.map = {
15461 _this.map = {
15508 _this2.map = {
15518 this.map.ext.render(xmlStream, model);
15655 _this.map = {
15923 var dvList = _.map(model, function (dataValidation, address) {
15947 return dvList.map(function (dv) {
16413 _this.map = {
16470 _this2.map = {
16947 return _.map(this.merges, function (merge) {
17754 _this.map = {
17769 var cellXform = this.map.c;
17808 var cellXform = this.map.c;
17824 var spans = node.attributes.spans ? node.attributes.spans.split(':').map(function (span) {
17861 this.parser = this.map[node.name];
17905 var cellXform = this.map.c;
18073 _this.map = {
18088 inner = this.map.tabColor.render(xmlStream, model.tabColor) || inner;
18089 inner = this.map.pageSetUpPr.render(xmlStream, model.pageSetup) || inner;
18090 inner = this.map.outlinePr.render(xmlStream, model.outlineProperties) || inner;
18113 if (this.map[node.name]) {
18114 this.parser = this.map[node.name];
18142 if (this.map.tabColor.model || this.map.pageSetUpPr.model || this.map.outlinePr.model) {
18145 if (this.map.tabColor.model) {
18146 this.model.tabColor = this.map.tabColor.model;
18149 if (this.map.pageSetUpPr.model) {
18150 this.model.pageSetup = this.map.pageSetUpPr.model;
18153 if (this.map.outlinePr.model) {
18154 this.model.outlineProperties = this.map.outlinePr.model;
18819 _this.map = {
18883 this.map.cols.prepare(model.cols, options);
18884 this.map.sheetData.prepare(model.rows, options);
18885 this.map.conditionalFormatting.prepare(model.conditionalFormattings, options);
19019 this.map.extLst.prepare(model, options);
19052 this.map.sheetPr.render(xmlStream, sheetPropertiesModel);
19053 this.map.dimension.render(xmlStream, model.dimensions);
19054 this.map.sheetViews.render(xmlStream, model.views);
19055 this.map.sheetFormatPr.render(xmlStream, sheetFormatPropertiesModel);
19056 this.map.cols.render(xmlStream, model.cols);
19057 this.map.sheetData.render(xmlStream, model.rows);
19058 …this.map.sheetProtection.render(xmlStream, sheetProtectionModel); // Note: must be after sheetData…
19060 this.map.autoFilter.render(xmlStream, model.autoFilter);
19061 this.map.mergeCells.render(xmlStream, model.mergeCells);
19062 …this.map.conditionalFormatting.render(xmlStream, model.conditionalFormattings); // Note: must be b…
19064 …this.map.dataValidations.render(xmlStream, model.dataValidations); // For some reason hyperlinks h…
19066 this.map.hyperlinks.render(xmlStream, model.hyperlinks);
19067 … this.map.printOptions.render(xmlStream, printOptionsModel); // Note: must be before pageMargins
19069 this.map.pageMargins.render(xmlStream, pageMarginsModel);
19070 this.map.pageSetup.render(xmlStream, model.pageSetup);
19071 this.map.headerFooter.render(xmlStream, model.headerFooter);
19072 this.map.rowBreaks.render(xmlStream, model.rowBreaks);
19073 this.map.drawing.render(xmlStream, model.drawing); // Note: must be after rowBreaks
19075 this.map.picture.render(xmlStream, model.background); // Note: must be after drawing
19077 this.map.tableParts.render(xmlStream, model.tables);
19078 this.map.extLst.render(xmlStream, model);
19102 _.each(this.map, function (xform) {
19109 this.parser = this.map[node.name];
19138 var properties = this.map.sheetFormatPr.model || {};
19140 if (this.map.sheetPr.model && this.map.sheetPr.model.tabColor) {
19141 properties.tabColor = this.map.sheetPr.model.tabColor;
19144 if (this.map.sheetPr.model && this.map.sheetPr.model.outlineProperties) {
19145 properties.outlineProperties = this.map.sheetPr.model.outlineProperties;
19149 …fitToPage: this.map.sheetPr.model && this.map.sheetPr.model.pageSetup && this.map.sheetPr.model.pa…
19150 margins: this.map.pageMargins.model
19152 …var pageSetup = Object.assign(sheetProperties, this.map.pageSetup.model, this.map.printOptions.mod…
19153 …attings = mergeConditionalFormattings(this.map.conditionalFormatting.model, this.map.extLst.model …
19155 dimensions: this.map.dimension.model,
19156 cols: this.map.cols.model,
19157 rows: this.map.sheetData.model,
19158 mergeCells: this.map.mergeCells.model,
19159 hyperlinks: this.map.hyperlinks.model,
19160 dataValidations: this.map.dataValidations.model,
19162 views: this.map.sheetViews.model,
19164 headerFooter: this.map.headerFooter.model,
19165 background: this.map.picture.model,
19166 drawing: this.map.drawing.model,
19167 tables: this.map.tableParts.model,
19171 if (this.map.autoFilter.model) {
19172 this.model.autoFilter = this.map.autoFilter.model;
19175 if (this.map.sheetProtection.model) {
19176 this.model.sheetProtection = this.map.sheetProtection.model;
19228 this.map.cols.reconcile(model.cols, options);
19229 this.map.sheetData.reconcile(model.rows, options);
19230 this.map.conditionalFormatting.reconcile(model.conditionalFormattings, options);
19268 model.tables = (model.tables || []).map(function (tablePart) {
19831 _this.map = {
19847 var r = this.map.r;
19852 this.map.t.render(xmlStream, model.text);
19875 this.parser = this.map[name];
20148 _this.map = {
20166 _this2.map.r.render(xmlStream, text);
20169 this.map.t.render(xmlStream, '');
20172 this.map.t.render(xmlStream, model);
20192 this.parser = this.map[name];
20791 _this.map = {
20807 this.map.color.render(xmlStream, color);
20838 this.parser = this.map.color;
20865 if (this.map.color.model) {
20870 this.model.color = this.map.color.model;
20907 _this2.map = {
20944 add(model.left, this.map.left);
20945 add(model.right, this.map.right);
20946 add(model.top, this.map.top);
20947 add(model.bottom, this.map.bottom);
20948 add(model.diagonal, this.map.diagonal);
20967 this.parser = this.map[node.name];
21008 add('left', this.map.left.model);
21009 add('right', this.map.right.model);
21010 add('top', this.map.top.model);
21011 add('bottom', this.map.bottom.model);
21012 add('diagonal', this.map.diagonal.model, {
21201 _this.map = {
21219 this.map.font.render(xmlStream, model.font);
21223 this.map.numFmt.render(xmlStream, model.numFmt);
21227 this.map.fill.render(xmlStream, model.fill);
21231 this.map.alignment.render(xmlStream, model.alignment);
21235 this.map.border.render(xmlStream, model.border);
21239 this.map.protection.render(xmlStream, model.protection);
21259 this.parser = this.map[node.name];
21288 alignment: this.map.alignment.model,
21289 border: this.map.border.model,
21290 fill: this.map.fill.model,
21291 font: this.map.font.model,
21292 numFmt: this.map.numFmt.model,
21293 protection: this.map.protection.model
21353 _this.map = {
21364 this.map.color.render(xmlStream, model.color);
21383 this.parser = this.map.color;
21429 _this2.map = {
21443 this.map.fgColor.render(xmlStream, model.fgColor);
21447 this.map.bgColor.render(xmlStream, model.bgColor);
21469 this.parser = this.map[node.name];
21529 _this3.map = {
21590 var stopXform = this.map.stop;
21634 this.parser = this.map.stop;
21690 _this4.map = {
21705 this.map.patternFill.render(xmlStream, model);
21709 this.map.gradientFill.render(xmlStream, model);
21734 this.parser = this.map[node.name];
21842 _this.map = {
21936 _this.map[_this.options.fontNameTag] = {
21949 var map = this.map;
21952 _.each(this.map, function (defn, tag) {
21953 map[tag].xform.render(xmlStream, model[defn.prop]);
21966 if (this.map[node.name]) {
21967 this.parser = this.map[node.name].xform;
21991 var item = this.map[name];
22289 _this.map = {
22340 this.map.alignment.render(xmlStream, model.alignment);
22344 this.map.protection.render(xmlStream, model.protection);
22374 this.parser = this.map.alignment;
22379 this.parser = this.map.protection;
22399 if (this.map.protection === this.parser) {
22489 _this.map = {
22659 this.map.cellStyleXfs.render(xmlStream, [{
22675 this.map.numFmts.render(xmlStream, model.numFmts);
22676 this.map.fonts.render(xmlStream, model.fonts);
22677 this.map.fills.render(xmlStream, model.fills);
22678 this.map.borders.render(xmlStream, model.borders);
22679 this.map.cellStyleXfs.render(xmlStream, [{
22686 this.map.cellXfs.render(xmlStream, model.styles);
22690 this.map.dxfs.render(xmlStream, model.dxfs);
22709 this.parser = this.map[node.name];
22749 add('numFmts', this.map.numFmts);
22750 add('fonts', this.map.fonts);
22751 add('fills', this.map.fills);
22752 add('borders', this.map.borders);
22753 add('styles', this.map.cellXfs);
22754 add('dxfs', this.map.dxfs); // index numFmts
22919 var xml = this.map.style.toXml(style);
22941 var xml = this.map.numFmt.toXml({
22953 var xml = this.map.font.toXml(font);
22968 var xml = this.map.border.toXml(border);
22983 var xml = this.map.fill.toXml(fill);
23295 _this.map = {
23307 _this2.map.filterColumn.prepare(column, {
23321 _this3.map.filterColumn.render(xmlStream, column);
23343 this.parser = this.map[node.name];
23709 _this.map = {
23725 this.map.autoFilter.prepare(model);
23726 this.map.tableColumns.prepare(model.columns, options);
23741 this.map.autoFilter.render(xmlStream, model);
23742 this.map.tableColumns.render(xmlStream, model.columns);
23743 this.map.tableStyleInfo.render(xmlStream, model.style);
23770 this.parser = this.map[node.name];
23803 this.model.columns = this.map.tableColumns.model;
23805 if (this.map.autoFilter.model) {
23806 this.model.autoFilterRef = this.map.autoFilter.model.autoFilterRef;
23807 this.map.autoFilter.model.columns.forEach(function (column, index) {
23812 this.model.style = this.map.tableStyleInfo.model;
24836 return Promise.all(model.media.map( /*#__PURE__*/function () {
25932 return this.headers.map(function (header) {
25938 return this.headers.map(function (header, i) {
25949 return this.headers.map(function (header, i) {
25967 var formattedCols = columns.map(function (field, i) {
26003 return row.map(function (it) {
28061 this.value = value.map(function (item) {
28228 state.reverseArgs = args.map(function (arg) {
28328 this._useArgs(Object.keys(obj).map(function (key) {
28534 content = state.children.map(function (child) {
28555 content = this._createEncoderBuffer(data.map(function (item) {
29237 if (!values) return this.reporter.error('string objid given, but no values map found');
29238 if (!values.hasOwnProperty(id)) return this.reporter.error('objid not found in values map');
29312 if (!values) return this.reporter.error('String int or enum given, but no values map');
29315 return this.reporter.error('Values map doesn\'t contain: ' + JSON.stringify(num));
40808 map: createMethod(1),
44395 n = (a("monthsShort") || e.map(function (t) {
46631 basis = conf.basis.map(function (vec) {
46869 points: pre.naf.points.map(endoMul)
46873 points: pre.doubles.points.map(endoMul)
46909 points: [res].concat(pre.doubles.points.map(obj2point))
46913 points: [res].concat(pre.naf.points.map(obj2point))
47003 points: pre.naf.points.map(negate)
47007 points: pre.doubles.points.map(negate)
55981 function mapToArray(map) {
55983 result = Array(map.size);
55984 map.forEach(function (value, key) {
57350 function getMapData(map, key) {
57351 var data = map.__data__;
57352 return isKeyable(key) ? data[typeof key == 'string' ? 'string' : 'hash'] : data.map;
58539 function mapToArray(map) {
58541 result = Array(map.size);
58542 map.forEach(function (value, key) {
59640 function getMapData(map, key) {
59641 var data = map.__data__;
59642 return isKeyable(key) ? data[typeof key == 'string' ? 'string' : 'hash'] : data.map;
61215 function getMapData(map, key) {
61216 var data = map.__data__;
61217 return isKeyable(key) ? data[typeof key == 'string' ? 'string' : 'hash'] : data.map;
71348 expected = expected.map(function (i) {
74455 var destroys = streams.map(function (stream, i) {
82172 output = keys.map(function (key) {
82250 str = str.split('\n').map(function (line) {
82254 str = '\n' + str.split('\n').map(function (line) {