BORDER_NONE
BORDER_NONE = 'none'
PHPExcel_Style_Border
$_parent : \PHPExcel_Style
Parent. Only used for supervisor
$_color : \PHPExcel_Style_Color
Border color
__construct(boolean $isSupervisor = FALSE, boolean $isConditional = FALSE)
Create a new PHPExcel_Style_Border
boolean | $isSupervisor | Flag indicating if this is a supervisor or not Leave this value at default unless you understand exactly what its ramifications are |
boolean | $isConditional | Flag indicating if this is a conditional style or not Leave this value at default unless you understand exactly what its ramifications are |
bindParent(\PHPExcel_Style_Borders $parent, string $parentPropertyName = NULL) : \PHPExcel_Style_Border
Bind parent. Only used for supervisor
\PHPExcel_Style_Borders | $parent | |
string | $parentPropertyName |
getActiveSheet() : \PHPExcel_Worksheet
Get the currently active sheet. Only used for supervisor
getSharedComponent() : \PHPExcel_Style_Border
Get the shared style component for the currently active cell in currently active sheet.
Only used for style supervisor
applyFromArray(array $pStyles = null) : \PHPExcel_Style_Border
Apply styles from array
$objPHPExcel->getActiveSheet()->getStyle('B2')->getBorders()->getTop()->applyFromArray(
array(
'style' => PHPExcel_Style_Border::BORDER_DASHDOT,
'color' => array(
'rgb' => '808080'
)
)
);
array | $pStyles | Array containing style information |
setBorderStyle(string|boolean $pValue = \PHPExcel_Style_Border::BORDER_NONE) : \PHPExcel_Style_Border
Set Border style
string|boolean | $pValue | When passing a boolean, FALSE equates PHPExcel_Style_Border::BORDER_NONE and TRUE to PHPExcel_Style_Border::BORDER_MEDIUM |
getColor() : \PHPExcel_Style_Color
Get Border Color
setColor(\PHPExcel_Style_Color $pValue = null) : \PHPExcel_Style_Border
Set Border Color
\PHPExcel_Style_Color | $pValue |