12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?php
- namespace Util\PHPExcel;
- class Style
- {
-
- protected $index;
-
- public function __construct($isSupervisor = false, $isConditional = false)
- {
-
- $this->isSupervisor = $isSupervisor;
-
- $this->conditionalStyles = array();
-
-
- if ($isSupervisor) {
- $this->font->bindParent($this);
- $this->fill->bindParent($this);
- $this->borders->bindParent($this);
- $this->alignment->bindParent($this);
- $this->numberFormat->bindParent($this);
- $this->protection->bindParent($this);
- }
- }
-
- public function setIndex($pValue)
- {
- $this->index = $pValue;
- }
- }
|