You are here

public function PHPExcel_RichText::addText in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/RichText.php \PHPExcel_RichText::addText()

Add text

Parameters

PHPExcel_RichText_ITextElement $pText Rich text element:

Return value

PHPExcel_RichText

Throws

PHPExcel_Exception

3 calls to PHPExcel_RichText::addText()
PHPExcel_RichText::createText in vendor/phpoffice/phpexcel/Classes/PHPExcel/RichText.php
Create text
PHPExcel_RichText::createTextRun in vendor/phpoffice/phpexcel/Classes/PHPExcel/RichText.php
Create text run
PHPExcel_RichText::__construct in vendor/phpoffice/phpexcel/Classes/PHPExcel/RichText.php
Create a new PHPExcel_RichText instance

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/RichText.php, line 77

Class

PHPExcel_RichText
PHPExcel_RichText

Code

public function addText(PHPExcel_RichText_ITextElement $pText = null) {
  $this->_richTextElements[] = $pText;
  return $this;
}