Lines Matching refs:this
2 // Use of this source code is governed by a BSD-style license that can be
147 this.rows_ = [];
148 this.hasHeaderRow_ = false;
149 this.title_ = null;
156 this.text = '' + value;
157 this.link = null;
158 this.alignRight = false;
159 this.allowOverflow = false;
166 this.rows_.push([]);
175 var r = this.rows_[this.rows_.length - 1];
182 this.title_ = title;
193 if (!this.hasHeaderRow_) {
194 this.rows_.splice(0, 0, []);
195 this.hasHeaderRow_ = true;
198 this.rows_[0].push(cell);
203 * Returns the maximum number of columns this table contains.
207 for (var i = 0; i < this.rows_.length; ++i) {
208 numColumns = Math.max(numColumns, this.rows_[i].length);
218 if (rowIndex >= this.rows_.length)
220 var row = this.rows_[rowIndex];
232 var numColumns = this.getNumColumns();
241 if (this.hasHeaderRow_) {
244 var cell = this.getCell_(0, c);
250 this.rows_.splice(1, 0, headerSpacerRow);
253 var numRows = this.rows_.length;
256 var cell = this.getCell_(r, c);
266 if (this.title_) {
267 var titleSpacerStr = makeRepeatedString('-', this.title_.length);
270 out.push(this.title_);
280 var cell = this.getCell_(r, c);
300 if (this.hasHeaderRow_)
301 this.rows_.splice(1, 1);
310 var numRows = this.rows_.length;
311 var numColumns = this.getNumColumns();
320 if (this.title_) {
322 var tableTitle = addNodeWithText(tableTitleRow, 'th', this.title_);
331 if (r == 0 && this.hasHeaderRow_) {
339 var cell = this.getCell_(r, c);
347 if (cell.allowOverflow && !this.getCell_(r, c + 1))