$_isSupervisor
$_isSupervisor : bool
Supervisor?
PHPExcel_Style
$_isSupervisor : bool
Supervisor?
$_parent : \PHPExcel_Style
Parent. Only used for supervisor
$_font : \PHPExcel_Style_Font
Font
$_fill : \PHPExcel_Style_Fill
Fill
$_borders : \PHPExcel_Style_Borders
Borders
$_alignment : \PHPExcel_Style_Alignment
Alignment
$_numberFormat : \PHPExcel_Style_NumberFormat
Number Format
$_conditionalStyles : \PHPExcel_Style_Conditional[]
Conditional styles
$_protection : \PHPExcel_Style_Protection
Protection
$_index : int
Index of style in collection. Only used for real style.
$_quotePrefix : bool
Use Quote Prefix when displaying in cell editor. Only used for real style.
__construct(bool $isSupervisor = false, bool $isConditional = false) : mixed
Create a new PHPExcel_Style
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, bool $pAdvanced = true) : \PHPExcel_Style
Apply styles from array
$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'
)
)
),
'quotePrefix' => true
)
);
array | $pStyles | Array containing style information |
bool | $pAdvanced | Advanced mode for setting borders. |