當前位置: 首頁>>代碼示例>>PHP>>正文


PHP PHPExcel_Style_Supervisor類代碼示例

本文整理匯總了PHP中PHPExcel_Style_Supervisor的典型用法代碼示例。如果您正苦於以下問題:PHP PHPExcel_Style_Supervisor類的具體用法?PHP PHPExcel_Style_Supervisor怎麽用?PHP PHPExcel_Style_Supervisor使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了PHPExcel_Style_Supervisor類的13個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

 /**
  * Create a new PHPExcel_Style_Color
  *
  * @param	string	$pARGB			ARGB value for the colour
  * @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
  */
 public function __construct($pARGB = PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor = FALSE, $isConditional = FALSE)
 {
     //	Supervisor?
     parent::__construct($isSupervisor);
     //	Initialise values
     if (!$isConditional) {
         $this->_argb = $pARGB;
     }
 }
開發者ID:sirpapy,項目名稱:Projet-Tuteur--LIGM,代碼行數:20,代碼來源:Color.php

示例2: __construct

 /**
  * 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
  */
 public function __construct($isSupervisor = FALSE, $isConditional = FALSE)
 {
     // Supervisor?
     parent::__construct($isSupervisor);
     // Initialise values
     if (!$isConditional) {
         $this->_locked = self::PROTECTION_INHERIT;
         $this->_hidden = self::PROTECTION_INHERIT;
     }
 }
開發者ID:ljhchshm,項目名稱:weixin,代碼行數:20,代碼來源:Protection.php

示例3: __construct

 /**
  * Create a new PHPExcel_Style_Border
  *
  * @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
  */
 public function __construct($isSupervisor = FALSE, $isConditional = FALSE)
 {
     // Supervisor?
     parent::__construct($isSupervisor);
     // Initialise values
     $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor);
     // bind parent if we are a supervisor
     if ($isSupervisor) {
         $this->_color->bindParent($this, '_color');
     }
 }
開發者ID:ljhchshm,項目名稱:weixin,代碼行數:21,代碼來源:Border.php

示例4: __construct

 /**
  * Create a new PHPExcel_Style_Alignment
  *
  * @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
  */
 public function __construct($isSupervisor = FALSE, $isConditional = FALSE)
 {
     // Supervisor?
     parent::__construct($isSupervisor);
     if ($isConditional) {
         $this->_horizontal = NULL;
         $this->_vertical = NULL;
         $this->_textRotation = NULL;
     }
 }
開發者ID:adit-gudhel,項目名稱:simpus-dev,代碼行數:20,代碼來源:Alignment.php

示例5: __construct

 /**
  * Create a new PHPExcel_Style_NumberFormat
  *
  * @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
  */
 public function __construct($isSupervisor = FALSE, $isConditional = FALSE)
 {
     // Supervisor?
     parent::__construct($isSupervisor);
     if ($isConditional) {
         $this->_formatCode = NULL;
     }
 }
開發者ID:YellowYellow,項目名稱:Graduation-Project,代碼行數:18,代碼來源:NumberFormat.php

示例6: __construct

 /**
  * Create a new PHPExcel_Style_Font
  *
  * @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
  */
 public function __construct($isSupervisor = FALSE, $isConditional = FALSE)
 {
     // Supervisor?
     parent::__construct($isSupervisor);
     // Initialise values
     if ($isConditional) {
         $this->_name = NULL;
         $this->_size = NULL;
         $this->_bold = NULL;
         $this->_italic = NULL;
         $this->_superScript = NULL;
         $this->_subScript = NULL;
         $this->_underline = NULL;
         $this->_strikethrough = NULL;
         $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional);
     } else {
         $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor);
     }
     // bind parent if we are a supervisor
     if ($isSupervisor) {
         $this->_color->bindParent($this, '_color');
     }
 }
開發者ID:ljhchshm,項目名稱:weixin,代碼行數:33,代碼來源:Font.php

示例7: __construct

 /**
  * Create a new PHPExcel_Style_Fill
  *
  * @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
  */
 public function __construct($isSupervisor = FALSE, $isConditional = FALSE)
 {
     // Supervisor?
     parent::__construct($isSupervisor);
     // Initialise values
     if ($isConditional) {
         $this->_fillType = NULL;
     }
     $this->_startColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_WHITE, $isSupervisor, $isConditional);
     $this->_endColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional);
     // bind parent if we are a supervisor
     if ($isSupervisor) {
         $this->_startColor->bindParent($this, '_startColor');
         $this->_endColor->bindParent($this, '_endColor');
     }
 }
開發者ID:xVirusproj3ct,項目名稱:site_web_phf,代碼行數:26,代碼來源:Fill.php

示例8: __construct

 /**
  * Create a new PHPExcel_Style_Borders
  *
  * @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
  */
 public function __construct($isSupervisor = false, $isConditional = false)
 {
     // Supervisor?
     parent::__construct($isSupervisor);
     // Initialise values
     $this->left = new PHPExcel_Style_Border($isSupervisor, $isConditional);
     $this->right = new PHPExcel_Style_Border($isSupervisor, $isConditional);
     $this->top = new PHPExcel_Style_Border($isSupervisor, $isConditional);
     $this->bottom = new PHPExcel_Style_Border($isSupervisor, $isConditional);
     $this->diagonal = new PHPExcel_Style_Border($isSupervisor, $isConditional);
     $this->diagonalDirection = PHPExcel_Style_Borders::DIAGONAL_NONE;
     // Specially for supervisor
     if ($isSupervisor) {
         // Initialize pseudo-borders
         $this->allBorders = new PHPExcel_Style_Border(true);
         $this->outline = new PHPExcel_Style_Border(true);
         $this->inside = new PHPExcel_Style_Border(true);
         $this->vertical = new PHPExcel_Style_Border(true);
         $this->horizontal = new PHPExcel_Style_Border(true);
         // bind parent if we are a supervisor
         $this->left->bindParent($this, 'left');
         $this->right->bindParent($this, 'right');
         $this->top->bindParent($this, 'top');
         $this->bottom->bindParent($this, 'bottom');
         $this->diagonal->bindParent($this, 'diagonal');
         $this->allBorders->bindParent($this, 'allBorders');
         $this->outline->bindParent($this, 'outline');
         $this->inside->bindParent($this, 'inside');
         $this->vertical->bindParent($this, 'vertical');
         $this->horizontal->bindParent($this, 'horizontal');
     }
 }
