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 ColumnDimension */ public function setColumnIndex($pValue) { $this->columnIndex = $pValue; return $this; } /** * Get Width. * * @return float */ public function getWidth() { return $this->width; } /** * Set Width. * * @param float $pValue * * @return 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 ColumnDimension */ public function setAutoSize($pValue = false) { $this->autoSize = $pValue; return $this; } }