\PhpOffice\PhpSpreadsheet\WorksheetDimension

Summary

Methods
Properties
Constants
__construct()
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
$visible
$outlineLevel
$collapsed
$xfIndex
N/A

Properties

$visible

$visible : bool

Visible?

Type

bool

$outlineLevel

$outlineLevel : int

Outline level.

Type

int

$collapsed

$collapsed : bool

Collapsed.

Type

bool

$xfIndex

$xfIndex : null|int

Index to cellXf. Null value means row has no explicit cellXf format.

Type

null|int

Methods

__construct()

__construct(int  $initialValue = null) : mixed

Create a new Dimension.

Parameters

int $initialValue

Numeric row index

Returns

mixed —

getVisible()

getVisible() : bool

Get Visible.

Returns

bool —

setVisible()

setVisible(bool  $visible) : $this

Set Visible.

Parameters

bool $visible

Returns

$this —

getOutlineLevel()

getOutlineLevel() : int

Get Outline Level.

Returns

int —

setOutlineLevel()

setOutlineLevel(int  $level) : $this

Set Outline Level.

Value must be between 0 and 7.

Parameters

int $level

Returns

$this —

getCollapsed()

getCollapsed() : bool

Get Collapsed.

Returns

bool —

setCollapsed()

setCollapsed(bool  $collapsed) : $this

Set Collapsed.

Parameters

bool $collapsed

Returns

$this —

getXfIndex()

getXfIndex() : int

Get index to cellXf.

Returns

int —

setXfIndex()

setXfIndex(int  $pValue) : $this

Set index to cellXf.

Parameters

int $pValue

Returns

$this —

__clone()

__clone() : mixed

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

Returns

mixed —