ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__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... | |
Public Member Functions inherited from PhpOffice\PhpSpreadsheet\IComparable | |
getHashCode () | |
Get hash code. More... | |
Protected Member Functions | |
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 | |
$isSupervisor | |
$parent | |
$parentPropertyName | |
Definition at line 9 of file Supervisor.php.
PhpOffice\PhpSpreadsheet\Style\Supervisor::__construct | ( | $isSupervisor = false | ) |
Create a new Supervisor.
bool | $isSupervisor | Flag indicating if this is a supervisor or not Leave this value at default unless you understand exactly what its ramifications are |
Definition at line 39 of file Supervisor.php.
References PhpOffice\PhpSpreadsheet\Style\Supervisor\$isSupervisor.
PhpOffice\PhpSpreadsheet\Style\Supervisor::__clone | ( | ) |
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition at line 106 of file Supervisor.php.
References $key.
PhpOffice\PhpSpreadsheet\Style\Supervisor::bindParent | ( | $parent, | |
$parentPropertyName = null |
|||
) |
Bind parent.
Only used for supervisor.
Spreadsheet | Style | $parent | |
null | string | $parentPropertyName |
Definition at line 53 of file Supervisor.php.
References PhpOffice\PhpSpreadsheet\Style\Supervisor\$parent, and PhpOffice\PhpSpreadsheet\Style\Supervisor\$parentPropertyName.
|
final |
Export style as array.
Available to anything which extends this class: Alignment, Border, Borders, Color, Fill, Font, NumberFormat, Protection, and Style.
Definition at line 125 of file Supervisor.php.
References PhpOffice\PhpSpreadsheet\Style\Supervisor\exportArray1().
|
abstractprotected |
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.
Referenced by PhpOffice\PhpSpreadsheet\Style\Supervisor\exportArray().
|
finalprotected |
Populate array from exportArray1.
This method is available to anything which extends this class. The parameter index is the key to be added to the array. The parameter objOrValue is either a primitive type, which is the value added to the array, or a Style object to be recursively added via exportArray.
mixed | $objOrValue |
Definition at line 150 of file Supervisor.php.
References PhpOffice\PhpSpreadsheet\Style\Style\$index.
Referenced by PhpOffice\PhpSpreadsheet\Style\Protection\exportArray1(), PhpOffice\PhpSpreadsheet\Style\Border\exportArray1(), PhpOffice\PhpSpreadsheet\Style\Fill\exportArray1(), PhpOffice\PhpSpreadsheet\Style\Color\exportArray1(), PhpOffice\PhpSpreadsheet\Style\NumberFormat\exportArray1(), PhpOffice\PhpSpreadsheet\Style\Borders\exportArray1(), PhpOffice\PhpSpreadsheet\Style\Alignment\exportArray1(), PhpOffice\PhpSpreadsheet\Style\Font\exportArray1(), and PhpOffice\PhpSpreadsheet\Style\Style\exportArray1().
PhpOffice\PhpSpreadsheet\Style\Supervisor::getActiveCell | ( | ) |
Get the currently active cell coordinate in currently active sheet.
Only used for supervisor.
Definition at line 98 of file Supervisor.php.
References PhpOffice\PhpSpreadsheet\Style\Supervisor\getActiveSheet().
Referenced by PhpOffice\PhpSpreadsheet\Style\Style\getConditionalStyles(), and PhpOffice\PhpSpreadsheet\Style\Style\getSharedComponent().
PhpOffice\PhpSpreadsheet\Style\Supervisor::getActiveSheet | ( | ) |
Get the currently active sheet.
Only used for supervisor.
Definition at line 76 of file Supervisor.php.
Referenced by PhpOffice\PhpSpreadsheet\Style\Protection\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\Color\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\Border\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\NumberFormat\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\Fill\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\Alignment\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\Font\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\Style\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\Borders\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\Supervisor\getActiveCell(), PhpOffice\PhpSpreadsheet\Style\Style\getConditionalStyles(), PhpOffice\PhpSpreadsheet\Style\Style\getOldXfIndexes(), PhpOffice\PhpSpreadsheet\Style\Supervisor\getSelectedCells(), PhpOffice\PhpSpreadsheet\Style\Style\getSharedComponent(), PhpOffice\PhpSpreadsheet\Style\Color\setARGB(), PhpOffice\PhpSpreadsheet\Style\Font\setBold(), PhpOffice\PhpSpreadsheet\Style\Border\setBorderStyle(), PhpOffice\PhpSpreadsheet\Style\NumberFormat\setBuiltInFormatCode(), PhpOffice\PhpSpreadsheet\Style\Border\setColor(), PhpOffice\PhpSpreadsheet\Style\Font\setColor(), PhpOffice\PhpSpreadsheet\Style\Style\setConditionalStyles(), PhpOffice\PhpSpreadsheet\Style\Borders\setDiagonalDirection(), PhpOffice\PhpSpreadsheet\Style\Fill\setEndColor(), PhpOffice\PhpSpreadsheet\Style\Fill\setFillType(), PhpOffice\PhpSpreadsheet\Style\NumberFormat\setFormatCode(), PhpOffice\PhpSpreadsheet\Style\Protection\setHidden(), PhpOffice\PhpSpreadsheet\Style\Alignment\setHorizontal(), PhpOffice\PhpSpreadsheet\Style\Alignment\setIndent(), PhpOffice\PhpSpreadsheet\Style\Font\setItalic(), PhpOffice\PhpSpreadsheet\Style\Protection\setLocked(), PhpOffice\PhpSpreadsheet\Style\Font\setName(), PhpOffice\PhpSpreadsheet\Style\Style\setQuotePrefix(), PhpOffice\PhpSpreadsheet\Style\Alignment\setReadOrder(), PhpOffice\PhpSpreadsheet\Style\Color\setRGB(), PhpOffice\PhpSpreadsheet\Style\Fill\setRotation(), PhpOffice\PhpSpreadsheet\Style\Alignment\setShrinkToFit(), PhpOffice\PhpSpreadsheet\Style\Font\setSize(), PhpOffice\PhpSpreadsheet\Style\Fill\setStartColor(), PhpOffice\PhpSpreadsheet\Style\Font\setStrikethrough(), PhpOffice\PhpSpreadsheet\Style\Font\setSubscript(), PhpOffice\PhpSpreadsheet\Style\Font\setSuperscript(), PhpOffice\PhpSpreadsheet\Style\Alignment\setTextRotation(), PhpOffice\PhpSpreadsheet\Style\Font\setUnderline(), PhpOffice\PhpSpreadsheet\Style\Alignment\setVertical(), and PhpOffice\PhpSpreadsheet\Style\Alignment\setWrapText().
PhpOffice\PhpSpreadsheet\Style\Supervisor::getIsSupervisor | ( | ) |
Is this a supervisor or a cell style component?
Definition at line 66 of file Supervisor.php.
References PhpOffice\PhpSpreadsheet\Style\Supervisor\$isSupervisor.
Referenced by PhpOffice\PhpSpreadsheet\Style\Border\setColor(), PhpOffice\PhpSpreadsheet\Style\Font\setColor(), PhpOffice\PhpSpreadsheet\Style\Fill\setEndColor(), and PhpOffice\PhpSpreadsheet\Style\Fill\setStartColor().
PhpOffice\PhpSpreadsheet\Style\Supervisor::getSelectedCells | ( | ) |
Get the currently active cell coordinate in currently active sheet.
Only used for supervisor.
Definition at line 87 of file Supervisor.php.
References PhpOffice\PhpSpreadsheet\Style\Supervisor\getActiveSheet().
Referenced by PhpOffice\PhpSpreadsheet\Style\Protection\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\Color\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\Border\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\NumberFormat\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\Fill\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\Alignment\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\Font\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\Style\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\Borders\applyFromArray(), PhpOffice\PhpSpreadsheet\Style\Color\setARGB(), PhpOffice\PhpSpreadsheet\Style\Font\setBold(), PhpOffice\PhpSpreadsheet\Style\Border\setBorderStyle(), PhpOffice\PhpSpreadsheet\Style\NumberFormat\setBuiltInFormatCode(), PhpOffice\PhpSpreadsheet\Style\Border\setColor(), PhpOffice\PhpSpreadsheet\Style\Font\setColor(), PhpOffice\PhpSpreadsheet\Style\Style\setConditionalStyles(), PhpOffice\PhpSpreadsheet\Style\Borders\setDiagonalDirection(), PhpOffice\PhpSpreadsheet\Style\Fill\setEndColor(), PhpOffice\PhpSpreadsheet\Style\Fill\setFillType(), PhpOffice\PhpSpreadsheet\Style\NumberFormat\setFormatCode(), PhpOffice\PhpSpreadsheet\Style\Protection\setHidden(), PhpOffice\PhpSpreadsheet\Style\Alignment\setHorizontal(), PhpOffice\PhpSpreadsheet\Style\Alignment\setIndent(), PhpOffice\PhpSpreadsheet\Style\Font\setItalic(), PhpOffice\PhpSpreadsheet\Style\Protection\setLocked(), PhpOffice\PhpSpreadsheet\Style\Font\setName(), PhpOffice\PhpSpreadsheet\Style\Style\setQuotePrefix(), PhpOffice\PhpSpreadsheet\Style\Alignment\setReadOrder(), PhpOffice\PhpSpreadsheet\Style\Color\setRGB(), PhpOffice\PhpSpreadsheet\Style\Fill\setRotation(), PhpOffice\PhpSpreadsheet\Style\Alignment\setShrinkToFit(), PhpOffice\PhpSpreadsheet\Style\Font\setSize(), PhpOffice\PhpSpreadsheet\Style\Fill\setStartColor(), PhpOffice\PhpSpreadsheet\Style\Font\setStrikethrough(), PhpOffice\PhpSpreadsheet\Style\Font\setSubscript(), PhpOffice\PhpSpreadsheet\Style\Font\setSuperscript(), PhpOffice\PhpSpreadsheet\Style\Alignment\setTextRotation(), PhpOffice\PhpSpreadsheet\Style\Font\setUnderline(), PhpOffice\PhpSpreadsheet\Style\Alignment\setVertical(), and PhpOffice\PhpSpreadsheet\Style\Alignment\setWrapText().
|
protected |
Definition at line 16 of file Supervisor.php.
Referenced by PhpOffice\PhpSpreadsheet\Style\Protection\__construct(), PhpOffice\PhpSpreadsheet\Style\Supervisor\__construct(), PhpOffice\PhpSpreadsheet\Style\Border\__construct(), PhpOffice\PhpSpreadsheet\Style\Color\__construct(), PhpOffice\PhpSpreadsheet\Style\Style\__construct(), PhpOffice\PhpSpreadsheet\Style\Fill\__construct(), PhpOffice\PhpSpreadsheet\Style\NumberFormat\__construct(), PhpOffice\PhpSpreadsheet\Style\Font\__construct(), PhpOffice\PhpSpreadsheet\Style\Alignment\__construct(), PhpOffice\PhpSpreadsheet\Style\Borders\__construct(), and PhpOffice\PhpSpreadsheet\Style\Supervisor\getIsSupervisor().
|
protected |
Definition at line 23 of file Supervisor.php.
Referenced by PhpOffice\PhpSpreadsheet\Style\Supervisor\bindParent(), and PhpOffice\PhpSpreadsheet\Style\Style\getParent().
|
protected |
Definition at line 30 of file Supervisor.php.
Referenced by PhpOffice\PhpSpreadsheet\Style\Supervisor\bindParent().