|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for PHPExcel_Style_Borders:
Collaboration diagram for PHPExcel_Style_Borders:Public Member Functions | |
| __construct ($isSupervisor=FALSE, $isConditional=FALSE) | |
| Create a new PHPExcel_Style_Borders. More... | |
| getSharedComponent () | |
| Get the shared style component for the currently active cell in currently active sheet. More... | |
| getStyleArray ($array) | |
| Build style array from subcomponents. More... | |
| applyFromArray ($pStyles=null) | |
| Apply styles from array. More... | |
| getLeft () | |
| Get Left. More... | |
| getRight () | |
| Get Right. More... | |
| getTop () | |
| Get Top. More... | |
| getBottom () | |
| Get Bottom. More... | |
| getDiagonal () | |
| Get Diagonal. More... | |
| getAllBorders () | |
| Get AllBorders (pseudo-border). More... | |
| getOutline () | |
| Get Outline (pseudo-border). More... | |
| getInside () | |
| Get Inside (pseudo-border). More... | |
| getVertical () | |
| Get Vertical (pseudo-border). More... | |
| getHorizontal () | |
| Get Horizontal (pseudo-border). More... | |
| getDiagonalDirection () | |
| Get DiagonalDirection. More... | |
| setDiagonalDirection ($pValue=PHPExcel_Style_Borders::DIAGONAL_NONE) | |
| Set DiagonalDirection. More... | |
| getHashCode () | |
| Get hash code. More... | |
Public Member Functions inherited from PHPExcel_Style_Supervisor | |
| __construct ($isSupervisor=FALSE) | |
| Create a new PHPExcel_Style_Alignment. More... | |
| bindParent ($parent, $parentPropertyName=NULL) | |
| Bind parent. More... | |
| getIsSupervisor () | |
| Is this a supervisor or a cell style component? More... | |
| getActiveSheet () | |
| Get the currently active sheet. More... | |
| getSelectedCells () | |
| Get the currently active cell coordinate in currently active sheet. More... | |
| getActiveCell () | |
| Get the currently active cell coordinate in currently active sheet. More... | |
| __clone () | |
| Implement PHP __clone to create a deep clone, not just a shallow copy. More... | |
| getHashCode () | |
| Get hash code. More... | |
Data Fields | |
| const | DIAGONAL_NONE = 0 |
| const | DIAGONAL_UP = 1 |
| const | DIAGONAL_DOWN = 2 |
| const | DIAGONAL_BOTH = 3 |
Protected Attributes | |
| $_left | |
| $_right | |
| $_top | |
| $_bottom | |
| $_diagonal | |
| $_diagonalDirection | |
| $_allBorders | |
| $_outline | |
| $_inside | |
| $_vertical | |
| $_horizontal | |
Protected Attributes inherited from PHPExcel_Style_Supervisor | |
| $_isSupervisor | |
| $_parent | |
Definition at line 36 of file Borders.php.
| PHPExcel_Style_Borders::__construct | ( | $isSupervisor = FALSE, |
|
$isConditional = FALSE |
|||
| ) |
Create a new PHPExcel_Style_Borders.
@param boolean $isSupervisor Flag indicating if this is a supervisor or not
Leave this value at default unless you understand exactly what
its ramifications are
@param 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
Definition at line 131 of file Borders.php.
References DIAGONAL_NONE.
| 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 |
| PHPExcel_Exception |
Definition at line 227 of file Borders.php.
References PHPExcel_Style_Supervisor\getActiveSheet(), getBottom(), getDiagonal(), getLeft(), getRight(), PHPExcel_Style_Supervisor\getSelectedCells(), getStyleArray(), getTop(), and setDiagonalDirection().
Here is the call graph for this function:| PHPExcel_Style_Borders::getAllBorders | ( | ) |
Get AllBorders (pseudo-border).
Only applies to supervisor.
| PHPExcel_Exception |
Definition at line 314 of file Borders.php.
References $_allBorders.
| PHPExcel_Style_Borders::getBottom | ( | ) |
Get Bottom.
Definition at line 295 of file Borders.php.
References $_bottom.
Referenced by PHPExcel_Writer_HTML\_createCSSStyleBorders(), applyFromArray(), and getHashCode().
Here is the caller graph for this function:| PHPExcel_Style_Borders::getDiagonal | ( | ) |
Get Diagonal.
Definition at line 304 of file Borders.php.
References $_diagonal.
Referenced by applyFromArray(), and getHashCode().
Here is the caller graph for this function:| PHPExcel_Style_Borders::getDiagonalDirection | ( | ) |
Get DiagonalDirection.
Definition at line 378 of file Borders.php.
References $_diagonalDirection, and getSharedComponent().
Referenced by getHashCode().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Borders::getHashCode | ( | ) |
Get hash code.
Implements PHPExcel_IComparable.
Definition at line 409 of file Borders.php.
References getBottom(), getDiagonal(), getDiagonalDirection(), getHashCode(), getLeft(), getRight(), getSharedComponent(), and getTop().
Referenced by getHashCode().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Borders::getHorizontal | ( | ) |
Get Horizontal (pseudo-border).
Only applies to supervisor.
| PHPExcel_Exception |
Definition at line 366 of file Borders.php.
References $_horizontal.
| PHPExcel_Style_Borders::getInside | ( | ) |
Get Inside (pseudo-border).
Only applies to supervisor.
| PHPExcel_Exception |
Definition at line 340 of file Borders.php.
References $_inside.
| PHPExcel_Style_Borders::getLeft | ( | ) |
Get Left.
Definition at line 268 of file Borders.php.
References $_left.
Referenced by PHPExcel_Writer_HTML\_createCSSStyleBorders(), applyFromArray(), and getHashCode().
Here is the caller graph for this function:| PHPExcel_Style_Borders::getOutline | ( | ) |
Get Outline (pseudo-border).
Only applies to supervisor.
| PHPExcel_Exception |
Definition at line 327 of file Borders.php.
References $_outline.
| PHPExcel_Style_Borders::getRight | ( | ) |
Get Right.
Definition at line 277 of file Borders.php.
References $_right.
Referenced by PHPExcel_Writer_HTML\_createCSSStyleBorders(), applyFromArray(), and getHashCode().
Here is the caller graph for this function:| 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 173 of file Borders.php.
Referenced by getDiagonalDirection(), and getHashCode().
Here is the caller graph for this function:| PHPExcel_Style_Borders::getStyleArray | ( | $array | ) |
Build style array from subcomponents.
| array | $array |
Definition at line 184 of file Borders.php.
Referenced by applyFromArray(), and setDiagonalDirection().
Here is the caller graph for this function:| PHPExcel_Style_Borders::getTop | ( | ) |
Get Top.
Definition at line 286 of file Borders.php.
References $_top.
Referenced by PHPExcel_Writer_HTML\_createCSSStyleBorders(), applyFromArray(), and getHashCode().
Here is the caller graph for this function:| PHPExcel_Style_Borders::getVertical | ( | ) |
Get Vertical (pseudo-border).
Only applies to supervisor.
| PHPExcel_Exception |
Definition at line 353 of file Borders.php.
References $_vertical.
| PHPExcel_Style_Borders::setDiagonalDirection | ( | $pValue = PHPExcel_Style_Borders::DIAGONAL_NONE | ) |
Set DiagonalDirection.
| int | $pValue |
Definition at line 391 of file Borders.php.
References DIAGONAL_NONE, PHPExcel_Style_Supervisor\getActiveSheet(), PHPExcel_Style_Supervisor\getSelectedCells(), and getStyleArray().
Referenced by applyFromArray().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 91 of file Borders.php.
Referenced by getAllBorders().
|
protected |
Definition at line 70 of file Borders.php.
Referenced by getBottom().
|
protected |
Definition at line 77 of file Borders.php.
Referenced by getDiagonal().
|
protected |
Definition at line 84 of file Borders.php.
Referenced by getDiagonalDirection().
|
protected |
Definition at line 119 of file Borders.php.
Referenced by getHorizontal().
|
protected |
Definition at line 105 of file Borders.php.
Referenced by getInside().
|
protected |
Definition at line 49 of file Borders.php.
Referenced by getLeft().
|
protected |
Definition at line 98 of file Borders.php.
Referenced by getOutline().
|
protected |
Definition at line 56 of file Borders.php.
Referenced by getRight().
|
protected |
Definition at line 63 of file Borders.php.
Referenced by getTop().
|
protected |
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().