class PHPExcel_Worksheet_ColumnDimension extends PHPExcel_Worksheet_Dimension

PHPExcelWorksheetColumnDimension

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Methods

__construct(string $pIndex = 'A')

Create a new PHPExcelWorksheetColumnDimension

bool
getVisible()

Get Visible

int
getOutlineLevel()

Get Outline Level

bool
getCollapsed()

Get Collapsed

int
getXfIndex()

Get index to cellXf

__clone()

Implement PHP __clone to create a deep clone, not just a shallow copy.

string
getColumnIndex()

Get ColumnIndex

setColumnIndex(string $pValue)

Set ColumnIndex

double
getWidth()

Get Width

setWidth(double $pValue = -1)

Set Width

bool
getAutoSize()

Get Auto Size

setAutoSize(bool $pValue = false)

Set Auto Size

Details

at line 67
__construct(string $pIndex = 'A')

Create a new PHPExcelWorksheetColumnDimension

Parameters

string $pIndex Character column index

bool getVisible()

Get Visible

Return Value

bool

PHPExcel_Worksheet_Dimension setVisible(bool $pValue = true)

Set Visible

Parameters

bool $pValue

Return Value

PHPExcel_Worksheet_Dimension

int getOutlineLevel()

Get Outline Level

Return Value

int

PHPExcel_Worksheet_Dimension setOutlineLevel(int $pValue)

Set Outline Level

Value must be between 0 and 7

Parameters

int $pValue

Return Value

PHPExcel_Worksheet_Dimension

Exceptions

PHPExcel_Exception

bool getCollapsed()

Get Collapsed

Return Value

bool

PHPExcel_Worksheet_Dimension setCollapsed(bool $pValue = true)

Set Collapsed

Parameters

bool $pValue

Return Value

PHPExcel_Worksheet_Dimension

int getXfIndex()

Get index to cellXf

Return Value

int

PHPExcel_Worksheet_Dimension setXfIndex(int $pValue)

Set index to cellXf

Parameters

int $pValue

Return Value

PHPExcel_Worksheet_Dimension

__clone()

Implement PHP __clone to create a deep clone, not just a shallow copy.

at line 81
string getColumnIndex()

Get ColumnIndex

Return Value

string

at line 92
PHPExcel_Worksheet_ColumnDimension setColumnIndex(string $pValue)

Set ColumnIndex

Parameters

string $pValue

Return Value

PHPExcel_Worksheet_ColumnDimension

at line 103
double getWidth()

Get Width

Return Value

double

at line 114
PHPExcel_Worksheet_ColumnDimension setWidth(double $pValue = -1)

Set Width

Parameters

double $pValue

Return Value

PHPExcel_Worksheet_ColumnDimension

at line 125
bool getAutoSize()

Get Auto Size

Return Value

bool

at line 136
PHPExcel_Worksheet_ColumnDimension setAutoSize(bool $pValue = false)

Set Auto Size

Parameters

bool $pValue

Return Value

PHPExcel_Worksheet_ColumnDimension