|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Inheritance diagram for PHPExcel_Style_Protection:
Collaboration diagram for PHPExcel_Style_Protection:Public Member Functions | |
| __construct ($isSupervisor=FALSE, $isConditional=FALSE) | |
| Create a new PHPExcel_Style_Protection. 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... | |
| getLocked () | |
| Get locked. More... | |
| setLocked ($pValue=self::PROTECTION_INHERIT) | |
| Set locked. More... | |
| getHidden () | |
| Get hidden. More... | |
| setHidden ($pValue=self::PROTECTION_INHERIT) | |
| Set hidden. 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... | |
| getHashCode () | |
| Get hash code. More... | |
Data Fields | |
| const | PROTECTION_INHERIT = 'inherit' |
| Protection styles. More... | |
| const | PROTECTION_PROTECTED = 'protected' |
| const | PROTECTION_UNPROTECTED = 'unprotected' |
Protected Attributes | |
| $_locked | |
| $_hidden | |
Protected Attributes inherited from PHPExcel_Style_Supervisor | |
| $_isSupervisor | |
| $_parent | |
Definition at line 36 of file Protection.php.
| PHPExcel_Style_Protection::__construct | ( | $isSupervisor = FALSE, |
|
$isConditional = FALSE |
|||
| ) |
Create a new PHPExcel_Style_Protection.
@param boolean $isSupervisor Flag indicating if this is a supervisor or not
Leave this value at default unless you understand exactly what
its ramifications are
@param 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 67 of file Protection.php.
References PROTECTION_INHERIT.
| PHPExcel_Style_Protection::applyFromArray | ( | $pStyles = NULL | ) |
Apply styles from array.
$objPHPExcel->getActiveSheet()->getStyle('B2')->getLocked()->applyFromArray( array( 'locked' => TRUE, 'hidden' => FALSE ) );
| array | $pStyles | Array containing style information |
| PHPExcel_Exception |
Definition at line 117 of file Protection.php.
References PHPExcel_Style_Supervisor\getActiveSheet(), PHPExcel_Style_Supervisor\getSelectedCells(), getStyleArray(), setHidden(), and setLocked().
Here is the call graph for this function:| PHPExcel_Style_Protection::getHashCode | ( | ) |
Get hash code.
Implements PHPExcel_IComparable.
Definition at line 196 of file Protection.php.
References getSharedComponent().
Here is the call graph for this function:| PHPExcel_Style_Protection::getHidden | ( | ) |
Get hidden.
Definition at line 168 of file Protection.php.
References $_hidden, and getSharedComponent().
Here is the call graph for this function:| PHPExcel_Style_Protection::getLocked | ( | ) |
Get locked.
Definition at line 140 of file Protection.php.
References $_locked, and getSharedComponent().
Here is the call graph for this function:| PHPExcel_Style_Protection::getSharedComponent | ( | ) |
Get the shared style component for the currently active cell in currently active sheet.
Only used for style supervisor
Definition at line 85 of file Protection.php.
Referenced by getHashCode(), getHidden(), and getLocked().
Here is the caller graph for this function:| PHPExcel_Style_Protection::getStyleArray | ( | $array | ) |
Build style array from subcomponents.
| array | $array |
Definition at line 96 of file Protection.php.
Referenced by applyFromArray(), setHidden(), and setLocked().
Here is the caller graph for this function:| PHPExcel_Style_Protection::setHidden | ( | $pValue = self::PROTECTION_INHERIT | ) |
Set hidden.
| string | $pValue |
Definition at line 181 of file Protection.php.
References PHPExcel_Style_Supervisor\getActiveSheet(), PHPExcel_Style_Supervisor\getSelectedCells(), and getStyleArray().
Referenced by applyFromArray().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Style_Protection::setLocked | ( | $pValue = self::PROTECTION_INHERIT | ) |
Set locked.
| string | $pValue |
Definition at line 153 of file Protection.php.
References PHPExcel_Style_Supervisor\getActiveSheet(), PHPExcel_Style_Supervisor\getSelectedCells(), and getStyleArray().
Referenced by applyFromArray().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 55 of file Protection.php.
Referenced by getHidden().
|
protected |
Definition at line 48 of file Protection.php.
Referenced by getLocked().
| const PHPExcel_Style_Protection::PROTECTION_INHERIT = 'inherit' |
Protection styles.
Definition at line 39 of file Protection.php.
Referenced by __construct(), PHPExcel_Writer_Excel5_Xf\_mapHidden(), PHPExcel_Writer_Excel5_Xf\_mapLocked(), PHPExcel_Reader_Excel5\_readXf(), PHPExcel_Writer_Excel2007_Style\_writeCellStyleDxf(), and PHPExcel_Writer_Excel2007_Style\_writeCellStyleXf().
| const PHPExcel_Style_Protection::PROTECTION_PROTECTED = 'protected' |
Definition at line 40 of file Protection.php.
Referenced by PHPExcel_Writer_Excel5_Xf\_mapHidden(), PHPExcel_Writer_Excel5_Xf\_mapLocked(), PHPExcel_Reader_Excel2007\_readStyle(), PHPExcel_Reader_Excel5\_readXf(), PHPExcel_Writer_Excel2007_Style\_writeCellStyleDxf(), PHPExcel_Writer_Excel2007_Style\_writeCellStyleXf(), and PHPExcel_Writer_Excel5_Worksheet\_writeCFRule().
| const PHPExcel_Style_Protection::PROTECTION_UNPROTECTED = 'unprotected' |
Definition at line 41 of file Protection.php.
Referenced by PHPExcel_Writer_Excel5_Xf\_mapHidden(), PHPExcel_Writer_Excel5_Xf\_mapLocked(), PHPExcel_Reader_Excel2007\_readStyle(), and PHPExcel_Reader_Excel5\_readXf().