Lines Matching refs:item

517 	    var item = list[i]
518 item.copy(buf, pos)
519 pos += item.length
2218 var item = page.items[ii];
2219 switch(item.type) {
2221 renderVector(item.item, pdfKitDoc);
2224 renderLine(item.item, item.item.x, item.item.y, pdfKitDoc);
2227 renderImage(item.item, item.item.x, item.item.y, pdfKitDoc);
13416 _.each(otherArray, function(item){
13417 target.push(item);
13756 node.stack.forEach(function(item) {
13757 self.processNode(item);
13758 addAll(node.positions, item.positions);
13871 items.forEach(function(item) {
13872 nextMarker = item.listMarker;
13873 self.processNode(item);
13874 addAll(node.positions, item.positions);
14604 function getTrimmedWidth(item) {
14605 return Math.max(0, item.width - item.leadingCut - item.trailingCut);
14646 var item = array[i];
14648 var isNewLine = item.length === 0;
14651 results.push({text: item});
14689 var item = array[i];
14693 if (typeof item == 'string' || item instanceof String) {
14694 words = splitWords(item);
14696 words = splitWords(item.text);
14697 style = copyStyle(item);
14728 function getStyleProperty(item, styleContextStack, property, defaultValue) {
14731 if (item[property] !== undefined && item[property] !== null) {
14733 return item[property];
14738 styleContextStack.auto(item, function() {
14752 normalized.forEach(function(item) {
14753 var fontName = getStyleProperty(item, styleContextStack, 'font', 'Roboto');
14754 var fontSize = getStyleProperty(item, styleContextStack, 'fontSize', 12);
14755 var bold = getStyleProperty(item, styleContextStack, 'bold', false);
14756 var italics = getStyleProperty(item, styleContextStack, 'italics', false);
14757 var color = getStyleProperty(item, styleContextStack, 'color', 'black');
14758 var decoration = getStyleProperty(item, styleContextStack, 'decoration', null);
14759 var decorationColor = getStyleProperty(item, styleContextStack, 'decorationColor', null);
14760 var decorationStyle = getStyleProperty(item, styleContextStack, 'decorationStyle', null);
14761 var background = getStyleProperty(item, styleContextStack, 'background', null);
14762 var lineHeight = getStyleProperty(item, styleContextStack, 'lineHeight', 1);
14767 item.width = font.widthOfString(removeDiacritics(item.text), fontSize);
14768 item.height = font.lineHeight(fontSize) * lineHeight;
14770 var leadingSpaces = item.text.match(LEADING);
14771 var trailingSpaces = item.text.match(TRAILING);
14773 item.leadingCut = font.widthOfString(leadingSpaces[0], fontSize);
14776 item.leadingCut = 0;
14780 item.trailingCut = font.widthOfString(trailingSpaces[0], fontSize);
14783 item.trailingCut = 0;
14786 item.alignment = getStyleProperty(item, styleContextStack, 'alignment', 'left');
14787 item.font = font;
14788 item.fontSize = fontSize;
14789 item.color = color;
14790 item.decoration = decoration;
14791 item.decorationColor = decorationColor;
14792 item.decorationStyle = decorationStyle;
14793 item.background = background;
14837 this.styleOverrides.forEach(function(item) {
14838 stack.styleOverrides.push(item);
14876 StyleContextStack.prototype.autopush = function(item) {
14877 if (typeof item === 'string' || item instanceof String) return 0;
14881 if (item.style) {
14882 if (item.style instanceof Array) {
14883 styleNames = item.style;
14885 styleNames = [ item.style ];
14917 if (item[key] !== undefined && item[key] !== null) {
14918 styleOverrideObject[key] = item[key];
14938 StyleContextStack.prototype.auto = function(item, callback) {
14939 var pushedItems = this.autopush(item);
14958 var item = this.styleOverrides[i];
14960 if (typeof item == 'string' || item instanceof String) {
14963 var style = this.styleDictionary[item];
14969 if (item[property] !== undefined && item[property] !== null) {
14970 return item[property];
16345 unbreakableContext.pages[0].items.forEach(function(item) {
16346 rep.items.push(item);
16394 function addPageItem(page, item, index) {
16396 page.items.push(item);
16398 page.items.splice(index, 0, item);
16419 item: line
16478 item: image
16539 item: vector
16563 block.items.forEach(function(item) {
16564 switch(item.type) {
16566 var l = cloneLine(item.item);
16573 item: l
16578 var v = pack(item.item);
16583 item: v
16588 var img = pack(item.item);
16595 item: img
16704 this.inlines.forEach(function(item) {
16705 max = Math.max(max, item.height || 0);
17008 var item = self.tableNode.table.body[rowIndex][i];
17009 cols = (item._colSpan || item.colSpan || 0);
31449 …ndexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in th…
31702 var i, item, _i, _len, _results;
31705 item = list[i];
31706 if (Array.isArray(item)) {
31708 flatten(item);
31711 items.push(item);
65325 …ndexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in th…