|
ILIAS
eassessment Revision 61809
|
Inheritance diagram for PHPExcel_Style_Fill:
Collaboration diagram for PHPExcel_Style_Fill:Public Member Functions | |
| __construct ($isSupervisor=false) | |
| Create a new PHPExcel_Style_Fill. | |
| bindParent ($parent) | |
| 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. | |
| getFillType () | |
| Get Fill Type. | |
| setFillType ($pValue=PHPExcel_Style_Fill::FILL_NONE) | |
| Set Fill Type. | |
| getRotation () | |
| Get Rotation. | |
| setRotation ($pValue=0) | |
| Set Rotation. | |
| getStartColor () | |
| Get Start Color. | |
| setStartColor (PHPExcel_Style_Color $pValue=null) | |
| Set Start Color. | |
| getEndColor () | |
| Get End Color. | |
| setEndColor (PHPExcel_Style_Color $pValue=null) | |
| Set End Color. | |
| getHashCode () | |
| Get hash code. | |
| __clone () | |
| Implement PHP __clone to create a deep clone, not just a shallow copy. | |
Data Fields | |
| const | FILL_NONE = 'none' |
| const | FILL_SOLID = 'solid' |
| const | FILL_GRADIENT_LINEAR = 'linear' |
| const | FILL_GRADIENT_PATH = 'path' |
| const | FILL_PATTERN_DARKDOWN = 'darkDown' |
| const | FILL_PATTERN_DARKGRAY = 'darkGray' |
| const | FILL_PATTERN_DARKGRID = 'darkGrid' |
| const | FILL_PATTERN_DARKHORIZONTAL = 'darkHorizontal' |
| const | FILL_PATTERN_DARKTRELLIS = 'darkTrellis' |
| const | FILL_PATTERN_DARKUP = 'darkUp' |
| const | FILL_PATTERN_DARKVERTICAL = 'darkVertical' |
| const | FILL_PATTERN_GRAY0625 = 'gray0625' |
| const | FILL_PATTERN_GRAY125 = 'gray125' |
| const | FILL_PATTERN_LIGHTDOWN = 'lightDown' |
| const | FILL_PATTERN_LIGHTGRAY = 'lightGray' |
| const | FILL_PATTERN_LIGHTGRID = 'lightGrid' |
| const | FILL_PATTERN_LIGHTHORIZONTAL = 'lightHorizontal' |
| const | FILL_PATTERN_LIGHTTRELLIS = 'lightTrellis' |
| const | FILL_PATTERN_LIGHTUP = 'lightUp' |
| const | FILL_PATTERN_LIGHTVERTICAL = 'lightVertical' |
| const | FILL_PATTERN_MEDIUMGRAY = 'mediumGray' |
Private Attributes | |
| $_fillType = PHPExcel_Style_Fill::FILL_NONE | |
| $_rotation = 0 | |
| $_startColor | |
| $_endColor | |
| $_parentPropertyName | |
| $_isSupervisor | |
| $_parent | |
| PHPExcel_Style_Fill::__construct | ( | $isSupervisor = false | ) |
Create a new PHPExcel_Style_Fill.
Definition at line 113 of file Fill.php.
References PHPExcel_Style_Color\COLOR_BLACK, and PHPExcel_Style_Color\COLOR_WHITE.
| PHPExcel_Style_Fill::__clone | ( | ) |
| PHPExcel_Style_Fill::applyFromArray | ( | $pStyles = null | ) |
Apply styles from array.
$objPHPExcel->getActiveSheet()->getStyle('B2')->getFill()->applyFromArray( array( 'type' => PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR, 'rotation' => 0, 'startcolor' => array( 'rgb' => '000000' ), 'endcolor' => array( 'argb' => 'FFFFFFFF' ) ) );
| array | $pStyles | Array containing style information |
| Exception |
Definition at line 227 of file Fill.php.
References getActiveSheet(), getEndColor(), getSelectedCells(), getStartColor(), getStyleArray(), setFillType(), and setRotation().
Here is the call graph for this function:| PHPExcel_Style_Fill::bindParent | ( | $parent | ) |
Bind parent.
Only used for supervisor
| PHPExcel_Style | $parent |
Definition at line 135 of file Fill.php.
| PHPExcel_Style_Fill::getActiveCell | ( | ) |
Get the currently active cell coordinate in currently active sheet.
Only used for supervisor
Definition at line 189 of file Fill.php.
References getActiveSheet().
Here is the call graph for this function:| PHPExcel_Style_Fill::getActiveSheet | ( | ) |
Get the currently active sheet.
Only used for supervisor
Definition at line 167 of file Fill.php.
Referenced by applyFromArray(), getActiveCell(), getSelectedCells(), setEndColor(), setFillType(), setRotation(), and setStartColor().
Here is the caller graph for this function:| PHPExcel_Style_Fill::getEndColor | ( | ) |
Get End Color.
Definition at line 344 of file Fill.php.
References $_endColor.
Referenced by applyFromArray(), getHashCode(), and setEndColor().
Here is the caller graph for this function:| PHPExcel_Style_Fill::getFillType | ( | ) |
Get Fill Type.
Definition at line 259 of file Fill.php.
References $_fillType, and getSharedComponent().
Referenced by PHPExcel_Writer_HTML\_createCSSStyleFill(), and getHashCode().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Fill::getHashCode | ( | ) |
Get hash code.
Implements PHPExcel_IComparable.
Definition at line 373 of file Fill.php.
References getEndColor(), getFillType(), getRotation(), getSharedComponent(), and getStartColor().
Here is the call graph for this function:| PHPExcel_Style_Fill::getIsSupervisor | ( | ) |
Is this a supervisor or a real style component?
Definition at line 146 of file Fill.php.
References $_isSupervisor.
| PHPExcel_Style_Fill::getRotation | ( | ) |
Get Rotation.
Definition at line 287 of file Fill.php.
References $_rotation, and getSharedComponent().
Referenced by getHashCode().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Fill::getSelectedCells | ( | ) |
Get the currently active cell coordinate in currently active sheet.
Only used for supervisor
Definition at line 178 of file Fill.php.
References getActiveSheet().
Referenced by applyFromArray(), setEndColor(), setFillType(), setRotation(), and setStartColor().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Fill::getSharedComponent | ( | ) |
Get the shared style component for the currently active cell in currently active sheet.
Only used for style supervisor
Definition at line 157 of file Fill.php.
Referenced by getFillType(), getHashCode(), and getRotation().
Here is the caller graph for this function:| PHPExcel_Style_Fill::getStartColor | ( | ) |
Get Start Color.
Definition at line 315 of file Fill.php.
References $_startColor.
Referenced by PHPExcel_Writer_HTML\_createCSSStyleFill(), applyFromArray(), getHashCode(), and setStartColor().
Here is the caller graph for this function:| PHPExcel_Style_Fill::getStyleArray | ( | $array | ) |
Build style array from subcomponents.
| array | $array |
Definition at line 200 of file Fill.php.
Referenced by applyFromArray(), setFillType(), and setRotation().
Here is the caller graph for this function:| PHPExcel_Style_Fill::setEndColor | ( | PHPExcel_Style_Color | $pValue = null | ) |
Set End Color.
| PHPExcel_Style_Color | $pValue |
| Exception |
Definition at line 355 of file Fill.php.
References getActiveSheet(), getEndColor(), and getSelectedCells().
Here is the call graph for this function:| PHPExcel_Style_Fill::setFillType | ( | $pValue = PHPExcel_Style_Fill::FILL_NONE | ) |
Set Fill Type.
| string | $pValue | PHPExcel_Style_Fill fill type |
Definition at line 272 of file Fill.php.
References 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_Fill::setRotation | ( | $pValue = 0 | ) |
Set Rotation.
| double | $pValue |
Definition at line 300 of file Fill.php.
References 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_Fill::setStartColor | ( | PHPExcel_Style_Color | $pValue = null | ) |
Set Start Color.
| PHPExcel_Style_Color | $pValue |
| Exception |
Definition at line 326 of file Fill.php.
References getActiveSheet(), getSelectedCells(), and getStartColor().
Here is the call graph for this function:
|
private |
Definition at line 87 of file Fill.php.
Referenced by getEndColor().
|
private |
Definition at line 66 of file Fill.php.
Referenced by getFillType().
|
private |
Definition at line 101 of file Fill.php.
Referenced by getIsSupervisor().
|
private |
Definition at line 73 of file Fill.php.
Referenced by getRotation().
|
private |
Definition at line 80 of file Fill.php.
Referenced by getStartColor().
| const PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR = 'linear' |
Definition at line 41 of file Fill.php.
Referenced by PHPExcel_Writer_Excel5_Xf\_mapFillType(), and PHPExcel_Writer_Excel2007_Style\_writeFill().
| const PHPExcel_Style_Fill::FILL_GRADIENT_PATH = 'path' |
Definition at line 42 of file Fill.php.
Referenced by PHPExcel_Writer_Excel5_Xf\_mapFillType(), and PHPExcel_Writer_Excel2007_Style\_writeFill().
| const PHPExcel_Style_Fill::FILL_NONE = 'none' |
Definition at line 39 of file Fill.php.
Referenced by PHPExcel_Writer_HTML\_createCSSStyleFill(), PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Xf\_mapFillType(), and PHPExcel_Writer_Excel2007_Style\allFills().
| const PHPExcel_Style_Fill::FILL_PATTERN_DARKDOWN = 'darkDown' |
Definition at line 43 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), and PHPExcel_Writer_Excel5_Xf\_mapFillType().
| const PHPExcel_Style_Fill::FILL_PATTERN_DARKGRAY = 'darkGray' |
Definition at line 44 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), and PHPExcel_Writer_Excel5_Xf\_mapFillType().
| const PHPExcel_Style_Fill::FILL_PATTERN_DARKGRID = 'darkGrid' |
Definition at line 45 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), and PHPExcel_Writer_Excel5_Xf\_mapFillType().
| const PHPExcel_Style_Fill::FILL_PATTERN_DARKHORIZONTAL = 'darkHorizontal' |
Definition at line 46 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), and PHPExcel_Writer_Excel5_Xf\_mapFillType().
| const PHPExcel_Style_Fill::FILL_PATTERN_DARKTRELLIS = 'darkTrellis' |
Definition at line 47 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), and PHPExcel_Writer_Excel5_Xf\_mapFillType().
| const PHPExcel_Style_Fill::FILL_PATTERN_DARKUP = 'darkUp' |
Definition at line 48 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), and PHPExcel_Writer_Excel5_Xf\_mapFillType().
| const PHPExcel_Style_Fill::FILL_PATTERN_DARKVERTICAL = 'darkVertical' |
Definition at line 49 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), and PHPExcel_Writer_Excel5_Xf\_mapFillType().
| const PHPExcel_Style_Fill::FILL_PATTERN_GRAY0625 = 'gray0625' |
Definition at line 50 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), and PHPExcel_Writer_Excel5_Xf\_mapFillType().
| const PHPExcel_Style_Fill::FILL_PATTERN_GRAY125 = 'gray125' |
Definition at line 51 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Xf\_mapFillType(), and PHPExcel_Writer_Excel2007_Style\allFills().
| const PHPExcel_Style_Fill::FILL_PATTERN_LIGHTDOWN = 'lightDown' |
Definition at line 52 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), and PHPExcel_Writer_Excel5_Xf\_mapFillType().
| const PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRAY = 'lightGray' |
Definition at line 53 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), and PHPExcel_Writer_Excel5_Xf\_mapFillType().
| const PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRID = 'lightGrid' |
Definition at line 54 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), and PHPExcel_Writer_Excel5_Xf\_mapFillType().
| const PHPExcel_Style_Fill::FILL_PATTERN_LIGHTHORIZONTAL = 'lightHorizontal' |
Definition at line 55 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), and PHPExcel_Writer_Excel5_Xf\_mapFillType().
| const PHPExcel_Style_Fill::FILL_PATTERN_LIGHTTRELLIS = 'lightTrellis' |
Definition at line 56 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), and PHPExcel_Writer_Excel5_Xf\_mapFillType().
| const PHPExcel_Style_Fill::FILL_PATTERN_LIGHTUP = 'lightUp' |
Definition at line 57 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), and PHPExcel_Writer_Excel5_Xf\_mapFillType().
| const PHPExcel_Style_Fill::FILL_PATTERN_LIGHTVERTICAL = 'lightVertical' |
Definition at line 58 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), and PHPExcel_Writer_Excel5_Xf\_mapFillType().
| const PHPExcel_Style_Fill::FILL_PATTERN_MEDIUMGRAY = 'mediumGray' |
Definition at line 59 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), and PHPExcel_Writer_Excel5_Xf\_mapFillType().
| const PHPExcel_Style_Fill::FILL_SOLID = 'solid' |
Definition at line 40 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Xf\_mapFillType(), and ilExcelXMLAdapter\formatCellTitle().