PHPExcel_Style_Font
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)
boolean
Flag indicating if this is a supervisor or not Leave this value at default unless you understand exactly what its ramifications are
boolean
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) : \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'
)
)
);
array
Array 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() |
---|
string
E.g. 'A1'getActiveSheet() : \PHPExcel_Worksheet
Only used for supervisor
inherited_from | \PHPExcel_Style_Supervisor::getActiveSheet() |
---|
getBold() : boolean
boolean
getHashCode() : string
string
Hash codegetIsSupervisor() : boolean
inherited_from | \PHPExcel_Style_Supervisor::getIsSupervisor() |
---|
boolean
getItalic() : boolean
boolean
getName() : string
string
getSelectedCells() : string
Only used for supervisor
inherited_from | \PHPExcel_Style_Supervisor::getSelectedCells() |
---|
string
E.g. 'A1'getSharedComponent() : \PHPExcel_Style_Font
getSize() : double
double
getStrikethrough() : boolean
boolean
getStyleArray(array $array) : array
array
array
getSubScript() : boolean
boolean
getSuperScript() : boolean
boolean
getUnderline() : string
string
setColor(\PHPExcel_Style_Color $pValue) : \PHPExcel_Style_Font
setUnderline(string | boolean $pValue) : \PHPExcel_Style_Font
string
boolean
PHPExcel_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