public function getColumn($colIndex) { if (isset($this->_columns[$colIndex - 1])) { return $this->_columns[$colIndex - 1]; } throw new PHPRtfLite_Exception('Invalid column index for table: ' . $colIndex); }
/** * gets cell width * * @return float */ public function getWidth() { if ($this->_width) { return $this->_width; } return $this->_table->getColumn($this->_columnIndex)->getWidth(); }