|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for PHPExcel_Style_Border:
Collaboration diagram for PHPExcel_Style_Border:Public Member Functions | |
| __construct ($isSupervisor=FALSE, $isConditional=FALSE) | |
| Create a new PHPExcel_Style_Border. More... | |
| bindParent ($parent, $parentPropertyName=NULL) | |
| Bind parent. 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... | |
| getBorderStyle () | |
| Get Border style. More... | |
| setBorderStyle ($pValue=PHPExcel_Style_Border::BORDER_NONE) | |
| Set Border style. More... | |
| getColor () | |
| Get Border Color. More... | |
| setColor (PHPExcel_Style_Color $pValue=null) | |
| Set Border Color. 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 | 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' |
Protected Attributes | |
| $_borderStyle = PHPExcel_Style_Border::BORDER_NONE | |
| $_color | |
| $_parentPropertyName | |
Protected Attributes inherited from PHPExcel_Style_Supervisor | |
| $_isSupervisor | |
| $_parent | |
Definition at line 36 of file Border.php.
| PHPExcel_Style_Border::__construct | ( | $isSupervisor = FALSE, |
|
$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 |
Definition at line 85 of file Border.php.
References PHPExcel_Style_Color\COLOR_BLACK.
| 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 |
| PHPExcel_Exception |
Definition at line 195 of file Border.php.
References PHPExcel_Style_Supervisor\getActiveSheet(), getColor(), PHPExcel_Style_Supervisor\getSelectedCells(), getStyleArray(), and setBorderStyle().
Here is the call graph for this function:| PHPExcel_Style_Border::bindParent | ( | $parent, | |
$parentPropertyName = NULL |
|||
| ) |
Bind parent.
Only used for supervisor
| PHPExcel_Style_Borders | $parent | |
| string | $parentPropertyName |
Reimplemented from PHPExcel_Style_Supervisor.
Definition at line 106 of file Border.php.
| PHPExcel_Style_Border::getBorderStyle | ( | ) |
Get Border style.
Definition at line 218 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 254 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 283 of file Border.php.
References getSharedComponent().
Here is the call 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
| PHPExcel_Exception |
Definition at line 120 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 150 of file Border.php.
References $key.
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 | boolean | $pValue | When passing a boolean, FALSE equates PHPExcel_Style_Border::BORDER_NONE and TRUE to PHPExcel_Style_Border::BORDER_MEDIUM |
Definition at line 233 of file Border.php.
References BORDER_MEDIUM, BORDER_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:| PHPExcel_Style_Border::setColor | ( | PHPExcel_Style_Color | $pValue = null | ) |
Set Border Color.
| PHPExcel_Style_Color | $pValue |
| PHPExcel_Exception |
Definition at line 265 of file Border.php.
References PHPExcel_Style_Supervisor\getActiveSheet(), getColor(), and PHPExcel_Style_Supervisor\getSelectedCells().
Here is the call graph for this function:
|
protected |
Definition at line 59 of file Border.php.
Referenced by getBorderStyle().
|
protected |
Definition at line 66 of file Border.php.
Referenced by getColor().
|
protected |
Definition at line 73 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_Reader_Excel5\_mapBorderStyle(), PHPExcel_Reader_Gnumeric\_parseBorderAttributes(), and PHPExcel_Writer_Excel5_Worksheet\_writeCFRule().
| const PHPExcel_Style_Border::BORDER_DASHDOTDOT = 'dashDotDot' |
Definition at line 41 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), PHPExcel_Reader_Gnumeric\_parseBorderAttributes(), and PHPExcel_Writer_Excel5_Worksheet\_writeCFRule().
| const PHPExcel_Style_Border::BORDER_DASHED = 'dashed' |
Definition at line 42 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), PHPExcel_Reader_Gnumeric\_parseBorderAttributes(), and PHPExcel_Writer_Excel5_Worksheet\_writeCFRule().
| const PHPExcel_Style_Border::BORDER_DOTTED = 'dotted' |
Definition at line 43 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), PHPExcel_Reader_Gnumeric\_parseBorderAttributes(), and PHPExcel_Writer_Excel5_Worksheet\_writeCFRule().
| const PHPExcel_Style_Border::BORDER_DOUBLE = 'double' |
Definition at line 44 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), PHPExcel_Reader_Gnumeric\_parseBorderAttributes(), and PHPExcel_Writer_Excel5_Worksheet\_writeCFRule().
| const PHPExcel_Style_Border::BORDER_HAIR = 'hair' |
Definition at line 45 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), and PHPExcel_Writer_Excel5_Worksheet\_writeCFRule().
| const PHPExcel_Style_Border::BORDER_MEDIUM = 'medium' |
Definition at line 46 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), PHPExcel_Reader_Gnumeric\_parseBorderAttributes(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), PHPExcel_Reader_Excel2003XML\loadIntoExisting(), and setBorderStyle().
| const PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT = 'mediumDashDot' |
Definition at line 47 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), PHPExcel_Reader_Gnumeric\_parseBorderAttributes(), and PHPExcel_Writer_Excel5_Worksheet\_writeCFRule().
| const PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT = 'mediumDashDotDot' |
Definition at line 48 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), PHPExcel_Reader_Gnumeric\_parseBorderAttributes(), and PHPExcel_Writer_Excel5_Worksheet\_writeCFRule().
| const PHPExcel_Style_Border::BORDER_MEDIUMDASHED = 'mediumDashed' |
Definition at line 49 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), PHPExcel_Reader_Gnumeric\_parseBorderAttributes(), and PHPExcel_Writer_Excel5_Worksheet\_writeCFRule().
| const PHPExcel_Style_Border::BORDER_NONE = 'none' |
Definition at line 39 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), PHPExcel_Reader_Gnumeric\_parseBorderAttributes(), PHPExcel_Writer_Excel2007_Style\_writeBorderPr(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and setBorderStyle().
| const PHPExcel_Style_Border::BORDER_SLANTDASHDOT = 'slantDashDot' |
Definition at line 50 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), PHPExcel_Reader_Gnumeric\_parseBorderAttributes(), and PHPExcel_Writer_Excel5_Worksheet\_writeCFRule().
| const PHPExcel_Style_Border::BORDER_THICK = 'thick' |
Definition at line 51 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), PHPExcel_Reader_Gnumeric\_parseBorderAttributes(), and PHPExcel_Writer_Excel5_Worksheet\_writeCFRule().
| const PHPExcel_Style_Border::BORDER_THIN = 'thin' |
Definition at line 52 of file Border.php.
Referenced by PHPExcel_Writer_HTML\_mapBorderStyle(), PHPExcel_Reader_Excel5\_mapBorderStyle(), PHPExcel_Reader_Gnumeric\_parseBorderAttributes(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), PHPExcel_Reader_SYLK\loadIntoExisting(), and ilExcel\setBorders().