|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for PhpOffice\PhpSpreadsheet\Style\Border:
Collaboration diagram for PhpOffice\PhpSpreadsheet\Style\Border:Public Member Functions | |
| __construct ($isSupervisor=false) | |
| Create a new Border. More... | |
| getStyleArray ($array) | |
| Build style array from subcomponents. More... | |
| applyFromArray (array $pStyles) | |
| Apply styles from array. More... | |
| getBorderStyle () | |
| Get Border style. More... | |
| setBorderStyle ($pValue) | |
| Set Border style. More... | |
| getColor () | |
| Get Border Color. More... | |
| setColor (Color $pValue) | |
| Set Border Color. More... | |
| getHashCode () | |
| Get hash code. More... | |
Public Member Functions inherited from PhpOffice\PhpSpreadsheet\Style\Supervisor | |
| __construct ($isSupervisor=false) | |
| Create a new Supervisor. 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... | |
| exportArray () | |
| Export style as array. 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' |
| $colorIndex | |
Protected Member Functions | |
| exportArray1 () | |
| Abstract method to be implemented in anything which extends this class. More... | |
Protected Member Functions inherited from PhpOffice\PhpSpreadsheet\Style\Supervisor | |
| exportArray1 () | |
| Abstract method to be implemented in anything which extends this class. More... | |
| exportArray2 (array &$exportedArray, string $index, $objOrValue) | |
| Populate array from exportArray1. More... | |
Protected Attributes | |
| $borderStyle = self::BORDER_NONE | |
| $color | |
Protected Attributes inherited from PhpOffice\PhpSpreadsheet\Style\Supervisor | |
| $isSupervisor | |
| $parent | |
| $parentPropertyName | |
Definition at line 7 of file Border.php.
| PhpOffice\PhpSpreadsheet\Style\Border::__construct | ( | $isSupervisor = false | ) |
Create a new Border.
| bool | $isSupervisor | Flag indicating if this is a supervisor or not Leave this value at default unless you understand exactly what its ramifications are |
Reimplemented from PhpOffice\PhpSpreadsheet\Style\Supervisor.
Definition at line 51 of file Border.php.
References PhpOffice\PhpSpreadsheet\Style\Supervisor\$isSupervisor, color, and PhpOffice\PhpSpreadsheet\Style\Color\COLOR_BLACK.
| PhpOffice\PhpSpreadsheet\Style\Border::applyFromArray | ( | array | $pStyles | ) |
Apply styles from array.
$spreadsheet->getActiveSheet()->getStyle('B2')->getBorders()->getTop()->applyFromArray( [ 'borderStyle' => Border::BORDER_DASHDOT, 'color' => [ 'rgb' => '808080' ] ] );
| array | $pStyles | Array containing style information |
Definition at line 121 of file Border.php.
References PhpOffice\PhpSpreadsheet\Style\Supervisor\getActiveSheet(), PhpOffice\PhpSpreadsheet\Style\Border\getColor(), PhpOffice\PhpSpreadsheet\Style\Supervisor\getSelectedCells(), PhpOffice\PhpSpreadsheet\Style\Border\getStyleArray(), and PhpOffice\PhpSpreadsheet\Style\Border\setBorderStyle().
Here is the call graph for this function:
|
protected |
Abstract method to be implemented in anything which extends this class.
This method invokes exportArray2 with the names and values of all properties to be included in output array, returning that array to exportArray, then to caller.
Reimplemented from PhpOffice\PhpSpreadsheet\Style\Supervisor.
Definition at line 225 of file Border.php.
References PhpOffice\PhpSpreadsheet\Style\Supervisor\exportArray2(), PhpOffice\PhpSpreadsheet\Style\Border\getBorderStyle(), and PhpOffice\PhpSpreadsheet\Style\Border\getColor().
Here is the call graph for this function:| PhpOffice\PhpSpreadsheet\Style\Border::getBorderStyle | ( | ) |
Get Border style.
Definition at line 142 of file Border.php.
References PhpOffice\PhpSpreadsheet\Style\Border\$borderStyle, and PhpOffice\PhpSpreadsheet\Style\Style\getSharedComponent().
Referenced by PhpOffice\PhpSpreadsheet\Writer\Html\createCSSStyleBorder(), PhpOffice\PhpSpreadsheet\Style\Border\exportArray1(), and PhpOffice\PhpSpreadsheet\Writer\Xlsx\Style\writeBorderPr().
Here is the call graph for this function:
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\Style\Border::getColor | ( | ) |
Definition at line 182 of file Border.php.
References PhpOffice\PhpSpreadsheet\Style\Border\$color.
Referenced by PhpOffice\PhpSpreadsheet\Style\Border\applyFromArray(), PhpOffice\PhpSpreadsheet\Writer\Html\createCSSStyleBorder(), PhpOffice\PhpSpreadsheet\Style\Border\exportArray1(), PhpOffice\PhpSpreadsheet\Style\Border\setColor(), and PhpOffice\PhpSpreadsheet\Writer\Xlsx\Style\writeBorderPr().
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\Style\Border::getHashCode | ( | ) |
Get hash code.
Implements PhpOffice\PhpSpreadsheet\IComparable.
Definition at line 212 of file Border.php.
References color, and PhpOffice\PhpSpreadsheet\Style\Style\getSharedComponent().
Here is the call graph for this function:| PhpOffice\PhpSpreadsheet\Style\Border::getStyleArray | ( | $array | ) |
Build style array from subcomponents.
| array | $array |
Definition at line 98 of file Border.php.
Referenced by PhpOffice\PhpSpreadsheet\Style\Border\applyFromArray(), and PhpOffice\PhpSpreadsheet\Style\Border\setBorderStyle().
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\Style\Border::setBorderStyle | ( | $pValue | ) |
Set Border style.
| bool | string | $pValue | When passing a boolean, FALSE equates Border::BORDER_NONE and TRUE to Border::BORDER_MEDIUM |
Definition at line 160 of file Border.php.
References PhpOffice\PhpSpreadsheet\Style\Border\BORDER_MEDIUM, PhpOffice\PhpSpreadsheet\Style\Border\BORDER_NONE, PhpOffice\PhpSpreadsheet\Style\Supervisor\getActiveSheet(), PhpOffice\PhpSpreadsheet\Style\Supervisor\getSelectedCells(), and PhpOffice\PhpSpreadsheet\Style\Border\getStyleArray().
Referenced by PhpOffice\PhpSpreadsheet\Style\Border\applyFromArray().
Here is the call graph for this function:
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\Style\Border::setColor | ( | Color | $pValue | ) |
Definition at line 192 of file Border.php.
References PhpOffice\PhpSpreadsheet\Style\Border\$color, color, PhpOffice\PhpSpreadsheet\Style\Supervisor\getActiveSheet(), PhpOffice\PhpSpreadsheet\Style\Border\getColor(), PhpOffice\PhpSpreadsheet\Style\Supervisor\getIsSupervisor(), and PhpOffice\PhpSpreadsheet\Style\Supervisor\getSelectedCells().
Here is the call graph for this function:
|
protected |
Definition at line 30 of file Border.php.
Referenced by PhpOffice\PhpSpreadsheet\Style\Border\getBorderStyle().
|
protected |
Definition at line 37 of file Border.php.
Referenced by PhpOffice\PhpSpreadsheet\Style\Border\getColor(), and PhpOffice\PhpSpreadsheet\Style\Border\setColor().
| PhpOffice\PhpSpreadsheet\Style\Border::$colorIndex |
Definition at line 42 of file Border.php.
| const PhpOffice\PhpSpreadsheet\Style\Border::BORDER_DASHDOT = 'dashDot' |
Definition at line 11 of file Border.php.
| const PhpOffice\PhpSpreadsheet\Style\Border::BORDER_DASHDOTDOT = 'dashDotDot' |
Definition at line 12 of file Border.php.
| const PhpOffice\PhpSpreadsheet\Style\Border::BORDER_DASHED = 'dashed' |
Definition at line 13 of file Border.php.
| const PhpOffice\PhpSpreadsheet\Style\Border::BORDER_DOTTED = 'dotted' |
Definition at line 14 of file Border.php.
| const PhpOffice\PhpSpreadsheet\Style\Border::BORDER_DOUBLE = 'double' |
Definition at line 15 of file Border.php.
| const PhpOffice\PhpSpreadsheet\Style\Border::BORDER_HAIR = 'hair' |
Definition at line 16 of file Border.php.
| const PhpOffice\PhpSpreadsheet\Style\Border::BORDER_MEDIUM = 'medium' |
Definition at line 17 of file Border.php.
Referenced by PhpOffice\PhpSpreadsheet\Style\Border\setBorderStyle().
| const PhpOffice\PhpSpreadsheet\Style\Border::BORDER_MEDIUMDASHDOT = 'mediumDashDot' |
Definition at line 18 of file Border.php.
| const PhpOffice\PhpSpreadsheet\Style\Border::BORDER_MEDIUMDASHDOTDOT = 'mediumDashDotDot' |
Definition at line 19 of file Border.php.
| const PhpOffice\PhpSpreadsheet\Style\Border::BORDER_MEDIUMDASHED = 'mediumDashed' |
Definition at line 20 of file Border.php.
| const PhpOffice\PhpSpreadsheet\Style\Border::BORDER_NONE = 'none' |
| const PhpOffice\PhpSpreadsheet\Style\Border::BORDER_SLANTDASHDOT = 'slantDashDot' |
Definition at line 21 of file Border.php.
| const PhpOffice\PhpSpreadsheet\Style\Border::BORDER_THICK = 'thick' |
Definition at line 22 of file Border.php.
| const PhpOffice\PhpSpreadsheet\Style\Border::BORDER_THIN = 'thin' |
Definition at line 23 of file Border.php.