ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
PHPExcel_Style_Supervisor Class Reference
+ Inheritance diagram for PHPExcel_Style_Supervisor:
+ Collaboration diagram for PHPExcel_Style_Supervisor:

Public Member Functions

 __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...
 

Protected Attributes

 $_isSupervisor
 
 $_parent
 

Detailed Description

Definition at line 36 of file Supervisor.php.

Constructor & Destructor Documentation

◆ __construct()

PHPExcel_Style_Supervisor::__construct (   $isSupervisor = FALSE)

Create a new PHPExcel_Style_Alignment.

Parameters
boolean$isSupervisorFlag indicating if this is a supervisor or not Leave this value at default unless you understand exactly what its ramifications are

Definition at line 59 of file Supervisor.php.

60  {
61  // Supervisor?
62  $this->_isSupervisor = $isSupervisor;
63  }

Member Function Documentation

◆ __clone()

PHPExcel_Style_Supervisor::__clone ( )

Implement PHP __clone to create a deep clone, not just a shallow copy.

Definition at line 122 of file Supervisor.php.

122  {
123  $vars = get_object_vars($this);
124  foreach ($vars as $key => $value) {
125  if ((is_object($value)) && ($key != '_parent')) {
126  $this->$key = clone $value;
127  } else {
128  $this->$key = $value;
129  }
130  }
131  }

◆ bindParent()

PHPExcel_Style_Supervisor::bindParent (   $parent,
  $parentPropertyName = NULL 
)

Bind parent.

Only used for supervisor

Parameters
PHPExcel$parent
Returns
PHPExcel_Style_Supervisor

Definition at line 71 of file Supervisor.php.

72  {
73  $this->_parent = $parent;
74  return $this;
75  }

◆ getActiveCell()

PHPExcel_Style_Supervisor::getActiveCell ( )

Get the currently active cell coordinate in currently active sheet.

Only used for supervisor

Returns
string E.g. 'A1'

Definition at line 114 of file Supervisor.php.

References getActiveSheet().

Referenced by PHPExcel_Style\getConditionalStyles(), and PHPExcel_Style\getSharedComponent().

115  {
116  return $this->getActiveSheet()->getActiveCell();
117  }
getActiveSheet()
Get the currently active sheet.
Definition: Supervisor.php:92
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getActiveSheet()

PHPExcel_Style_Supervisor::getActiveSheet ( )

Get the currently active sheet.

Only used for supervisor

Returns
PHPExcel_Worksheet

Definition at line 92 of file Supervisor.php.

Referenced by PHPExcel_Style_Protection\applyFromArray(), PHPExcel_Style_Color\applyFromArray(), PHPExcel_Style_Fill\applyFromArray(), PHPExcel_Style_NumberFormat\applyFromArray(), PHPExcel_Style_Alignment\applyFromArray(), PHPExcel_Style_Font\applyFromArray(), PHPExcel_Style_Border\applyFromArray(), PHPExcel_Style\applyFromArray(), PHPExcel_Style_Borders\applyFromArray(), getActiveCell(), PHPExcel_Style\getConditionalStyles(), getSelectedCells(), PHPExcel_Style\getSharedComponent(), PHPExcel_Style_Color\setARGB(), PHPExcel_Style_Font\setBold(), PHPExcel_Style_Border\setBorderStyle(), PHPExcel_Style_NumberFormat\setBuiltInFormatCode(), PHPExcel_Style_Border\setColor(), PHPExcel_Style_Font\setColor(), PHPExcel_Style\setConditionalStyles(), PHPExcel_Style_Borders\setDiagonalDirection(), PHPExcel_Style_Fill\setEndColor(), PHPExcel_Style_Fill\setFillType(), PHPExcel_Style_NumberFormat\setFormatCode(), PHPExcel_Style_Protection\setHidden(), PHPExcel_Style_Alignment\setHorizontal(), PHPExcel_Style_Alignment\setIndent(), PHPExcel_Style_Font\setItalic(), PHPExcel_Style_Protection\setLocked(), PHPExcel_Style_Font\setName(), PHPExcel_Style\setQuotePrefix(), PHPExcel_Style_Alignment\setReadorder(), PHPExcel_Style_Color\setRGB(), PHPExcel_Style_Fill\setRotation(), PHPExcel_Style_Alignment\setShrinkToFit(), PHPExcel_Style_Font\setSize(), PHPExcel_Style_Fill\setStartColor(), PHPExcel_Style_Font\setStrikethrough(), PHPExcel_Style_Font\setSubScript(), PHPExcel_Style_Font\setSuperScript(), PHPExcel_Style_Alignment\setTextRotation(), PHPExcel_Style_Font\setUnderline(), PHPExcel_Style_Alignment\setVertical(), and PHPExcel_Style_Alignment\setWrapText().

