\PHPExcel_Worksheet_ColumnDimension

PHPExcel_Worksheet_ColumnDimension

Summary

Methods
Properties
Constants
__construct()
getColumnIndex()
setColumnIndex()
getWidth()
setWidth()
getAutoSize()
setAutoSize()
getVisible()
setVisible()
getOutlineLevel()
setOutlineLevel()
getCollapsed()
setCollapsed()
getXfIndex()
setXfIndex()
__clone()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_columnIndex
$_width
$_autoSize
$_visible
$_outlineLevel
$_collapsed
$_xfIndex
N/A

Properties

$_columnIndex

$_columnIndex : integer

Column index

Type

integer

$_width

$_width : double

Column width

When this is set to a negative value, the column width should be ignored by IWriter

Type

double

$_autoSize

$_autoSize : boolean

Auto size?

Type

boolean

$_visible

$_visible : boolean

Visible?

Type

boolean

$_outlineLevel

$_outlineLevel : integer

Outline level

Type

integer

$_collapsed

$_collapsed : boolean

Collapsed

Type

boolean

$_xfIndex

$_xfIndex : integer

Index to cellXf

Type

integer

Methods

__construct()

__construct(string  $pIndex = 'A') 

Create a new PHPExcel_Worksheet_ColumnDimension

Parameters

string $pIndex

Character column index

getColumnIndex()

getColumnIndex() : string

Get ColumnIndex

Returns

string

getWidth()

getWidth() : double

Get Width

Returns

double

getAutoSize()

getAutoSize() : boolean

Get Auto Size

Returns

boolean

setAutoSize()

setAutoSize(boolean  $pValue = false) : \PHPExcel_Worksheet_ColumnDimension

Set Auto Size

Parameters

boolean $pValue

Returns

\PHPExcel_Worksheet_ColumnDimension

getVisible()

getVisible() : boolean

Get Visible

Returns

boolean

getOutlineLevel()

getOutlineLevel() : integer

Get Outline Level

Returns

integer

setOutlineLevel()

setOutlineLevel(integer  $pValue) : \PHPExcel_Worksheet_ColumnDimension

Set Outline Level

Value must be between 0 and 7

Parameters

integer $pValue

Throws

\PHPExcel_Exception

Returns

\PHPExcel_Worksheet_ColumnDimension

getCollapsed()

getCollapsed() : boolean

Get Collapsed

Returns

boolean

setCollapsed()

setCollapsed(boolean  $pValue = true) : \PHPExcel_Worksheet_ColumnDimension

Set Collapsed

Parameters

boolean $pValue

Returns

\PHPExcel_Worksheet_ColumnDimension

getXfIndex()

getXfIndex() : integer

Get index to cellXf

Returns

integer

__clone()

__clone() 

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