|
ILIAS
eassessment Revision 61809
|
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. | |
| 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. | |
| 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. | |
| __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 = PHPExcel_Style_Border::BORDER_NONE | |
| $_color | |
| $_isSupervisor | |
| $_parent | |
| $_parentPropertyName | |
Definition at line 36 of file Border.php.
| PHPExcel_Style_Border::__construct | ( | $isSupervisor = false | ) |
Create a new PHPExcel_Style_Border.
Definition at line 92 of file Border.php.
References PHPExcel_Style_Color\COLOR_BLACK.
| PHPExcel_Style_Border::__clone | ( | ) |
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition at line 371 of file Border.php.
| 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 273 of file Border.php.
References getActiveSheet(), getColor(), getSelectedCells(), getStyleArray(), 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 113 of file Border.php.
| PHPExcel_Style_Border::getActiveCell | ( | ) |
Get the currently active cell coordinate in currently active sheet.
Only used for supervisor
Definition at line 198 of file Border.php.
References getActiveSheet().
Here is the call graph for this function:| PHPExcel_Style_Border::getActiveSheet | ( | ) |
Get the currently active sheet.
Only used for supervisor
Definition at line 176 of file Border.php.
Referenced by applyFromArray(), getActiveCell(), getSelectedCells(), setBorderStyle(), and setColor().
Here is the caller graph for this function:| PHPExcel_Style_Border::getBorderStyle | ( | ) |
Get Border style.
Definition at line 296 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 328 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 357 of file Border.php.
References getSharedComponent().
Here is the call graph for this function:| PHPExcel_Style_Border::getIsSupervisor | ( | ) |
Is this a supervisor or a real style component?
Definition at line 125 of file Border.php.
References $_isSupervisor.
| PHPExcel_Style_Border::getSelectedCells | ( | ) |
Get the currently active cell coordinate in currently active sheet.
Only used for supervisor
Definition at line 187 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::getSharedComponent | ( | ) |
Get the shared style component for the currently active cell in currently active sheet.
Only used for style supervisor
| Exception |
Definition at line 137 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 209 of file Border.php.
Referenced by applyFromArray(), and setBorderStyle().
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 309 of file Border.php.
References BORDER_NONE, getActiveSheet(), getSelectedCells(), and getStyleArray().
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 339 of file Border.php.
References getActiveSheet(), getColor(), and getSelectedCells().
Here is the call graph for this function:
|
private |
Definition at line 59 of file Border.php.
Referenced by getBorderStyle().
|
private |
Definition at line 66 of file Border.php.
Referenced by getColor().
|
private |
Definition at line 73 of file Border.php.
Referenced by getIsSupervisor().
|
private |
Definition at line 80 of file Border.php.
|
private |
Definition at line 87 of file Border.php.
| const PHPExcel_Style_Border::BORDER_DASHDOT = 'dashDot' |
Definition at line 40 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), and PHPExcel_Reader_Gnumeric\_parseBorderAttributes().
| const PHPExcel_Style_Border::BORDER_DASHDOTDOT = 'dashDotDot' |
Definition at line 41 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), and PHPExcel_Reader_Gnumeric\_parseBorderAttributes().
| const PHPExcel_Style_Border::BORDER_DASHED = 'dashed' |
Definition at line 42 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), and PHPExcel_Reader_Gnumeric\_parseBorderAttributes().
| const PHPExcel_Style_Border::BORDER_DOTTED = 'dotted' |
Definition at line 43 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), and PHPExcel_Reader_Gnumeric\_parseBorderAttributes().
| const PHPExcel_Style_Border::BORDER_DOUBLE = 'double' |
Definition at line 44 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), and PHPExcel_Reader_Gnumeric\_parseBorderAttributes().
| const PHPExcel_Style_Border::BORDER_HAIR = 'hair' |
Definition at line 45 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_MEDIUM = 'medium' |
| const PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT = 'mediumDashDot' |
Definition at line 47 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), and PHPExcel_Reader_Gnumeric\_parseBorderAttributes().
| const PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT = 'mediumDashDotDot' |
Definition at line 48 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), and PHPExcel_Reader_Gnumeric\_parseBorderAttributes().
| const PHPExcel_Style_Border::BORDER_MEDIUMDASHED = 'mediumDashed' |
Definition at line 49 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), and PHPExcel_Reader_Gnumeric\_parseBorderAttributes().
| const PHPExcel_Style_Border::BORDER_NONE = 'none' |
Definition at line 39 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), PHPExcel_Reader_Gnumeric\_parseBorderAttributes(), PHPExcel_Writer_Excel2007_Style\_writeBorderPr(), and setBorderStyle().
| const PHPExcel_Style_Border::BORDER_SLANTDASHDOT = 'slantDashDot' |
Definition at line 50 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), and PHPExcel_Reader_Gnumeric\_parseBorderAttributes().
| const PHPExcel_Style_Border::BORDER_THICK = 'thick' |
Definition at line 51 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), and PHPExcel_Reader_Gnumeric\_parseBorderAttributes().
| const PHPExcel_Style_Border::BORDER_THIN = 'thin' |
Definition at line 52 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Writer_Excel5_Xf\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), PHPExcel_Reader_Gnumeric\_parseBorderAttributes(), and PHPExcel_Reader_SYLK\loadIntoExisting().