class ColumnDimension extends Dimension (View source)

Methods

__construct(string $pIndex = 'A')

Create a new ColumnDimension.

bool
getVisible()

Get Visible.

from Dimension
setVisible(bool $pValue)

Set Visible.

from Dimension
int
getOutlineLevel()

Get Outline Level.

from Dimension
setOutlineLevel(int $pValue)

Set Outline Level.

from Dimension
bool
getCollapsed()

Get Collapsed.

from Dimension
setCollapsed(bool $pValue)

Set Collapsed.

from Dimension
int
getXfIndex()

Get index to cellXf.

from Dimension
setXfIndex(int $pValue)

Set index to cellXf.

from Dimension
__clone()

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

from Dimension
string
getColumnIndex()

Get ColumnIndex.

setColumnIndex(string $pValue)

Set ColumnIndex.

float
getWidth()

Get Width.

setWidth(float $pValue)

Set Width.

bool
getAutoSize()

Get Auto Size.

setAutoSize(bool $pValue)

Set Auto Size.

Details

__construct(string $pIndex = 'A')

Create a new ColumnDimension.

Parameters

string $pIndex Character column index

bool getVisible()

Get Visible.

Return Value

bool

Dimension setVisible(bool $pValue)

Set Visible.

Parameters

bool $pValue

Return Value

Dimension

int getOutlineLevel()

Get Outline Level.

Return Value

int

Dimension setOutlineLevel(int $pValue)

Set Outline Level.

Value must be between 0 and 7.

Parameters

int $pValue

Return Value

Dimension

Exceptions

Exception

bool getCollapsed()

Get Collapsed.

Return Value

bool

Dimension setCollapsed(bool $pValue)

Set Collapsed.

Parameters

bool $pValue

Return Value

Dimension

int getXfIndex()

Get index to cellXf.

Return Value

int

Dimension setXfIndex(int $pValue)

Set index to cellXf.

Parameters

int $pValue

Return Value

Dimension

__clone()

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

string getColumnIndex()

Get ColumnIndex.

Return Value

string

ColumnDimension setColumnIndex(string $pValue)

Set ColumnIndex.

Parameters

string $pValue

Return Value

ColumnDimension

float getWidth()

Get Width.

Return Value

float

ColumnDimension setWidth(float $pValue)

Set Width.

Parameters

float $pValue

Return Value

ColumnDimension

bool getAutoSize()

Get Auto Size.

Return Value

bool

ColumnDimension setAutoSize(bool $pValue)

Set Auto Size.

Parameters

bool $pValue

Return Value

ColumnDimension