PHPExcel_Style_Border
| 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) : \PHPExcel_Style_Border
$objPHPExcel->getActiveSheet()->getStyle('B2')->getBorders()->getTop()->applyFromArray(
array(
'style' => PHPExcel_Style_Border::BORDER_DASHDOT,
'color' => array(
'rgb' => '808080'
)
)
);
arrayArray containing style information
\PHPExcel_Exception |
|---|
bindParent(\PHPExcel_Style_Borders $parent, string $parentPropertyName) : \PHPExcel_Style_Border
Only used for supervisor
\PHPExcel_Style_Borders
string
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() |
|---|
getBorderStyle() : string
stringgetHashCode() : string
stringHash codegetIsSupervisor() : 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_Border
getStyleArray(array $array) : array
array
arraysetBorderStyle(string | boolean $pValue) : \PHPExcel_Style_Border
stringbooleanWhen passing a boolean, FALSE equates PHPExcel_Style_Border::BORDER_NONE and TRUE to PHPExcel_Style_Border::BORDER_MEDIUM
setColor(\PHPExcel_Style_Color $pValue) : \PHPExcel_Style_Border
$_borderStyle : string
$_color : \PHPExcel_Style_Color
$_isSupervisor : boolean
| inherited_from | \PHPExcel_Style_Supervisor::$$_isSupervisor |
|---|
$_parent : \PHPExcel_Style
Only used for supervisor
| inherited_from | \PHPExcel_Style_Supervisor::$$_parent |
|---|
$_parentPropertyName : string
BORDER_DASHDOT
BORDER_DASHDOTDOT
BORDER_DASHED
BORDER_DOTTED
BORDER_DOUBLE
BORDER_HAIR
BORDER_MEDIUM
BORDER_MEDIUMDASHDOT
BORDER_MEDIUMDASHDOTDOT
BORDER_MEDIUMDASHED
BORDER_NONE
BORDER_SLANTDASHDOT
BORDER_THICK
BORDER_THIN