93  {
94  return $this->_parent->getActiveSheet();
95  }
+ Here is the caller graph for this function:

◆ getIsSupervisor()

PHPExcel_Style_Supervisor::getIsSupervisor ( )

Is this a supervisor or a cell style component?

Returns
boolean

Definition at line 82 of file Supervisor.php.

References $_isSupervisor.

83  {
84  return $this->_isSupervisor;
85  }

◆ getSelectedCells()

PHPExcel_Style_Supervisor::getSelectedCells ( )

Get the currently active cell coordinate in currently active sheet.

Only used for supervisor

Returns
string E.g. 'A1'

Definition at line 103 of file Supervisor.php.

References getActiveSheet().

Referenced by PHPExcel_Style_Protection\applyFromArray(), PHPExcel_Style_Color\applyFromArray(), PHPExcel_Style_Fill\applyFromArray(), PHPExcel_Style_NumberFormat\applyFromArray(), PHPExcel_Style_Alignment\applyFromArray(), PHPExcel_Style_Font\applyFromArray(), PHPExcel_Style_Border\applyFromArray(), PHPExcel_Style\applyFromArray(), PHPExcel_Style_Borders\applyFromArray(), PHPExcel_Style_Color\setARGB(), PHPExcel_Style_Font\setBold(), PHPExcel_Style_Border\setBorderStyle(), PHPExcel_Style_NumberFormat\setBuiltInFormatCode(), PHPExcel_Style_Border\setColor(), PHPExcel_Style_Font\setColor(), PHPExcel_Style\setConditionalStyles(), PHPExcel_Style_Borders\setDiagonalDirection(), PHPExcel_Style_Fill\setEndColor(), PHPExcel_Style_Fill\setFillType(), PHPExcel_Style_NumberFormat\setFormatCode(), PHPExcel_Style_Protection\setHidden(), PHPExcel_Style_Alignment\setHorizontal(), PHPExcel_Style_Alignment\setIndent(), PHPExcel_Style_Font\setItalic(), PHPExcel_Style_Protection\setLocked(), PHPExcel_Style_Font\setName(), PHPExcel_Style\setQuotePrefix(), PHPExcel_Style_Alignment\setReadorder(), PHPExcel_Style_Color\setRGB(), PHPExcel_Style_Fill\setRotation(), PHPExcel_Style_Alignment\setShrinkToFit(), PHPExcel_Style_Font\setSize(), PHPExcel_Style_Fill\setStartColor(), PHPExcel_Style_Font\setStrikethrough(), PHPExcel_Style_Font\setSubScript(), PHPExcel_Style_Font\setSuperScript(), PHPExcel_Style_Alignment\setTextRotation(), PHPExcel_Style_Font\setUnderline(), PHPExcel_Style_Alignment\setVertical(), and PHPExcel_Style_Alignment\setWrapText().

104  {
105  return $this->getActiveSheet()->getSelectedCells();
106  }
getActiveSheet()
Get the currently active sheet.
Definition: Supervisor.php:92
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $_isSupervisor

PHPExcel_Style_Supervisor::$_isSupervisor
protected

Definition at line 43 of file Supervisor.php.

Referenced by getIsSupervisor().

◆ $_parent

PHPExcel_Style_Supervisor::$_parent
protected

Definition at line 50 of file Supervisor.php.

Referenced by PHPExcel_Style\getParent().


The documentation for this class was generated from the following file: