|
ILIAS
eassessment Revision 61809
|
Inheritance diagram for PHPExcel_Style_Alignment:
Collaboration diagram for PHPExcel_Style_Alignment:Public Member Functions | |
| __construct ($isSupervisor=false) | |
| Create a new PHPExcel_Style_Alignment. | |
| 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. | |
| getHorizontal () | |
| Get Horizontal. | |
| setHorizontal ($pValue=PHPExcel_Style_Alignment::HORIZONTAL_GENERAL) | |
| Set Horizontal. | |
| getVertical () | |
| Get Vertical. | |
| setVertical ($pValue=PHPExcel_Style_Alignment::VERTICAL_BOTTOM) | |
| Set Vertical. | |
| getTextRotation () | |
| Get TextRotation. | |
| setTextRotation ($pValue=0) | |
| Set TextRotation. | |
| getWrapText () | |
| Get Wrap Text. | |
| setWrapText ($pValue=false) | |
| Set Wrap Text. | |
| getShrinkToFit () | |
| Get Shrink to fit. | |
| setShrinkToFit ($pValue=false) | |
| Set Shrink to fit. | |
| getIndent () | |
| Get indent. | |
| setIndent ($pValue=0) | |
| Set indent. | |
| getHashCode () | |
| Get hash code. | |
| __clone () | |
| Implement PHP __clone to create a deep clone, not just a shallow copy. | |
Data Fields | |
| const | HORIZONTAL_GENERAL = 'general' |
| const | HORIZONTAL_LEFT = 'left' |
| const | HORIZONTAL_RIGHT = 'right' |
| const | HORIZONTAL_CENTER = 'center' |
| const | HORIZONTAL_CENTER_CONTINUOUS = 'centerContinuous' |
| const | HORIZONTAL_JUSTIFY = 'justify' |
| const | VERTICAL_BOTTOM = 'bottom' |
| const | VERTICAL_TOP = 'top' |
| const | VERTICAL_CENTER = 'center' |
| const | VERTICAL_JUSTIFY = 'justify' |
Private Attributes | |
| $_horizontal = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL | |
| $_vertical = PHPExcel_Style_Alignment::VERTICAL_BOTTOM | |
| $_textRotation = 0 | |
| $_wrapText = false | |
| $_shrinkToFit = false | |
| $_indent = 0 | |
| $_parentPropertyName | |
| $_isSupervisor | |
| $_parent | |
Definition at line 36 of file Alignment.php.
| PHPExcel_Style_Alignment::__construct | ( | $isSupervisor = false | ) |
Create a new PHPExcel_Style_Alignment.
Definition at line 118 of file Alignment.php.
| PHPExcel_Style_Alignment::__clone | ( | ) |
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition at line 471 of file Alignment.php.
| PHPExcel_Style_Alignment::applyFromArray | ( | $pStyles = null | ) |
Apply styles from array.
$objPHPExcel->getActiveSheet()->getStyle('B2')->getAlignment()->applyFromArray( array( 'horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER, 'vertical' => PHPExcel_Style_Alignment::VERTICAL_CENTER, 'rotation' => 0, 'wrap' => true ) );
| array | $pStyles | Array containing style information |
| Exception |
Definition at line 218 of file Alignment.php.
References getActiveSheet(), getSelectedCells(), getStyleArray(), setHorizontal(), setIndent(), setShrinkToFit(), setTextRotation(), setVertical(), and setWrapText().
Here is the call graph for this function:| PHPExcel_Style_Alignment::bindParent | ( | $parent | ) |
Bind parent.
Only used for supervisor
| PHPExcel | $parent |
Definition at line 130 of file Alignment.php.
| PHPExcel_Style_Alignment::getActiveCell | ( | ) |
Get the currently active cell coordinate in currently active sheet.
Only used for supervisor
Definition at line 184 of file Alignment.php.
References getActiveSheet().
Here is the call graph for this function:| PHPExcel_Style_Alignment::getActiveSheet | ( | ) |
Get the currently active sheet.
Only used for supervisor
Definition at line 162 of file Alignment.php.
Referenced by applyFromArray(), getActiveCell(), getSelectedCells(), setHorizontal(), setIndent(), setShrinkToFit(), setTextRotation(), setVertical(), and setWrapText().
Here is the caller graph for this function:| PHPExcel_Style_Alignment::getHashCode | ( | ) |
Get hash code.
Implements PHPExcel_IComparable.
Definition at line 453 of file Alignment.php.
References getSharedComponent().
Here is the call graph for this function:| PHPExcel_Style_Alignment::getHorizontal | ( | ) |
Get Horizontal.
Definition at line 253 of file Alignment.php.
References $_horizontal, and getSharedComponent().
Referenced by PHPExcel_Writer_HTML\_createCSSStyleAlignment(), and setIndent().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Alignment::getIndent | ( | ) |
Get indent.
Definition at line 420 of file Alignment.php.
References $_indent, and getSharedComponent().
Here is the call graph for this function:| PHPExcel_Style_Alignment::getIsSupervisor | ( | ) |
Is this a supervisor or a real style component?
Definition at line 141 of file Alignment.php.
References $_isSupervisor.
| PHPExcel_Style_Alignment::getSelectedCells | ( | ) |
Get the currently active cell coordinate in currently active sheet.
Only used for supervisor
Definition at line 173 of file Alignment.php.
References getActiveSheet().
Referenced by applyFromArray(), setHorizontal(), setIndent(), setShrinkToFit(), setTextRotation(), setVertical(), and setWrapText().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Alignment::getSharedComponent | ( | ) |
Get the shared style component for the currently active cell in currently active sheet.
Only used for style supervisor
Definition at line 152 of file Alignment.php.
Referenced by getHashCode(), getHorizontal(), getIndent(), getShrinkToFit(), getTextRotation(), getVertical(), and getWrapText().
Here is the caller graph for this function:| PHPExcel_Style_Alignment::getShrinkToFit | ( | ) |
Get Shrink to fit.
Definition at line 389 of file Alignment.php.
References $_shrinkToFit, and getSharedComponent().
Here is the call graph for this function:| PHPExcel_Style_Alignment::getStyleArray | ( | $array | ) |
Build style array from subcomponents.
| array | $array |
Definition at line 195 of file Alignment.php.
Referenced by applyFromArray(), setHorizontal(), setIndent(), setShrinkToFit(), setTextRotation(), setVertical(), and setWrapText().
Here is the caller graph for this function:| PHPExcel_Style_Alignment::getTextRotation | ( | ) |
Get TextRotation.
Definition at line 318 of file Alignment.php.
References $_textRotation, and getSharedComponent().
Here is the call graph for this function:| PHPExcel_Style_Alignment::getVertical | ( | ) |
Get Vertical.
Definition at line 286 of file Alignment.php.
References $_vertical, and getSharedComponent().
Referenced by PHPExcel_Writer_HTML\_createCSSStyleAlignment().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Alignment::getWrapText | ( | ) |
Get Wrap Text.
Definition at line 358 of file Alignment.php.
References $_wrapText, and getSharedComponent().
Here is the call graph for this function:| PHPExcel_Style_Alignment::setHorizontal | ( | $pValue = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL | ) |
Set Horizontal.
| string | $pValue |
Definition at line 266 of file Alignment.php.
References getActiveSheet(), getSelectedCells(), getStyleArray(), and HORIZONTAL_GENERAL.
Referenced by applyFromArray().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Alignment::setIndent | ( | $pValue = 0 | ) |
Set indent.
| int | $pValue |
Definition at line 433 of file Alignment.php.
References getActiveSheet(), getHorizontal(), getSelectedCells(), and getStyleArray().
Referenced by applyFromArray().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Alignment::setShrinkToFit | ( | $pValue = false | ) |
Set Shrink to fit.
| boolean | $pValue |
Definition at line 402 of file Alignment.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_Alignment::setTextRotation | ( | $pValue = 0 | ) |
Set TextRotation.
| int | $pValue |
| Exception |
Definition at line 332 of file Alignment.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_Alignment::setVertical | ( | $pValue = PHPExcel_Style_Alignment::VERTICAL_BOTTOM | ) |
Set Vertical.
| string | $pValue |
Definition at line 299 of file Alignment.php.
References getActiveSheet(), getSelectedCells(), getStyleArray(), and VERTICAL_BOTTOM.
Referenced by applyFromArray().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Alignment::setWrapText | ( | $pValue = false | ) |
Set Wrap Text.
| boolean | $pValue |
Definition at line 371 of file Alignment.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:
|
private |
Definition at line 57 of file Alignment.php.
Referenced by getHorizontal().
|
private |
Definition at line 92 of file Alignment.php.
Referenced by getIndent().
|
private |
Definition at line 106 of file Alignment.php.
Referenced by getIsSupervisor().
|
private |
Definition at line 113 of file Alignment.php.
|
private |
Definition at line 99 of file Alignment.php.
|
private |
Definition at line 85 of file Alignment.php.
Referenced by getShrinkToFit().
|
private |
Definition at line 71 of file Alignment.php.
Referenced by getTextRotation().
|
private |
Definition at line 64 of file Alignment.php.
Referenced by getVertical().
|
private |
Definition at line 78 of file Alignment.php.
Referenced by getWrapText().
| const PHPExcel_Style_Alignment::HORIZONTAL_CENTER = 'center' |
Definition at line 42 of file Alignment.php.
Referenced by PHPExcel_Writer_HTML\_mapHAlign(), PHPExcel_Writer_Excel5_Xf\_mapHAlign(), PHPExcel_Reader_Excel5\_readXf(), ilExcelXMLAdapter\formatCellCenter(), ilExcelXMLAdapter\formatCellPercent(), ilExcelXMLAdapter\formatCellTitle(), and PHPExcel_Reader_Excel2003XML\loadIntoExisting().
| const PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS = 'centerContinuous' |
Definition at line 43 of file Alignment.php.
Referenced by PHPExcel_Writer_HTML\_mapHAlign(), PHPExcel_Writer_Excel5_Xf\_mapHAlign(), PHPExcel_Reader_Excel5\_readXf(), and PHPExcel_Reader_Excel2003XML\loadIntoExisting().
| const PHPExcel_Style_Alignment::HORIZONTAL_GENERAL = 'general' |
Definition at line 39 of file Alignment.php.
Referenced by PHPExcel_Comment\__construct(), PHPExcel_Writer_HTML\_generateRow(), PHPExcel_Writer_HTML\_mapHAlign(), PHPExcel_Writer_Excel5_Xf\_mapHAlign(), PHPExcel_Reader_Excel5\_readXf(), PHPExcel_Reader_Excel2003XML\loadIntoExisting(), and setHorizontal().
| const PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY = 'justify' |
Definition at line 44 of file Alignment.php.
Referenced by PHPExcel_Writer_HTML\_mapHAlign(), PHPExcel_Writer_Excel5_Xf\_mapHAlign(), PHPExcel_Reader_Excel5\_readXf(), and PHPExcel_Reader_Excel2003XML\loadIntoExisting().
| const PHPExcel_Style_Alignment::HORIZONTAL_LEFT = 'left' |
Definition at line 40 of file Alignment.php.
Referenced by PHPExcel_Writer_HTML\_mapHAlign(), PHPExcel_Writer_Excel5_Xf\_mapHAlign(), PHPExcel_Reader_Excel5\_readXf(), and PHPExcel_Reader_Excel2003XML\loadIntoExisting().
| const PHPExcel_Style_Alignment::HORIZONTAL_RIGHT = 'right' |
Definition at line 41 of file Alignment.php.
Referenced by PHPExcel_Writer_HTML\_mapHAlign(), PHPExcel_Writer_Excel5_Xf\_mapHAlign(), PHPExcel_Reader_Excel5\_readXf(), and PHPExcel_Reader_Excel2003XML\loadIntoExisting().
| const PHPExcel_Style_Alignment::VERTICAL_BOTTOM = 'bottom' |
Definition at line 47 of file Alignment.php.
Referenced by PHPExcel_Writer_HTML\_mapVAlign(), PHPExcel_Writer_Excel5_Xf\_mapVAlign(), PHPExcel_Reader_Excel5\_readXf(), PHPExcel_Reader_Excel2003XML\loadIntoExisting(), and setVertical().
| const PHPExcel_Style_Alignment::VERTICAL_CENTER = 'center' |
Definition at line 49 of file Alignment.php.
Referenced by PHPExcel_Writer_HTML\_mapVAlign(), PHPExcel_Writer_Excel5_Xf\_mapVAlign(), PHPExcel_Reader_Excel5\_readXf(), and PHPExcel_Reader_Excel2003XML\loadIntoExisting().
| const PHPExcel_Style_Alignment::VERTICAL_JUSTIFY = 'justify' |
Definition at line 50 of file Alignment.php.
Referenced by PHPExcel_Writer_HTML\_mapVAlign(), PHPExcel_Writer_Excel5_Xf\_mapVAlign(), PHPExcel_Reader_Excel5\_readXf(), and PHPExcel_Reader_Excel2003XML\loadIntoExisting().
| const PHPExcel_Style_Alignment::VERTICAL_TOP = 'top' |
Definition at line 48 of file Alignment.php.
Referenced by PHPExcel_Writer_HTML\_mapVAlign(), PHPExcel_Writer_Excel5_Xf\_mapVAlign(), PHPExcel_Reader_Excel5\_readXf(), and PHPExcel_Reader_Excel2003XML\loadIntoExisting().