You are here

public function PHPExcel_Comment::__construct in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Comment.php \PHPExcel_Comment::__construct()

Create a new PHPExcel_Comment

Throws

PHPExcel_Exception

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Comment.php, line 106

Class

PHPExcel_Comment
PHPExcel_Comment

Code

public function __construct() {

  // Initialise variables
  $this->_author = 'Author';
  $this->_text = new PHPExcel_RichText();
  $this->_fillColor = new PHPExcel_Style_Color('FFFFFFE1');
  $this->_alignment = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL;
}