\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 : int

Column index

Type

int

$_width

$_width : float

Column width

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

Type

float

$_autoSize

$_autoSize : bool

Auto size?

Type

bool

$_visible

$_visible : bool

Visible?

Type

bool

$_outlineLevel

$_outlineLevel : int

Outline level

Type

int

$_collapsed

$_collapsed : bool

Collapsed

Type

bool

$_xfIndex

$_xfIndex : int

Index to cellXf

Type

int

Methods

__construct()

__construct(string  $pIndex = 'A') : mixed

Create a new PHPExcel_Worksheet_ColumnDimension

Parameters

string $pIndex

Character column index

Returns

mixed —

getColumnIndex()

getColumnIndex() : string

Get ColumnIndex

Returns

string —

setColumnIndex()

setColumnIndex(string  $pValue) : \PHPExcel_Worksheet_ColumnDimension

Set ColumnIndex

Parameters

string $pValue

Returns

\PHPExcel_Worksheet_ColumnDimension —

getWidth()

getWidth() : float

Get Width

Returns

float —

setWidth()

setWidth(float  $pValue = -1) : \PHPExcel_Worksheet_ColumnDimension

Set Width

Parameters

float $pValue

Returns

\PHPExcel_Worksheet_ColumnDimension —

getAutoSize()

getAutoSize() : bool

Get Auto Size

Returns

bool —

setAutoSize()

setAutoSize(bool  $pValue = false) : \PHPExcel_Worksheet_ColumnDimension

Set Auto Size

Parameters

bool $pValue

Returns

\PHPExcel_Worksheet_ColumnDimension —

getVisible()

getVisible() : bool

Get Visible

Returns

bool —

setVisible()

setVisible(bool  $pValue = true) : \PHPExcel_Worksheet_ColumnDimension

Set Visible

Parameters

bool $pValue

Returns

\PHPExcel_Worksheet_ColumnDimension —

getOutlineLevel()

getOutlineLevel() : int

Get Outline Level

Returns

int —

setOutlineLevel()

setOutlineLevel(int  $pValue) : \PHPExcel_Worksheet_ColumnDimension

Set Outline Level

Value must be between 0 and 7

Parameters

int $pValue

Throws

\PHPExcel_Exception

Returns

\PHPExcel_Worksheet_ColumnDimension —

getCollapsed()

getCollapsed() : bool

Get Collapsed

Returns

bool —

setCollapsed()

setCollapsed(bool  $pValue = true) : \PHPExcel_Worksheet_ColumnDimension

Set Collapsed

Parameters

bool $pValue

Returns

\PHPExcel_Worksheet_ColumnDimension —

getXfIndex()

getXfIndex() : int

Get index to cellXf

Returns

int —

setXfIndex()

setXfIndex(int  $pValue) : \PHPExcel_Worksheet_ColumnDimension

Set index to cellXf

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_ColumnDimension —

__clone()

__clone() : mixed

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

Returns

mixed —