|
ILIAS
Release_4_0_x_branch Revision 61816
|
Inheritance diagram for PHPExcel_Style_Border:
Collaboration diagram for PHPExcel_Style_Border:Public Member Functions | |
| __construct ($isSupervisor=false) | |
| Create a new PHPExcel_Style_Border. | |
| bindParent ($parent, $parentPropertyName) | |
| 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. | |
| getXSelectedCells () | |
| Get the currently active cell coordinate in currently active sheet. | |
| getXActiveCell () | |
| Get the currently active cell coordinate in currently active sheet. | |
| getStyleArray ($array) | |
| Build style array from subcomponents. | |
| applyFromArray ($pStyles=null) | |
| Apply styles from array. | |
| getBorderStyle () | |
| Get Border style. | |
| setBorderStyle ($pValue=PHPExcel_Style_Border::BORDER_NONE) | |
| Set Border style. | |
| getColor () | |
| Get Border Color. | |
| setColor (PHPExcel_Style_Color $pValue=null) | |
| Set Border Color. | |
| getHashCode () | |
| Get hash code. | |
| getHashIndex () | |
| Get hash index. | |
| setHashIndex ($value) | |
| Set hash index. | |
| __clone () | |
| Implement PHP __clone to create a deep clone, not just a shallow copy. | |
Data Fields | |
| const | BORDER_NONE = 'none' |
| const | BORDER_DASHDOT = 'dashDot' |
| const | BORDER_DASHDOTDOT = 'dashDotDot' |
| const | BORDER_DASHED = 'dashed' |
| const | BORDER_DOTTED = 'dotted' |
| const | BORDER_DOUBLE = 'double' |
| const | BORDER_HAIR = 'hair' |
| const | BORDER_MEDIUM = 'medium' |
| const | BORDER_MEDIUMDASHDOT = 'mediumDashDot' |
| const | BORDER_MEDIUMDASHDOTDOT = 'mediumDashDotDot' |
| const | BORDER_MEDIUMDASHED = 'mediumDashed' |
| const | BORDER_SLANTDASHDOT = 'slantDashDot' |
| const | BORDER_THICK = 'thick' |
| const | BORDER_THIN = 'thin' |
Private Attributes | |
| $_borderStyle | |
| $_color | |
| $_isSupervisor | |
| $_parent | |
| $_parentPropertyName | |
| $_hashIndex | |
Definition at line 51 of file Border.php.
| PHPExcel_Style_Border::__construct | ( | $isSupervisor = false | ) |
Create a new PHPExcel_Style_Border.
Definition at line 107 of file Border.php.
References BORDER_NONE, and PHPExcel_Style_Color\COLOR_BLACK.
| PHPExcel_Style_Border::__clone | ( | ) |
| PHPExcel_Style_Border::applyFromArray | ( | $pStyles = null | ) |
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 |
| Exception |
Definition at line 289 of file Border.php.
References getActiveSheet(), getColor(), getStyleArray(), getXSelectedCells(), and setBorderStyle().
Here is the call graph for this function:| PHPExcel_Style_Border::bindParent | ( | $parent, | |
| $parentPropertyName | |||
| ) |
Bind parent.
Only used for supervisor
| PHPExcel_Style_Borders | $parent | |
| string | $parentPropertyName |
Definition at line 129 of file Border.php.
| PHPExcel_Style_Border::getActiveSheet | ( | ) |
Get the currently active sheet.
Only used for supervisor
Definition at line 192 of file Border.php.
Referenced by applyFromArray(), getXActiveCell(), getXSelectedCells(), setBorderStyle(), and setColor().
Here is the caller graph for this function:| PHPExcel_Style_Border::getBorderStyle | ( | ) |
Get Border style.
Definition at line 312 of file Border.php.
References $_borderStyle, and getSharedComponent().
Referenced by PHPExcel_Writer_HTML\_createCSSStyleBorder().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Border::getColor | ( | ) |
Get Border Color.
Definition at line 344 of file Border.php.
References $_color.
Referenced by PHPExcel_Writer_HTML\_createCSSStyleBorder(), applyFromArray(), and setColor().
Here is the caller graph for this function:| PHPExcel_Style_Border::getHashCode | ( | ) |
Get hash code.
Implements PHPExcel_IComparable.
Definition at line 373 of file Border.php.
References getSharedComponent().
Here is the call graph for this function:| PHPExcel_Style_Border::getHashIndex | ( | ) |
Get hash index.
Note that this index may vary during script execution! Only reliable moment is while doing a write of a workbook and when changes are not allowed.
Implements PHPExcel_IComparable.
Definition at line 399 of file Border.php.
References $_hashIndex.
| PHPExcel_Style_Border::getIsSupervisor | ( | ) |
Is this a supervisor or a real style component?
Definition at line 141 of file Border.php.
References $_isSupervisor.
| PHPExcel_Style_Border::getSharedComponent | ( | ) |
Get the shared style component for the currently active cell in currently active sheet.
Only used for style supervisor
| Exception |
Definition at line 153 of file Border.php.
Referenced by getBorderStyle(), and getHashCode().
Here is the caller graph for this function:| PHPExcel_Style_Border::getStyleArray | ( | $array | ) |
Build style array from subcomponents.
| array | $array |
Definition at line 225 of file Border.php.
References $key.
Referenced by applyFromArray(), and setBorderStyle().
Here is the caller graph for this function:| PHPExcel_Style_Border::getXActiveCell | ( | ) |
Get the currently active cell coordinate in currently active sheet.
Only used for supervisor
Definition at line 214 of file Border.php.
References getActiveSheet().
Here is the call graph for this function:| PHPExcel_Style_Border::getXSelectedCells | ( | ) |
Get the currently active cell coordinate in currently active sheet.
Only used for supervisor
Definition at line 203 of file Border.php.
References getActiveSheet().
Referenced by applyFromArray(), setBorderStyle(), and setColor().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Border::setBorderStyle | ( | $pValue = PHPExcel_Style_Border::BORDER_NONE | ) |
Set Border style.
| string | $pValue |
Definition at line 325 of file Border.php.
References BORDER_NONE, getActiveSheet(), getStyleArray(), and getXSelectedCells().
Referenced by applyFromArray().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Border::setColor | ( | PHPExcel_Style_Color | $pValue = null | ) |
Set Border Color.
| PHPExcel_Style_Color | $pValue |
| Exception |
Definition at line 355 of file Border.php.
References getActiveSheet(), getColor(), and getXSelectedCells().
Here is the call graph for this function:| PHPExcel_Style_Border::setHashIndex | ( | $value | ) |
Set hash index.
Note that this index may vary during script execution! Only reliable moment is while doing a write of a workbook and when changes are not allowed.
| string | $value | Hash index |
Implements PHPExcel_IComparable.
Definition at line 411 of file Border.php.
|
private |
Definition at line 74 of file Border.php.
Referenced by getBorderStyle().
|
private |
Definition at line 81 of file Border.php.
Referenced by getColor().
|
private |
Definition at line 389 of file Border.php.
Referenced by getHashIndex().
|
private |
Definition at line 88 of file Border.php.
Referenced by getIsSupervisor().
|
private |
Definition at line 95 of file Border.php.
|
private |
Definition at line 102 of file Border.php.
| const PHPExcel_Style_Border::BORDER_DASHDOT = 'dashDot' |
Definition at line 55 of file Border.php.
Referenced by PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), and PHPExcel_Reader_Excel5\_mapBorderStyle().
| const PHPExcel_Style_Border::BORDER_DASHDOTDOT = 'dashDotDot' |
Definition at line 56 of file Border.php.
Referenced by PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), and PHPExcel_Reader_Excel5\_mapBorderStyle().
| const PHPExcel_Style_Border::BORDER_DASHED = 'dashed' |
Definition at line 57 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), and PHPExcel_Reader_Excel5\_mapBorderStyle().
| const PHPExcel_Style_Border::BORDER_DOTTED = 'dotted' |
Definition at line 58 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), and PHPExcel_Reader_Excel5\_mapBorderStyle().
| const PHPExcel_Style_Border::BORDER_DOUBLE = 'double' |
Definition at line 59 of file Border.php.
Referenced by PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), and PHPExcel_Reader_Excel5\_mapBorderStyle().
| const PHPExcel_Style_Border::BORDER_HAIR = 'hair' |
Definition at line 60 of file Border.php.
Referenced by PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), and PHPExcel_Reader_Excel5\_mapBorderStyle().
| const PHPExcel_Style_Border::BORDER_MEDIUM = 'medium' |
Definition at line 61 of file Border.php.
Referenced by PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), and PHPExcel_Reader_Excel5\_mapBorderStyle().
| const PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT = 'mediumDashDot' |
Definition at line 62 of file Border.php.
Referenced by PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), and PHPExcel_Reader_Excel5\_mapBorderStyle().
| const PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT = 'mediumDashDotDot' |
Definition at line 63 of file Border.php.
Referenced by PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), and PHPExcel_Reader_Excel5\_mapBorderStyle().
| const PHPExcel_Style_Border::BORDER_MEDIUMDASHED = 'mediumDashed' |
Definition at line 64 of file Border.php.
Referenced by PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), and PHPExcel_Reader_Excel5\_mapBorderStyle().
| const PHPExcel_Style_Border::BORDER_NONE = 'none' |
Definition at line 54 of file Border.php.
Referenced by __construct(), PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), PHPExcel_Writer_Excel2007_Style\_writeBorderPr(), and setBorderStyle().
| const PHPExcel_Style_Border::BORDER_SLANTDASHDOT = 'slantDashDot' |
Definition at line 65 of file Border.php.
Referenced by PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), and PHPExcel_Reader_Excel5\_mapBorderStyle().
| const PHPExcel_Style_Border::BORDER_THICK = 'thick' |
Definition at line 66 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), and PHPExcel_Reader_Excel5\_mapBorderStyle().
| const PHPExcel_Style_Border::BORDER_THIN = 'thin' |
Definition at line 67 of file Border.php.
Referenced by PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), and PHPExcel_Reader_Excel5\_mapBorderStyle().