PHPExcel_Style
| category | PHPExcel |
|---|---|
| package | PHPExcel_Style |
| copyright | Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) |
__clone()
| inherited_from | \PHPExcel_Style_Supervisor::__clone() |
|---|
__construct(boolean $isSupervisor, boolean $isConditional)
booleanFlag indicating if this is a supervisor or not Leave this value at default unless you understand exactly what its ramifications are
booleanFlag 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, boolean $pAdvanced) : \PHPExcel_Style
$objPHPExcel->getActiveSheet()->getStyle('B2')->applyFromArray(
array(
'font' => array(
'name' => 'Arial',
'bold' => true,
'italic' => false,
'underline' => PHPExcel_Style_Font::UNDERLINE_DOUBLE,
'strike' => false,
'color' => array(
'rgb' => '808080'
)
),
'borders' => array(
'bottom' => array(
'style' => PHPExcel_Style_Border::BORDER_DASHDOT,
'color' => array(
'rgb' => '808080'
)
),
'top' => array(
'style' => PHPExcel_Style_Border::BORDER_DASHDOT,
'color' => array(
'rgb' => '808080'
)
)
)
)
);
arrayArray containing style information
booleanAdvanced mode for setting borders.
\PHPExcel_Exception |
|---|
bindParent(\PHPExcel $parent, $parentPropertyName) : \PHPExcel_Style_Supervisor
Only used for supervisor
| inherited_from | \PHPExcel_Style_Supervisor::bindParent() |
|---|
\PHPExcel
getActiveCell() : string
Only used for supervisor
| inherited_from | \PHPExcel_Style_Supervisor::getActiveCell() |
|---|
stringE.g. 'A1'getActiveSheet() : \PHPExcel_Worksheet
Only used for supervisor
| inherited_from | \PHPExcel_Style_Supervisor::getActiveSheet() |
|---|
getHashCode() : string
stringHash codegetIndex() : int
intgetIsSupervisor() : boolean
| inherited_from | \PHPExcel_Style_Supervisor::getIsSupervisor() |
|---|
booleangetSelectedCells() : string
Only used for supervisor
| inherited_from | \PHPExcel_Style_Supervisor::getSelectedCells() |
|---|
stringE.g. 'A1'getSharedComponent() : \PHPExcel_Style
setConditionalStyles(\PHPExcel_Style_Conditional[] $pValue) : \PHPExcel_Style
Only used on supervisor.
setIndex(int $pValue)
int
$_alignment : \PHPExcel_Style_Alignment
$_borders : \PHPExcel_Style_Borders
$_conditionalStyles : \PHPExcel_Style_Conditional[]
$_fill : \PHPExcel_Style_Fill
$_font : \PHPExcel_Style_Font
$_index : int
Only used for real style.
$_isSupervisor : boolean
| inherited_from | \PHPExcel_Style_Supervisor::$$_isSupervisor |
|---|
$_numberFormat : \PHPExcel_Style_NumberFormat
$_parent : \PHPExcel_Style
Only used for supervisor
| inherited_from | \PHPExcel_Style_Supervisor::$$_parent |
|---|
$_protection : \PHPExcel_Style_Protection