\PHPExcel_Worksheet_RowDimension

PHPExcel_Worksheet_RowDimension

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Summary

Methods
Properties
Constants
__construct()
getVisible()
setVisible()
getOutlineLevel()
setOutlineLevel()
getCollapsed()
setCollapsed()
getXfIndex()
setXfIndex()
__clone()
getRowIndex()
setRowIndex()
getRowHeight()
setRowHeight()
getZeroHeight()
setZeroHeight()
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
$rowIndex
$height
$zeroHeight
N/A

Properties

$visible

$visible : bool

Visible?

Type

bool —

$outlineLevel

$outlineLevel : int

Outline level

Type

int —

$collapsed

$collapsed : bool

Collapsed

Type

bool —

$xfIndex

$xfIndex : int|null

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

Type

int|null —

$rowIndex

$rowIndex : int

Row index

Type

int —

$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 : bool

ZeroHeight for Row?

Type

bool —

Methods

__construct()

__construct(int  $pIndex) : mixed

Create a new PHPExcel_Worksheet_RowDimension

Parameters

int $pIndex

Numeric row index

Returns

mixed —

getVisible()

getVisible() : bool

Get Visible

Returns

bool —

setVisible()

setVisible(bool  $pValue = true) : \PHPExcel_Worksheet_Dimension

Set Visible

Parameters

bool $pValue

Returns

\PHPExcel_Worksheet_Dimension —

getOutlineLevel()

getOutlineLevel() : int

Get Outline Level

Returns

int —

setOutlineLevel()

setOutlineLevel(int  $pValue) : \PHPExcel_Worksheet_Dimension

Set Outline Level

Value must be between 0 and 7

Parameters

int $pValue

Throws

\PHPExcel_Exception

Returns

\PHPExcel_Worksheet_Dimension —

getCollapsed()

getCollapsed() : bool

Get Collapsed

Returns

bool —

setCollapsed()

setCollapsed(bool  $pValue = true) : \PHPExcel_Worksheet_Dimension

Set Collapsed

Parameters

bool $pValue

Returns

\PHPExcel_Worksheet_Dimension —

getXfIndex()

getXfIndex() : int

Get index to cellXf

Returns

int —

setXfIndex()

setXfIndex(int  $pValue) : \PHPExcel_Worksheet_Dimension

Set index to cellXf

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_Dimension —

__clone()

__clone() : mixed

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

Returns

mixed —

getRowIndex()

getRowIndex() : int

Get Row Index

Returns

int —

setRowIndex()

setRowIndex(int  $pValue) : \PHPExcel_Worksheet_RowDimension

Set Row Index

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_RowDimension —

getRowHeight()

getRowHeight() : float

Get Row Height

Returns

float —

setRowHeight()

setRowHeight(float  $pValue = -1) : \PHPExcel_Worksheet_RowDimension

Set Row Height

Parameters

float $pValue

Returns

\PHPExcel_Worksheet_RowDimension —

getZeroHeight()

getZeroHeight() : bool

Get ZeroHeight

Returns

bool —

setZeroHeight()

setZeroHeight(bool  $pValue = false) : \PHPExcel_Worksheet_RowDimension

Set ZeroHeight

Parameters

bool $pValue

Returns

\PHPExcel_Worksheet_RowDimension —