Lines Matching refs:tableNode
70015 LayoutBuilder.prototype.processTable = function (tableNode) {
70016 var processor = new TableProcessor(tableNode);
70020 var rowHeights = tableNode.table.heights;
70021 for (var i = 0, l = tableNode.table.body.length; i < l; i++) {
70037 …var result = this.processRow(tableNode.table.body[i], tableNode.table.widths, tableNode._offsets.o…
70038 addAll(tableNode.positions, result.positions);
72356 function TableProcessor(tableNode) {
72357 this.tableNode = tableNode;
72361 var tableNode;
72365 tableNode = this.tableNode;
72366 this.offsets = tableNode._offsets;
72367 this.layout = tableNode._layout;
72370 ColumnCalculator.buildColumnWidths(tableNode.table.widths, availableWidth);
72372 this.tableWidth = tableNode._offsets.total + getTableInnerContentWidth();
72376 this.headerRows = tableNode.table.headerRows || 0;
72377 this.rowsWithoutPageBreak = this.headerRows + (tableNode.table.keepWithHeaderRows || 0);
72378 this.dontBreakRows = tableNode.table.dontBreakRows || false;
72385 prepareCellBorders(this.tableNode.table.body);
72392 tableNode.table.widths.forEach(function (w) {
72406 for (var i = 0, l = self.tableNode.table.body[0].length; i < l; i++) {
72407 …var paddings = self.layout.paddingLeft(i, self.tableNode) + self.layout.paddingRight(i, self.table…
72408 var lBorder = self.layout.vLineWidth(i, self.tableNode);
72409 lastWidth = paddings + lBorder + self.tableNode.table.widths[i]._calcWidth;
72480 this.topLineWidth = this.layout.hLineWidth(rowIndex, this.tableNode);
72481 this.rowPaddingTop = this.layout.paddingTop(rowIndex, this.tableNode);
72482 this.bottomLineWidth = this.layout.hLineWidth(rowIndex + 1, this.tableNode);
72483 this.rowPaddingBottom = this.layout.paddingBottom(rowIndex, this.tableNode);
72499 var lineWidth = this.layout.hLineWidth(lineIndex, this.tableNode);
72501 var style = this.layout.hLineStyle(lineIndex, this.tableNode);
72509 var body = this.tableNode.table.body;
72554 …nction(this.layout.hLineColor) ? this.layout.hLineColor(lineIndex, this.tableNode, i) : this.layou…
72612 var width = this.layout.vLineWidth(vLineColIndex, this.tableNode);
72616 var style = this.layout.vLineStyle(vLineColIndex, this.tableNode);
72622 var body = this.tableNode.table.body;
72666 …on(this.layout.vLineColor) ? this.layout.vLineColor(vLineColIndex, this.tableNode, vLineRowIndex) …
72693 writer.context().moveDown(this.layout.paddingBottom(rowIndex, this.tableNode));
72704 var body = this.tableNode.table.body;
72774 …fillColor = isFunction(this.layout.fillColor) ? this.layout.fillColor(rowIndex, this.tableNode, co…
72777 …ction(this.layout.fillOpacity) ? this.layout.fillOpacity(rowIndex, this.tableNode, colIndex) : thi…
72782 var widthLeftBorder = leftCellBorder ? this.layout.vLineWidth(colIndex, this.tableNode) : 0;
72785 widthRightBorder = this.layout.vLineWidth(colIndex + 1, this.tableNode);
72787 widthRightBorder = this.layout.vLineWidth(colIndex + 1, this.tableNode) / 2;
72838 var row = this.tableNode.table.body[rowIndex];
72846 this.tableNode.table.body[rowIndex + j][i]._colSpan = row[i].colSpan;
72852 this.tableNode.table.body[rowIndex + j][i]._rowSpanCurrentOffset = j;
72881 …e && (rowIndex === (this.rowsWithoutPageBreak - 1) || rowIndex === this.tableNode.table.body.lengt…
72892 for (var i = 0, l = self.tableNode.table.body[rowIndex].length; i < l; i++) {
72896 var item = self.tableNode.table.body[rowIndex][i];