ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
__construct ($isSupervisor=FALSE, $isConditional=FALSE) | |
Create a new PHPExcel_Style_Fill. 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... | |
getFillType () | |
Get Fill Type. More... | |
setFillType ($pValue=PHPExcel_Style_Fill::FILL_NONE) | |
Set Fill Type. More... | |
getRotation () | |
Get Rotation. More... | |
setRotation ($pValue=0) | |
Set Rotation. More... | |
getStartColor () | |
Get Start Color. More... | |
setStartColor (PHPExcel_Style_Color $pValue=null) | |
Set Start Color. More... | |
getEndColor () | |
Get End Color. More... | |
setEndColor (PHPExcel_Style_Color $pValue=null) | |
Set End 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... | |
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' |
Protected Attributes | |
$_fillType = PHPExcel_Style_Fill::FILL_NONE | |
$_rotation = 0 | |
$_startColor | |
$_endColor | |
Protected Attributes inherited from PHPExcel_Style_Supervisor | |
$_isSupervisor | |
$_parent | |
PHPExcel_Style_Fill::__construct | ( | $isSupervisor = FALSE , |
|
$isConditional = FALSE |
|||
) |
Create a new PHPExcel_Style_Fill.
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 99 of file Fill.php.
References PHPExcel_Style_Color\COLOR_BLACK, and PHPExcel_Style_Color\COLOR_WHITE.
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 |
PHPExcel_Exception |
Definition at line 162 of file Fill.php.
References PHPExcel_Style_Supervisor\getActiveSheet(), getEndColor(), PHPExcel_Style_Supervisor\getSelectedCells(), getStartColor(), getStyleArray(), setFillType(), and setRotation().
PHPExcel_Style_Fill::getEndColor | ( | ) |
Get End Color.
Definition at line 279 of file Fill.php.
References $_endColor.
Referenced by applyFromArray(), getHashCode(), and setEndColor().
PHPExcel_Style_Fill::getFillType | ( | ) |
Get Fill Type.
Definition at line 194 of file Fill.php.
References $_fillType, and getSharedComponent().
Referenced by PHPExcel_Writer_HTML\_createCSSStyleFill(), and getHashCode().
PHPExcel_Style_Fill::getHashCode | ( | ) |
Get hash code.
Implements PHPExcel_IComparable.
Definition at line 308 of file Fill.php.
References getEndColor(), getFillType(), getRotation(), getSharedComponent(), and getStartColor().
PHPExcel_Style_Fill::getRotation | ( | ) |
Get Rotation.
Definition at line 222 of file Fill.php.
References $_rotation, and getSharedComponent().
Referenced by getHashCode().
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 124 of file Fill.php.
Referenced by getFillType(), getHashCode(), and getRotation().
PHPExcel_Style_Fill::getStartColor | ( | ) |
Get Start Color.
Definition at line 250 of file Fill.php.
References $_startColor.
Referenced by PHPExcel_Writer_HTML\_createCSSStyleFill(), applyFromArray(), getHashCode(), and setStartColor().
PHPExcel_Style_Fill::getStyleArray | ( | $array | ) |
Build style array from subcomponents.
array | $array |
Definition at line 135 of file Fill.php.
References array.
Referenced by applyFromArray(), setFillType(), and setRotation().
PHPExcel_Style_Fill::setEndColor | ( | PHPExcel_Style_Color | $pValue = null | ) |
Set End Color.
PHPExcel_Style_Color | $pValue |
PHPExcel_Exception |
Definition at line 290 of file Fill.php.
References array, PHPExcel_Style_Supervisor\getActiveSheet(), getEndColor(), and PHPExcel_Style_Supervisor\getSelectedCells().
PHPExcel_Style_Fill::setFillType | ( | $pValue = PHPExcel_Style_Fill::FILL_NONE | ) |
Set Fill Type.
string | $pValue | PHPExcel_Style_Fill fill type |
Definition at line 207 of file Fill.php.
References array, PHPExcel_Style_Supervisor\getActiveSheet(), PHPExcel_Style_Supervisor\getSelectedCells(), and getStyleArray().
Referenced by applyFromArray().
PHPExcel_Style_Fill::setRotation | ( | $pValue = 0 | ) |
Set Rotation.
double | $pValue |
Definition at line 235 of file Fill.php.
References array, PHPExcel_Style_Supervisor\getActiveSheet(), PHPExcel_Style_Supervisor\getSelectedCells(), and getStyleArray().
Referenced by applyFromArray().
PHPExcel_Style_Fill::setStartColor | ( | PHPExcel_Style_Color | $pValue = null | ) |
Set Start Color.
PHPExcel_Style_Color | $pValue |
PHPExcel_Exception |
Definition at line 261 of file Fill.php.
References array, PHPExcel_Style_Supervisor\getActiveSheet(), PHPExcel_Style_Supervisor\getSelectedCells(), and getStartColor().
|
protected |
Definition at line 87 of file Fill.php.
Referenced by getEndColor().
|
protected |
Definition at line 66 of file Fill.php.
Referenced by getFillType().
|
protected |
Definition at line 73 of file Fill.php.
Referenced by getRotation().
|
protected |
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_Worksheet\_writeCFRule(), PHPExcel_Writer_Excel2007_Style\_writeFill(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_GRADIENT_PATH = 'path' |
Definition at line 42 of file Fill.php.
Referenced by PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), PHPExcel_Writer_Excel2007_Style\_writeFill(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_NONE = 'none' |
const PHPExcel_Style_Fill::FILL_PATTERN_DARKDOWN = 'darkDown' |
Definition at line 43 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_PATTERN_DARKGRAY = 'darkGray' |
Definition at line 44 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_PATTERN_DARKGRID = 'darkGrid' |
Definition at line 45 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_PATTERN_DARKHORIZONTAL = 'darkHorizontal' |
Definition at line 46 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_PATTERN_DARKTRELLIS = 'darkTrellis' |
Definition at line 47 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_PATTERN_DARKUP = 'darkUp' |
Definition at line 48 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_PATTERN_DARKVERTICAL = 'darkVertical' |
Definition at line 49 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_PATTERN_GRAY0625 = 'gray0625' |
Definition at line 50 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
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_Worksheet\_writeCFRule(), PHPExcel_Writer_Excel2007_Style\allFills(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_PATTERN_LIGHTDOWN = 'lightDown' |
Definition at line 52 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRAY = 'lightGray' |
Definition at line 53 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRID = 'lightGrid' |
Definition at line 54 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_PATTERN_LIGHTHORIZONTAL = 'lightHorizontal' |
Definition at line 55 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_PATTERN_LIGHTTRELLIS = 'lightTrellis' |
Definition at line 56 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_PATTERN_LIGHTUP = 'lightUp' |
Definition at line 57 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_PATTERN_LIGHTVERTICAL = 'lightVertical' |
Definition at line 58 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_PATTERN_MEDIUMGRAY = 'mediumGray' |
Definition at line 59 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), and PHPExcel_Reader_Gnumeric\loadIntoExisting().
const PHPExcel_Style_Fill::FILL_SOLID = 'solid' |
Definition at line 40 of file Fill.php.
Referenced by PHPExcel_Reader_Excel5\_mapFillPattern(), PHPExcel_Writer_Excel5_Worksheet\_writeCFRule(), PHPExcel_Reader_Gnumeric\loadIntoExisting(), and ilExcel\setColors().