FILL_NONE
FILL_NONE = 'none'
PHPExcel_Style_Fill
$_isSupervisor : bool
Supervisor?
$_parent : \PHPExcel_Style
Parent. Only used for supervisor
$_fillType : string
Fill type
$_rotation : float
Rotation
$_startColor : \PHPExcel_Style_Color
Start color
$_endColor : \PHPExcel_Style_Color
End color
__construct(bool $isSupervisor = FALSE, bool $isConditional = FALSE) : mixed
Create a new PHPExcel_Style_Fill
bool | $isSupervisor | Flag indicating if this is a supervisor or not Leave this value at default unless you understand exactly what its ramifications are |
bool | $isConditional | Flag indicating if this is a conditional style or not Leave this value at default unless you understand exactly what its ramifications are |
applyFromArray(array $pStyles = null) : \PHPExcel_Style_Fill
Apply styles from array
$objPHPExcel->getActiveSheet()->getStyle('B2')->getFill()->applyFromArray(
array(
'type' => PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR,
'rotation' => 0,
'startcolor' => array(
'rgb' => '000000'
),
'endcolor' => array(
'argb' => 'FFFFFFFF'
)
)
);
array | $pStyles | Array containing style information |