columnIndex = $pIndex; // set dimension as unformatted by default parent::__construct(0); } /** * Get ColumnIndex * * @return string */ public function getColumnIndex() { return $this->columnIndex; } /** * Set ColumnIndex * * @param string $pValue * @return PHPExcel_Worksheet_ColumnDimension */ public function setColumnIndex($pValue) { $this->columnIndex = $pValue; return $this; } /** * Get Width * * @return double */ public function getWidth() { return $this->width; } /** * Set Width * * @param double $pValue * @return PHPExcel_Worksheet_ColumnDimension */ public function setWidth($pValue = -1) { $this->width = $pValue; return $this; } /** * Get Auto Size * * @return bool */ public function getAutoSize() { return $this->autoSize; } /** * Set Auto Size * * @param bool $pValue * @return PHPExcel_Worksheet_ColumnDimension */ public function setAutoSize($pValue = false) { $this->autoSize = $pValue; return $this; } }