PHPExcel_Style_Font
| category | PHPExcel |
|---|---|
| package | PHPExcel_Style |
| copyright | Copyright (c) 2006 - 2014 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) : \PHPExcel_Style_Font
$objPHPExcel->getActiveSheet()->getStyle('B2')->getFont()->applyFromArray(
array(
'name' => 'Arial',
'bold' => TRUE,
'italic' => FALSE,
'underline' => PHPExcel_Style_Font::UNDERLINE_DOUBLE,
'strike' => FALSE,
'color' => array(
'rgb' => '808080'
)
)
);
arrayArray containing style information
\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() |
|---|
getBold() : boolean
booleangetHashCode() : string
stringHash codegetIsSupervisor() : boolean
| inherited_from | \PHPExcel_Style_Supervisor::getIsSupervisor() |
|---|
booleangetItalic() : boolean
booleangetName() : string
stringgetSelectedCells() : string
Only used for supervisor
| inherited_from | \PHPExcel_Style_Supervisor::getSelectedCells() |
|---|
stringE.g. 'A1'getSharedComponent() : \PHPExcel_Style_Font
getSize() : double
doublegetStrikethrough() : boolean
booleangetStyleArray(array $array) : array
array
arraygetSubScript() : boolean
booleangetSuperScript() : boolean
booleangetUnderline() : string
stringsetColor(\PHPExcel_Style_Color $pValue) : \PHPExcel_Style_Font
setUnderline(string | boolean $pValue) : \PHPExcel_Style_Font
stringbooleanPHPExcel_Style_Font underline type If a boolean is passed, then TRUE equates to UNDERLINE_SINGLE, false equates to UNDERLINE_NONE
$_bold : boolean
$_color : \PHPExcel_Style_Color
$_isSupervisor : boolean
| inherited_from | \PHPExcel_Style_Supervisor::$$_isSupervisor |
|---|
$_italic : boolean
$_name : string
$_parent : \PHPExcel_Style
Only used for supervisor
| inherited_from | \PHPExcel_Style_Supervisor::$$_parent |
|---|
$_size : float
$_strikethrough : boolean
$_subScript : boolean
$_superScript : boolean
$_underline : string
UNDERLINE_DOUBLE
UNDERLINE_DOUBLEACCOUNTING
UNDERLINE_NONE
UNDERLINE_SINGLE
UNDERLINE_SINGLEACCOUNTING