|
ILIAS
eassessment Revision 61809
|
Inheritance diagram for PHPExcel_Style_Font:
Collaboration diagram for PHPExcel_Style_Font:Public Member Functions | |
| __construct ($isSupervisor=false) | |
| Create a new PHPExcel_Style_Font. | |
| 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. | |
| getName () | |
| Get Name. | |
| setName ($pValue= 'Calibri') | |
| Set Name. | |
| getSize () | |
| Get Size. | |
| setSize ($pValue=10) | |
| Set Size. | |
| getBold () | |
| Get Bold. | |
| setBold ($pValue=false) | |
| Set Bold. | |
| getItalic () | |
| Get Italic. | |
| setItalic ($pValue=false) | |
| Set Italic. | |
| getSuperScript () | |
| Get SuperScript. | |
| setSuperScript ($pValue=false) | |
| Set SuperScript. | |
| getSubScript () | |
| Get SubScript. | |
| setSubScript ($pValue=false) | |
| Set SubScript. | |
| getUnderline () | |
| Get Underline. | |
| setUnderline ($pValue=PHPExcel_Style_Font::UNDERLINE_NONE) | |
| Set Underline. | |
| getStriketrough () | |
| Get Striketrough. | |
| setStriketrough ($pValue=false) | |
| Set Striketrough. | |
| getStrikethrough () | |
| Get Strikethrough. | |
| setStrikethrough ($pValue=false) | |
| Set Strikethrough. | |
| getColor () | |
| Get Color. | |
| setColor (PHPExcel_Style_Color $pValue=null) | |
| Set Color. | |
| getHashCode () | |
| Get hash code. | |
| __clone () | |
| Implement PHP __clone to create a deep clone, not just a shallow copy. | |
Data Fields | |
| const | UNDERLINE_NONE = 'none' |
| const | UNDERLINE_DOUBLE = 'double' |
| const | UNDERLINE_DOUBLEACCOUNTING = 'doubleAccounting' |
| const | UNDERLINE_SINGLE = 'single' |
| const | UNDERLINE_SINGLEACCOUNTING = 'singleAccounting' |
Private Attributes | |
| $_name = 'Calibri' | |
| $_size = 11 | |
| $_bold = false | |
| $_italic = false | |
| $_superScript = false | |
| $_subScript = false | |
| $_underline = PHPExcel_Style_Font::UNDERLINE_NONE | |
| $_strikethrough = false | |
| $_color | |
| $_parentPropertyName | |
| $_isSupervisor | |
| $_parent | |
| PHPExcel_Style_Font::__construct | ( | $isSupervisor = false | ) |
Create a new PHPExcel_Style_Font.
Definition at line 132 of file Font.php.
References PHPExcel_Style_Color\COLOR_BLACK.
| PHPExcel_Style_Font::__clone | ( | ) |
| PHPExcel_Style_Font::applyFromArray | ( | $pStyles = null | ) |
Apply styles from array.
$objPHPExcel->getActiveSheet()->getStyle('B2')->getFont()->applyFromArray( array( 'name' => 'Arial', 'bold' => true, 'italic' => false, 'underline' => PHPExcel_Style_Font::UNDERLINE_DOUBLE, 'strike' => false, 'color' => array( 'rgb' => '808080' ) ) );
| array | $pStyles | Array containing style information |
| Exception |
Definition at line 243 of file Font.php.
References getActiveSheet(), getColor(), getSelectedCells(), getStyleArray(), setBold(), setItalic(), setName(), setSize(), setStrikethrough(), setSubScript(), setSuperScript(), and setUnderline().
Here is the call graph for this function:| PHPExcel_Style_Font::bindParent | ( | $parent | ) |
Bind parent.
Only used for supervisor
| PHPExcel_Style | $parent |
Definition at line 152 of file Font.php.
| PHPExcel_Style_Font::getActiveCell | ( | ) |
Get the currently active cell coordinate in currently active sheet.
Only used for supervisor
Definition at line 205 of file Font.php.
References getActiveSheet().
Here is the call graph for this function:| PHPExcel_Style_Font::getActiveSheet | ( | ) |
Get the currently active sheet.
Only used for supervisor
Definition at line 183 of file Font.php.
Referenced by applyFromArray(), getActiveCell(), getSelectedCells(), setBold(), setColor(), setItalic(), setName(), setSize(), setStrikethrough(), setSubScript(), setSuperScript(), and setUnderline().
Here is the caller graph for this function:| PHPExcel_Style_Font::getBold | ( | ) |
Get Bold.
Definition at line 349 of file Font.php.
References $_bold, and getSharedComponent().
Referenced by PHPExcel_Writer_HTML\_createCSSStyleFont().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Font::getColor | ( | ) |
Get Color.
Definition at line 558 of file Font.php.
References $_color.
Referenced by PHPExcel_Writer_HTML\_createCSSStyleFont(), applyFromArray(), and setColor().
Here is the caller graph for this function:| PHPExcel_Style_Font::getHashCode | ( | ) |
Get hash code.
Implements PHPExcel_IComparable.
Definition at line 587 of file Font.php.
References getSharedComponent().
Here is the call graph for this function:| PHPExcel_Style_Font::getIsSupervisor | ( | ) |
Is this a supervisor or a real style component?
Definition at line 162 of file Font.php.
References $_isSupervisor.
| PHPExcel_Style_Font::getItalic | ( | ) |
Get Italic.
Definition at line 380 of file Font.php.
References $_italic, and getSharedComponent().
Referenced by PHPExcel_Writer_HTML\_createCSSStyleFont().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Font::getName | ( | ) |
Get Name.
Definition at line 287 of file Font.php.
References $_name, and getSharedComponent().
Referenced by PHPExcel_Writer_HTML\_createCSSStyleFont(), PHPExcel_Shared_Drawing\cellDimensionToPixels(), PHPExcel_Shared_Font\getDefaultColumnWidthByFont(), PHPExcel_Shared_Font\getDefaultRowHeightByFont(), and PHPExcel_Shared_Drawing\pixelsToCellDimension().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Font::getSelectedCells | ( | ) |
Get the currently active cell coordinate in currently active sheet.
Only used for supervisor
Definition at line 194 of file Font.php.
References getActiveSheet().
Referenced by applyFromArray(), setBold(), setColor(), setItalic(), setName(), setSize(), setStrikethrough(), setSubScript(), setSuperScript(), and setUnderline().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Font::getSharedComponent | ( | ) |
Get the shared style component for the currently active cell in currently active sheet.
Only used for style supervisor
Definition at line 173 of file Font.php.
Referenced by getBold(), getHashCode(), getItalic(), getName(), getSize(), getStrikethrough(), getSubScript(), getSuperScript(), and getUnderline().
Here is the caller graph for this function:| PHPExcel_Style_Font::getSize | ( | ) |
Get Size.
Definition at line 318 of file Font.php.
References $_size, and getSharedComponent().
Referenced by PHPExcel_Writer_HTML\_createCSSStyleFont(), PHPExcel_Shared_Drawing\cellDimensionToPixels(), PHPExcel_Shared_Font\getDefaultColumnWidthByFont(), PHPExcel_Shared_Font\getDefaultRowHeightByFont(), PHPExcel_Shared_Font\getTextWidthPixelsExact(), and PHPExcel_Shared_Drawing\pixelsToCellDimension().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Font::getStrikethrough | ( | ) |
Get Strikethrough.
Definition at line 527 of file Font.php.
References $_strikethrough, and getSharedComponent().
Referenced by PHPExcel_Writer_HTML\_createCSSStyleFont(), and getStriketrough().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Font::getStriketrough | ( | ) |
Get Striketrough.
Definition at line 507 of file Font.php.
References getStrikethrough().
Here is the call graph for this function:| PHPExcel_Style_Font::getStyleArray | ( | $array | ) |
Build style array from subcomponents.
| array | $array |
Definition at line 216 of file Font.php.
Referenced by applyFromArray(), setBold(), setItalic(), setName(), setSize(), setStrikethrough(), setSubScript(), setSuperScript(), and setUnderline().
Here is the caller graph for this function:| PHPExcel_Style_Font::getSubScript | ( | ) |
Get SubScript.
Definition at line 443 of file Font.php.
References $_subScript, and getSharedComponent().
Here is the call graph for this function:| PHPExcel_Style_Font::getSuperScript | ( | ) |
Get SuperScript.
Definition at line 411 of file Font.php.
References $_superScript, and getSharedComponent().
Here is the call graph for this function:| PHPExcel_Style_Font::getUnderline | ( | ) |
Get Underline.
Definition at line 475 of file Font.php.
References $_underline, and getSharedComponent().
Referenced by PHPExcel_Writer_HTML\_createCSSStyleFont().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Font::setBold | ( | $pValue = false | ) |
Set Bold.
| boolean | $pValue |
Definition at line 362 of file Font.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_Font::setColor | ( | PHPExcel_Style_Color | $pValue = null | ) |
Set Color.
| PHPExcel_Style_Color | $pValue |
| Exception |
Definition at line 569 of file Font.php.
References getActiveSheet(), getColor(), and getSelectedCells().
Here is the call graph for this function:| PHPExcel_Style_Font::setItalic | ( | $pValue = false | ) |
Set Italic.
| boolean | $pValue |
Definition at line 393 of file Font.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_Font::setName | ( | $pValue = 'Calibri' | ) |
Set Name.
| string | $pValue |
Definition at line 300 of file Font.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_Font::setSize | ( | $pValue = 10 | ) |
Set Size.
| double | $pValue |
Definition at line 331 of file Font.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_Font::setStrikethrough | ( | $pValue = false | ) |
Set Strikethrough.
| boolean | $pValue |
Definition at line 540 of file Font.php.
References getActiveSheet(), getSelectedCells(), and getStyleArray().
Referenced by applyFromArray(), and setStriketrough().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Font::setStriketrough | ( | $pValue = false | ) |
Set Striketrough.
| boolean | $pValue |
Definition at line 518 of file Font.php.
References setStrikethrough().
Here is the call graph for this function:| PHPExcel_Style_Font::setSubScript | ( | $pValue = false | ) |
Set SubScript.
| boolean | $pValue |
Definition at line 456 of file Font.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_Font::setSuperScript | ( | $pValue = false | ) |
Set SuperScript.
| boolean | $pValue |
Definition at line 424 of file Font.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_Font::setUnderline | ( | $pValue = PHPExcel_Style_Font::UNDERLINE_NONE | ) |
Set Underline.
| string | $pValue | PHPExcel_Style_Font underline type |
Definition at line 488 of file Font.php.
References getActiveSheet(), getSelectedCells(), getStyleArray(), and UNDERLINE_NONE.
Referenced by applyFromArray().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
private |
Definition at line 106 of file Font.php.
Referenced by getColor().
|
private |
Definition at line 120 of file Font.php.
Referenced by getIsSupervisor().
|
private |
Definition at line 71 of file Font.php.
Referenced by getItalic().
|
private |
|
private |
|
private |
Definition at line 99 of file Font.php.
Referenced by getStrikethrough().
|
private |
Definition at line 85 of file Font.php.
Referenced by getSubScript().
|
private |
Definition at line 78 of file Font.php.
Referenced by getSuperScript().
|
private |
Definition at line 92 of file Font.php.
Referenced by getUnderline().
| const PHPExcel_Style_Font::UNDERLINE_DOUBLE = 'double' |
Definition at line 40 of file Font.php.
Referenced by PHPExcel_Writer_Excel5_Font\_mapUnderline(), PHPExcel_Reader_Excel5\_readFont(), and PHPExcel_Reader_Excel2003XML\loadIntoExisting().
| const PHPExcel_Style_Font::UNDERLINE_DOUBLEACCOUNTING = 'doubleAccounting' |
Definition at line 41 of file Font.php.
Referenced by PHPExcel_Writer_Excel5_Font\_mapUnderline(), PHPExcel_Reader_Excel5\_readFont(), and PHPExcel_Reader_Excel2003XML\loadIntoExisting().
| const PHPExcel_Style_Font::UNDERLINE_NONE = 'none' |
Definition at line 39 of file Font.php.
Referenced by PHPExcel_Writer_HTML\_createCSSStyleFont(), PHPExcel_Writer_Excel5_Font\_mapUnderline(), PHPExcel_Reader_Excel2003XML\loadIntoExisting(), and setUnderline().
| const PHPExcel_Style_Font::UNDERLINE_SINGLE = 'single' |
Definition at line 42 of file Font.php.
Referenced by PHPExcel_Writer_Excel5_Font\_mapUnderline(), PHPExcel_Reader_Excel2007\_parseRichText(), PHPExcel_Reader_Excel5\_readFont(), PHPExcel_Reader_Excel2007\_readStyle(), and PHPExcel_Reader_Excel2003XML\loadIntoExisting().
| const PHPExcel_Style_Font::UNDERLINE_SINGLEACCOUNTING = 'singleAccounting' |
Definition at line 43 of file Font.php.
Referenced by PHPExcel_Writer_Excel5_Font\_mapUnderline(), PHPExcel_Reader_Excel5\_readFont(), and PHPExcel_Reader_Excel2003XML\loadIntoExisting().