開發者ID:alyayazilim,項目名稱:E-Ticaret-2015,代碼行數:42,代碼來源:Borders.php

示例9: __construct

 /**
  * Create a new PHPExcel_Style_Borders
  *
  * @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
  */
 public function __construct($isSupervisor = FALSE, $isConditional = FALSE)
 {
     // Supervisor?
     parent::__construct($isSupervisor);
     // Initialise values
     $this->_left = new PHPExcel_Style_Border($isSupervisor, $isConditional);
     $this->_right = new PHPExcel_Style_Border($isSupervisor, $isConditional);
     $this->_top = new PHPExcel_Style_Border($isSupervisor, $isConditional);
     $this->_bottom = new PHPExcel_Style_Border($isSupervisor, $isConditional);
     $this->_diagonal = new PHPExcel_Style_Border($isSupervisor, $isConditional);
     $this->_diagonalDirection = PHPExcel_Style_Borders::DIAGONAL_NONE;
     // Specially for supervisor
     if ($isSupervisor) {
         // Initialize pseudo-borders
         $this->_allBorders = new PHPExcel_Style_Border(TRUE);
         $this->_outline = new PHPExcel_Style_Border(TRUE);
         $this->_inside = new PHPExcel_Style_Border(TRUE);
         $this->_vertical = new PHPExcel_Style_Border(TRUE);
         $this->_horizontal = new PHPExcel_Style_Border(TRUE);
         // bind parent if we are a supervisor
         $this->_left->bindParent($this, '_left');
         $this->_right->bindParent($this, '_right');
         $this->_top->bindParent($this, '_top');
         $this->_bottom->bindParent($this, '_bottom');
         $this->_diagonal->bindParent($this, '_diagonal');
         $this->_allBorders->bindParent($this, '_allBorders');
         $this->_outline->bindParent($this, '_outline');
         $this->_inside->bindParent($this, '_inside');
         $this->_vertical->bindParent($this, '_vertical');
         $this->_horizontal->bindParent($this, '_horizontal');
     }
 }
開發者ID:ljhchshm,項目名稱:weixin,代碼行數:42,代碼來源:Borders.php

示例10: __construct

 /**
  * Create a new PHPExcel_Style_Alignment
  *
  * @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
  */
 public function __construct($isSupervisor = false, $isConditional = false)
 {
     // Supervisor?
     parent::__construct($isSupervisor);
     if ($isConditional) {
         $this->_horizontal = null;
         $this->_vertical = null;
         $this->_textRotation = null;
     }
 }
開發者ID:BozzaCoon,項目名稱:SPHERE-Framework,代碼行數:20,代碼來源:Alignment.php

示例11: __construct

 /**
  * Create a new PHPExcel_Style_Font
  *
  * @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
  */
 public function __construct($isSupervisor = false, $isConditional = false)
 {
     // Supervisor?
     parent::__construct($isSupervisor);
     // Initialise values
     if ($isConditional) {
         $this->name = null;
         $this->size = null;
         $this->bold = null;
         $this->italic = null;
         $this->superScript = null;
         $this->subScript = null;
         $this->underline = null;
         $this->strikethrough = null;
         $this->color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional);
     } else {
         $this->color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor);
     }
     // bind parent if we are a supervisor
     if ($isSupervisor) {
         $this->color->bindParent($this, 'color');
     }
 }
開發者ID:alyayazilim,項目名稱:E-Ticaret-2015,代碼行數:33,代碼來源:Font.php

示例12: __construct

 /**
  * Create a new PHPExcel_Style_NumberFormat
  *
  * @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
  */
 public function __construct($isSupervisor = false, $isConditional = false)
 {
     // Supervisor?
     parent::__construct($isSupervisor);
     if ($isConditional) {
         $this->_formatCode = null;
     }
 }
開發者ID:liu33851861,項目名稱:CZD_Yaf_Extension,代碼行數:18,代碼來源:NumberFormat.php

示例13: __construct

 /**
  * Create a new PHPExcel_Style_Fill
  *
  * @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
  */
 public function __construct($isSupervisor = false, $isConditional = false)
 {
     // Supervisor?
     parent::__construct($isSupervisor);
     // Initialise values
     if ($isConditional) {
         $this->fillType = null;
     }
     $this->startColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_WHITE, $isSupervisor, $isConditional);
     $this->endColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional);
     // bind parent if we are a supervisor
     if ($isSupervisor) {
         $this->startColor->bindParent($this, 'startColor');
         $this->endColor->bindParent($this, 'endColor');
     }
 }
開發者ID:oalkhanishvili,項目名稱:track2,代碼行數:26,代碼來源:Fill.php


注:本文中的PHPExcel_Style_Supervisor類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。