Properties

$visible

$visible : boolean

Visible?

Type

boolean

$outlineLevel

$outlineLevel : integer

Outline level.

Type

integer

$collapsed

$collapsed : boolean

Collapsed.

Type

boolean

$xfIndex

$xfIndex : null|integer

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

Type

null|integer

$rowIndex

$rowIndex : integer

Row index.

Type

integer

$height

$height : float

Row height (in pt).

When this is set to a negative value, the row height should be ignored by IWriter

Type

float

$zeroHeight

$zeroHeight : boolean

ZeroHeight for Row?

Type

boolean

Methods

__construct()

__construct(integer  $pIndex) 

Create a new RowDimension.

Parameters

integer $pIndex

Numeric row index

getVisible()

getVisible() : boolean

Get Visible.

Returns

boolean

setVisible()

setVisible(boolean  $pValue) : $this

Set Visible.

Parameters

boolean $pValue

Returns

$this

getOutlineLevel()

getOutlineLevel() : integer

Get Outline Level.

Returns

integer

setOutlineLevel()

setOutlineLevel(integer  $pValue) : $this

Set Outline Level.

Value must be between 0 and 7.

Parameters

integer $pValue

Throws

\PhpOffice\PhpSpreadsheet\Exception

Returns

$this

getCollapsed()

getCollapsed() : boolean

Get Collapsed.

Returns

boolean

setCollapsed()

setCollapsed(boolean  $pValue) : $this

Set Collapsed.

Parameters

boolean $pValue

Returns

$this

getXfIndex()

getXfIndex() : integer

Get index to cellXf.

Returns

integer

setXfIndex()

setXfIndex(integer  $pValue) : $this

Set index to cellXf.

Parameters

integer $pValue

Returns

$this

__clone()

__clone() 

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

getRowIndex()

getRowIndex() : integer

Get Row Index.

Returns

integer

setRowIndex()

setRowIndex(integer  $pValue) : $this

Set Row Index.

Parameters

integer $pValue

Returns

$this

getRowHeight()

getRowHeight() : float

Get Row Height.

Returns

float

setRowHeight()

setRowHeight(float  $pValue) : $this

Set Row Height.

Parameters

float $pValue

Returns

$this

getZeroHeight()

getZeroHeight() : boolean

Get ZeroHeight.

Returns

boolean

setZeroHeight()

setZeroHeight(boolean  $pValue) : $this

Set ZeroHeight.

Parameters

boolean $pValue

Returns

$this