From 75160b12821f7f4299cce7f0b69c83c1502ae071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 27 May 2024 13:08:29 +0200 Subject: 2024-02-19 upstream --- .../PhpSpreadsheet/Worksheet/ColumnDimension.php | 115 +++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/ColumnDimension.php (limited to 'vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/ColumnDimension.php') diff --git a/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/ColumnDimension.php b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/ColumnDimension.php new file mode 100644 index 0000000..1a5afb4 --- /dev/null +++ b/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/ColumnDimension.php @@ -0,0 +1,115 @@ +columnIndex = $pIndex; + + // set dimension as unformatted by default + parent::__construct(0); + } + + /** + * Get column index as string eg: 'A'. + * + * @return string + */ + public function getColumnIndex() + { + return $this->columnIndex; + } + + /** + * Set column index as string eg: 'A'. + * + * @param string $pValue + * + * @return $this + */ + 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 $this + */ + public function setWidth($pValue) + { + $this->width = $pValue; + + return $this; + } + + /** + * Get Auto Size. + * + * @return bool + */ + public function getAutoSize() + { + return $this->autoSize; + } + + /** + * Set Auto Size. + * + * @param bool $pValue + * + * @return $this + */ + public function setAutoSize($pValue) + { + $this->autoSize = $pValue; + + return $this; + } +} -- cgit v1.2.3