ILIAS
eassessment Revision 61809
|
Public Member Functions | |
__construct ($isSupervisor=false) | |
Create a new PHPExcel_Style_Borders. | |
bindParent ($parent) | |
Bind parent. | |
getIsSupervisor () | |
Is this a supervisor or a real style component? | |
getSharedComponent () | |
Get the shared style component for the currently active cell in currently active sheet. | |
getActiveSheet () | |
Get the currently active sheet. | |
getSelectedCells () | |
Get the currently active cell coordinate in currently active sheet. | |
getActiveCell () | |
Get the currently active cell coordinate in currently active sheet. | |
getStyleArray ($array) | |
Build style array from subcomponents. | |
applyFromArray ($pStyles=null) | |
Apply styles from array. | |
getLeft () | |
Get Left. | |
getRight () | |
Get Right. | |
getTop () | |
Get Top. | |
getBottom () | |
Get Bottom. | |
getDiagonal () | |
Get Diagonal. | |
getAllBorders () | |
Get AllBorders (pseudo-border). | |
getOutline () | |
Get Outline (pseudo-border). | |
getInside () | |
Get Inside (pseudo-border). | |
getVertical () | |
Get Vertical (pseudo-border). | |
getHorizontal () | |
Get Horizontal (pseudo-border). | |
getDiagonalDirection () | |
Get DiagonalDirection. | |
setDiagonalDirection ($pValue=PHPExcel_Style_Borders::DIAGONAL_NONE) | |
Set DiagonalDirection. | |
getHashCode () | |
Get hash code. | |
__clone () | |
Implement PHP __clone to create a deep clone, not just a shallow copy. |
Data Fields | |
const | DIAGONAL_NONE = 0 |
const | DIAGONAL_UP = 1 |
const | DIAGONAL_DOWN = 2 |
const | DIAGONAL_BOTH = 3 |
Private Attributes | |
$_left | |
$_right | |
$_top | |
$_bottom | |
$_diagonal | |
$_diagonalDirection | |
$_allBorders | |
$_outline | |
$_inside | |
$_vertical | |
$_horizontal | |
$_parentPropertyName | |
$_isSupervisor | |
$_parent |
Definition at line 36 of file Borders.php.
PHPExcel_Style_Borders::__construct | ( | $isSupervisor = false | ) |
Create a new PHPExcel_Style_Borders.
Definition at line 145 of file Borders.php.
References DIAGONAL_NONE.
PHPExcel_Style_Borders::__clone | ( | ) |
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition at line 495 of file Borders.php.
PHPExcel_Style_Borders::applyFromArray | ( | $pStyles = null | ) |
Apply styles from array.
$objPHPExcel->getActiveSheet()->getStyle('B2')->getBorders()->applyFromArray( 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' ) ) ) );
$objPHPExcel->getActiveSheet()->getStyle('B2')->getBorders()->applyFromArray( array( 'allborders' => array( 'style' => PHPExcel_Style_Border::BORDER_DASHDOT, 'color' => array( 'rgb' => '808080' ) ) ) );
array | $pStyles | Array containing style information |
Exception |
Definition at line 295 of file Borders.php.
References getActiveSheet(), getBottom(), getDiagonal(), getLeft(), getRight(), getSelectedCells(), getStyleArray(), getTop(), and setDiagonalDirection().
PHPExcel_Style_Borders::bindParent | ( | $parent | ) |
Bind parent.
Only used for supervisor
PHPExcel_Style | $parent |
Definition at line 187 of file Borders.php.
PHPExcel_Style_Borders::getActiveCell | ( | ) |
Get the currently active cell coordinate in currently active sheet.
Only used for supervisor
Definition at line 241 of file Borders.php.
References getActiveSheet().
PHPExcel_Style_Borders::getActiveSheet | ( | ) |
Get the currently active sheet.
Only used for supervisor
Definition at line 219 of file Borders.php.
Referenced by applyFromArray(), getActiveCell(), getSelectedCells(), and setDiagonalDirection().
PHPExcel_Style_Borders::getAllBorders | ( | ) |
Get AllBorders (pseudo-border).
Only applies to supervisor.
Exception |
Definition at line 382 of file Borders.php.
References $_allBorders.
PHPExcel_Style_Borders::getBottom | ( | ) |
Get Bottom.
Definition at line 363 of file Borders.php.
References $_bottom.
Referenced by PHPExcel_Writer_HTML\_createCSSStyleBorders(), applyFromArray(), and getHashCode().
PHPExcel_Style_Borders::getDiagonal | ( | ) |
Get Diagonal.
Definition at line 372 of file Borders.php.
References $_diagonal.
Referenced by applyFromArray(), and getHashCode().
PHPExcel_Style_Borders::getDiagonalDirection | ( | ) |
Get DiagonalDirection.
Definition at line 446 of file Borders.php.
References $_diagonalDirection, and getSharedComponent().
Referenced by getHashCode().
PHPExcel_Style_Borders::getHashCode | ( | ) |
Get hash code.
Implements PHPExcel_IComparable.
Definition at line 477 of file Borders.php.
References getBottom(), getDiagonal(), getDiagonalDirection(), getLeft(), getRight(), getSharedComponent(), and getTop().
PHPExcel_Style_Borders::getHorizontal | ( | ) |
Get Horizontal (pseudo-border).
Only applies to supervisor.
Exception |
Definition at line 434 of file Borders.php.
References $_horizontal.
PHPExcel_Style_Borders::getInside | ( | ) |
Get Inside (pseudo-border).
Only applies to supervisor.
Exception |
Definition at line 408 of file Borders.php.
References $_inside.
PHPExcel_Style_Borders::getIsSupervisor | ( | ) |
Is this a supervisor or a real style component?
Definition at line 198 of file Borders.php.
References $_isSupervisor.
PHPExcel_Style_Borders::getLeft | ( | ) |
Get Left.
Definition at line 336 of file Borders.php.
References $_left.
Referenced by PHPExcel_Writer_HTML\_createCSSStyleBorders(), applyFromArray(), and getHashCode().
PHPExcel_Style_Borders::getOutline | ( | ) |
Get Outline (pseudo-border).
Only applies to supervisor.
Exception |
Definition at line 395 of file Borders.php.
References $_outline.
PHPExcel_Style_Borders::getRight | ( | ) |
Get Right.
Definition at line 345 of file Borders.php.
References $_right.
Referenced by PHPExcel_Writer_HTML\_createCSSStyleBorders(), applyFromArray(), and getHashCode().
PHPExcel_Style_Borders::getSelectedCells | ( | ) |
Get the currently active cell coordinate in currently active sheet.
Only used for supervisor
Definition at line 230 of file Borders.php.
References getActiveSheet().
Referenced by applyFromArray(), and setDiagonalDirection().
PHPExcel_Style_Borders::getSharedComponent | ( | ) |
Get the shared style component for the currently active cell in currently active sheet.
Only used for style supervisor
Definition at line 209 of file Borders.php.
Referenced by getDiagonalDirection(), and getHashCode().
PHPExcel_Style_Borders::getStyleArray | ( | $array | ) |
Build style array from subcomponents.
array | $array |
Definition at line 252 of file Borders.php.
Referenced by applyFromArray(), and setDiagonalDirection().
PHPExcel_Style_Borders::getTop | ( | ) |
Get Top.
Definition at line 354 of file Borders.php.
References $_top.
Referenced by PHPExcel_Writer_HTML\_createCSSStyleBorders(), applyFromArray(), and getHashCode().
PHPExcel_Style_Borders::getVertical | ( | ) |
Get Vertical (pseudo-border).
Only applies to supervisor.
Exception |
Definition at line 421 of file Borders.php.
References $_vertical.
PHPExcel_Style_Borders::setDiagonalDirection | ( | $pValue = PHPExcel_Style_Borders::DIAGONAL_NONE | ) |
Set DiagonalDirection.
int | $pValue |
Definition at line 459 of file Borders.php.
References DIAGONAL_NONE, getActiveSheet(), getSelectedCells(), and getStyleArray().
Referenced by applyFromArray().
|
private |
Definition at line 91 of file Borders.php.
Referenced by getAllBorders().
|
private |
Definition at line 70 of file Borders.php.
Referenced by getBottom().
|
private |
Definition at line 77 of file Borders.php.
Referenced by getDiagonal().
|
private |
Definition at line 84 of file Borders.php.
Referenced by getDiagonalDirection().
|
private |
Definition at line 119 of file Borders.php.
Referenced by getHorizontal().
|
private |
Definition at line 105 of file Borders.php.
Referenced by getInside().
|
private |
Definition at line 133 of file Borders.php.
Referenced by getIsSupervisor().
|
private |
Definition at line 49 of file Borders.php.
Referenced by getLeft().
|
private |
Definition at line 98 of file Borders.php.
Referenced by getOutline().
|
private |
Definition at line 140 of file Borders.php.
|
private |
Definition at line 126 of file Borders.php.
|
private |
Definition at line 56 of file Borders.php.
Referenced by getRight().
|
private |
Definition at line 63 of file Borders.php.
Referenced by getTop().
|
private |
Definition at line 112 of file Borders.php.
Referenced by getVertical().
const PHPExcel_Style_Borders::DIAGONAL_BOTH = 3 |
Definition at line 42 of file Borders.php.
Referenced by PHPExcel_Reader_Excel2007\_readStyle(), PHPExcel_Reader_Excel5\_readXf(), PHPExcel_Writer_Excel2007_Style\_writeBorder(), and PHPExcel_Writer_Excel5_Xf\writeXf().
const PHPExcel_Style_Borders::DIAGONAL_DOWN = 2 |
Definition at line 41 of file Borders.php.
Referenced by PHPExcel_Reader_Excel2007\_readStyle(), PHPExcel_Reader_Excel5\_readXf(), PHPExcel_Writer_Excel2007_Style\_writeBorder(), and PHPExcel_Writer_Excel5_Xf\writeXf().
const PHPExcel_Style_Borders::DIAGONAL_NONE = 0 |
Definition at line 39 of file Borders.php.
Referenced by __construct(), PHPExcel_Reader_Excel2007\_readStyle(), PHPExcel_Reader_Excel5\_readXf(), and setDiagonalDirection().
const PHPExcel_Style_Borders::DIAGONAL_UP = 1 |
Definition at line 40 of file Borders.php.
Referenced by PHPExcel_Reader_Excel2007\_readStyle(), PHPExcel_Reader_Excel5\_readXf(), PHPExcel_Writer_Excel2007_Style\_writeBorder(), and PHPExcel_Writer_Excel5_Xf\writeXf().