category |
PHPExcel |
package |
PHPExcel_Style |
copyright |
Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) |
Methods
Implement PHP __clone to create a deep clone, not just a shallow copy.
__clone()
Inherited
inherited_from |
\PHPExcel_Style_Supervisor::__clone() |
Create a new PHPExcel_Style_Fill
__construct(boolean $isSupervisor, boolean $isConditional)
Parameters
$isSupervisor
boolean
Flag indicating if this is a supervisor or not
Leave this value at default unless you understand exactly what
its ramifications are
$isConditional
boolean
Flag indicating if this is a conditional style or not
Leave this value at default unless you understand exactly what
its ramifications are
Apply styles from array
applyFromArray(array $pStyles) : \PHPExcel_Style_Fill
$objPHPExcel->getActiveSheet()->getStyle('B2')->getFill()->applyFromArray(
array(
'type' => PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR,
'rotation' => 0,
'startcolor' => array(
'rgb' => '000000'
),
'endcolor' => array(
'argb' => 'FFFFFFFF'
)
)
);
Parameters
$pStyles
array
Array containing style information
Exceptions
Returns
Bind parent.
bindParent(\PHPExcel $parent, $parentPropertyName) : \PHPExcel_Style_Supervisor
Inherited
inherited_from |
\PHPExcel_Style_Supervisor::bindParent() |
Parameters
$parentPropertyName
Returns
Get the currently active cell coordinate in currently active sheet.
getActiveCell() : string
Inherited
inherited_from |
\PHPExcel_Style_Supervisor::getActiveCell() |
Returns
string
E.g. 'A1'
Get the currently active sheet.
getActiveSheet() : \PHPExcel_Worksheet
Inherited
inherited_from |
\PHPExcel_Style_Supervisor::getActiveSheet() |
Returns
Get Fill Type
getFillType() : string
Get hash code
getHashCode() : string
Is this a supervisor or a cell style component?
getIsSupervisor() : boolean
Inherited
inherited_from |
\PHPExcel_Style_Supervisor::getIsSupervisor() |
Returns
boolean
Get Rotation
getRotation() : double
Get the currently active cell coordinate in currently active sheet.
getSelectedCells() : string
Inherited
inherited_from |
\PHPExcel_Style_Supervisor::getSelectedCells() |
Returns
string
E.g. 'A1'
Get the shared style component for the currently active cell in currently active sheet.
getSharedComponent() : \PHPExcel_Style_Fill
Only used for style supervisor
Returns
Build style array from subcomponents
getStyleArray(array $array) : array
Parameters
$array
array
Returns
array
Set End Color
setEndColor(\PHPExcel_Style_Color $pValue) : \PHPExcel_Style_Fill
Parameters
Exceptions
Returns
Set Fill Type
setFillType(string $pValue) : \PHPExcel_Style_Fill
Parameters
$pValue
string
PHPExcel_Style_Fill fill type
Returns
Set Start Color
setStartColor(\PHPExcel_Style_Color $pValue) : \PHPExcel_Style_Fill
Parameters
Exceptions
Returns
Properties
$_isSupervisor : boolean
Inherited
inherited_from |
\PHPExcel_Style_Supervisor::$$_isSupervisor |
$_parent : \PHPExcel_Style
Inherited
inherited_from |
\PHPExcel_Style_Supervisor::$$_parent |
Constants
FILL_GRADIENT_LINEAR
FILL_GRADIENT_LINEAR
FILL_GRADIENT_PATH
FILL_GRADIENT_PATH
FILL_PATTERN_DARKDOWN
FILL_PATTERN_DARKDOWN
FILL_PATTERN_DARKGRAY
FILL_PATTERN_DARKGRAY
FILL_PATTERN_DARKGRID
FILL_PATTERN_DARKGRID
FILL_PATTERN_DARKHORIZONTAL
FILL_PATTERN_DARKHORIZONTAL
FILL_PATTERN_DARKTRELLIS
FILL_PATTERN_DARKTRELLIS
FILL_PATTERN_DARKUP
FILL_PATTERN_DARKUP
FILL_PATTERN_DARKVERTICAL
FILL_PATTERN_DARKVERTICAL
FILL_PATTERN_GRAY0625
FILL_PATTERN_GRAY0625
FILL_PATTERN_GRAY125
FILL_PATTERN_GRAY125
FILL_PATTERN_LIGHTDOWN
FILL_PATTERN_LIGHTDOWN
FILL_PATTERN_LIGHTGRAY
FILL_PATTERN_LIGHTGRAY
FILL_PATTERN_LIGHTGRID
FILL_PATTERN_LIGHTGRID
FILL_PATTERN_LIGHTHORIZONTAL
FILL_PATTERN_LIGHTHORIZONTAL
FILL_PATTERN_LIGHTTRELLIS
FILL_PATTERN_LIGHTTRELLIS
FILL_PATTERN_LIGHTUP
FILL_PATTERN_LIGHTUP
FILL_PATTERN_LIGHTVERTICAL
FILL_PATTERN_LIGHTVERTICAL
FILL_PATTERN_MEDIUMGRAY
FILL_PATTERN_MEDIUMGRAY