|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Inheritance diagram for PHPExcel_Style:
Collaboration diagram for PHPExcel_Style:Public Member Functions | |
| __construct ($isSupervisor=false, $isConditional=false) | |
| Create a new PHPExcel_Style. More... | |
| getSharedComponent () | |
| Get the shared style component for the currently active cell in currently active sheet. More... | |
| getParent () | |
| Get parent. More... | |
| getStyleArray ($array) | |
| Build style array from subcomponents. More... | |
| applyFromArray ($pStyles=null, $pAdvanced=true) | |
| Apply styles from array. More... | |
| getFill () | |
| Get Fill. More... | |
| getFont () | |
| Get Font. More... | |
| setFont (PHPExcel_Style_Font $font) | |
| Set font. More... | |
| getBorders () | |
| Get Borders. More... | |
| getAlignment () | |
| Get Alignment. More... | |
| getNumberFormat () | |
| Get Number Format. More... | |
| getConditionalStyles () | |
| Get Conditional Styles. More... | |
| setConditionalStyles ($pValue=null) | |
| Set Conditional Styles. More... | |
| getProtection () | |
| Get Protection. More... | |
| getQuotePrefix () | |
| Get quote prefix. More... | |
| setQuotePrefix ($pValue) | |
| Set quote prefix. More... | |
| getHashCode () | |
| Get hash code. More... | |
| getIndex () | |
| Get own index in style collection. More... | |
| setIndex ($pValue) | |
| Set own index in style collection. 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... | |
Protected Attributes | |
| $_font | |
| $_fill | |
| $_borders | |
| $_alignment | |
| $_numberFormat | |
| $_conditionalStyles | |
| $_protection | |
| $_index | |
| $_quotePrefix = false | |
Protected Attributes inherited from PHPExcel_Style_Supervisor | |
| $_isSupervisor | |
| $_parent | |
| PHPExcel_Style::__construct | ( | $isSupervisor = false, |
|
$isConditional = false |
|||
| ) |
Create a new PHPExcel_Style.
| 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 111 of file Style.php.
| PHPExcel_Style::applyFromArray | ( | $pStyles = null, |
|
$pAdvanced = true |
|||
| ) |
Apply styles from array.
$objPHPExcel->getActiveSheet()->getStyle('B2')->applyFromArray( array( 'font' => array( 'name' => 'Arial', 'bold' => true, 'italic' => false, 'underline' => PHPExcel_Style_Font::UNDERLINE_DOUBLE, 'strike' => false, 'color' => array( 'rgb' => '808080' ) ), 'borders' => array( 'bottom' => array( 'style' => PHPExcel_Style_Border::BORDER_DASHDOT, 'color' => array( 'rgb' => '808080' ) ), 'top' => array( 'style' => PHPExcel_Style_Border::BORDER_DASHDOT, 'color' => array( 'rgb' => '808080' ) ) ), 'quotePrefix' => true ) );
| array | $pStyles | Array containing style information |
| boolean | $pAdvanced | Advanced mode for setting borders. |
| PHPExcel_Exception |
Definition at line 217 of file Style.php.
References $row, $style, $x, $y, PHPExcel_Cell\columnIndexFromString(), PHPExcel_Cell\coordinateFromString(), PHPExcel_Style_Supervisor\getActiveSheet(), getAlignment(), getBorders(), getFill(), getFont(), getNumberFormat(), getProtection(), PHPExcel_Style_Supervisor\getSelectedCells(), and PHPExcel_Cell\stringFromColumnIndex().
Here is the call graph for this function:| PHPExcel_Style::getAlignment | ( | ) |
Get Alignment.
Definition at line 542 of file Style.php.
References $_alignment.
Referenced by PHPExcel_Writer_HTML\_createCSSStyle(), and applyFromArray().
Here is the caller graph for this function:| PHPExcel_Style::getBorders | ( | ) |
Get Borders.
Definition at line 532 of file Style.php.
References $_borders.
Referenced by PHPExcel_Writer_HTML\_createCSSStyle(), and applyFromArray().
Here is the caller graph for this function:| PHPExcel_Style::getConditionalStyles | ( | ) |
Get Conditional Styles.
Only used on supervisor.
Definition at line 562 of file Style.php.
References PHPExcel_Style_Supervisor\getActiveCell(), and PHPExcel_Style_Supervisor\getActiveSheet().
Here is the call graph for this function:| PHPExcel_Style::getFill | ( | ) |
Get Fill.
Definition at line 500 of file Style.php.
References $_fill.
Referenced by PHPExcel_Writer_HTML\_createCSSStyle(), and applyFromArray().
Here is the caller graph for this function:| PHPExcel_Style::getFont | ( | ) |
Get Font.
Definition at line 510 of file Style.php.
References $_font.
Referenced by PHPExcel_Writer_HTML\_createCSSStyle(), applyFromArray(), and PHPExcel_Worksheet\setDefaultStyle().
Here is the caller graph for this function:| PHPExcel_Style::getHashCode | ( | ) |
Get hash code.
Implements PHPExcel_IComparable.
Definition at line 628 of file Style.php.
| PHPExcel_Style::getIndex | ( | ) |
| PHPExcel_Style::getNumberFormat | ( | ) |
Get Number Format.
Definition at line 552 of file Style.php.
References $_numberFormat.
Referenced by applyFromArray().
Here is the caller graph for this function:| PHPExcel_Style::getParent | ( | ) |
Get parent.
Only used for style supervisor
Definition at line 161 of file Style.php.
References PHPExcel_Style_Supervisor\$_parent.
| PHPExcel_Style::getProtection | ( | ) |
Get Protection.
Definition at line 586 of file Style.php.
References $_protection.
Referenced by applyFromArray().
Here is the caller graph for this function:| PHPExcel_Style::getQuotePrefix | ( | ) |
Get quote prefix.
Definition at line 596 of file Style.php.
References $_quotePrefix, and getSharedComponent().
Here is the call graph for this function:| PHPExcel_Style::getSharedComponent | ( | ) |
Get the shared style component for the currently active cell in currently active sheet.
Only used for style supervisor
Definition at line 142 of file Style.php.
References PHPExcel_Style_Supervisor\getActiveCell(), and PHPExcel_Style_Supervisor\getActiveSheet().
Referenced by getQuotePrefix().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style::getStyleArray | ( | $array | ) |
| PHPExcel_Style::setConditionalStyles | ( | $pValue = null | ) |
Set Conditional Styles.
Only used on supervisor.
| PHPExcel_Style_Conditional[] | $pValue | Array of condtional styles |
Definition at line 573 of file Style.php.
References PHPExcel_Style_Supervisor\getActiveSheet(), and PHPExcel_Style_Supervisor\getSelectedCells().
Here is the call graph for this function:| PHPExcel_Style::setFont | ( | PHPExcel_Style_Font | $font | ) |
Set font.
| PHPExcel_Style_Font | $font |
Definition at line 521 of file Style.php.
| PHPExcel_Style::setIndex | ( | $pValue | ) |
Set own index in style collection.
| int | $pValue |
Definition at line 663 of file Style.php.
Referenced by PHPExcel\addCellStyleXf().
Here is the caller graph for this function:| PHPExcel_Style::setQuotePrefix | ( | $pValue | ) |
Set quote prefix.
| boolean | $pValue |
Definition at line 609 of file Style.php.
References PHPExcel_Style_Supervisor\getActiveSheet(), and PHPExcel_Style_Supervisor\getSelectedCells().
Here is the call graph for this function:
|
protected |
Definition at line 64 of file Style.php.
Referenced by getAlignment().
|
protected |
Definition at line 57 of file Style.php.
Referenced by getBorders().
|
protected |
Definition at line 92 of file Style.php.
Referenced by getIndex().
|
protected |
Definition at line 71 of file Style.php.
Referenced by getNumberFormat().
|
protected |
Definition at line 85 of file Style.php.
Referenced by getProtection().
|
protected |
Definition at line 99 of file Style.php.
Referenced by getQuotePrefix().