private function _writeRichTextString($row, $col, $str, $xfIndex, $arrcRun){
		$record	= 0x00FD;				   // Record identifier
		$length	= 0x000A;				   // Bytes to follow
		$str = PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($str, $arrcRun);

		/* check if string is already present */
		if (!isset($this->_str_table[$str])) {
			$this->_str_table[$str] = $this->_str_unique++;
		}
		$this->_str_total++;

		$header	= pack('vv',   $record, $length);
		$data	= pack('vvvV', $row, $col, $xfIndex, $this->_str_table[$str]);
		$this->_append($header.$data);
	}
private function _writeRichTextString($row, $col, $str, $xfIndex, $arrcRun){
		$record	= 0x00FD;				   // Record identifier
		$length	= 0x000A;				   // Bytes to follow
		$str = PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($str, $arrcRun);

		/* check if string is already present */
		if (!isset($this->_str_table[$str])) {
			$this->_str_table[$str] = $this->_str_unique++;
		}
		$this->_str_total++;

		$header	= pack('vv',   $record, $length);
		$data	= pack('vvvV', $row, $col, $xfIndex, $this->_str_table[$str]);
		$this->_append($header.$data);
	}
private function _writeRichTextString ( $ row , $ col , $ str , $ xfIndex , $ arrcRun ) { $ record = 0x00FD ; // Record identifier $ length = 0x000A ; // Bytes to follow $ str = PHPExcel_Shared_String :: UTF8toBIFF8UnicodeShort ( $ str , $ arrcRun ) ; /* check if string is already present */ if ( ! isset ( $ this -> _str_table [ $ str ] ) ) { $ this -> _str_table [ $ str ] = $ this -> _str_unique ++ ; } $ this -> _str_total ++ ; $ header = pack ( 'vv' , $ record , $ length ) ; $ data = pack ( 'vvvV' , $ row , $ col , $ xfIndex , $ this -> _str_table [ $ str ] ) ; $ this -> _append ( $ header . $ data ) ; }
Write a LABELSST record or a LABEL record. Which one depends on BIFF version
It differs from _writeString by the writing of rich text strings.
@param int $row Row index (0-based)
@param int $col Column index (0-based)
@param string $str The string
@param mixed   $xfIndex The XF format index for the cell
@param array $arrcRun Index to Font record and characters beginning
Write a LABELSST record or a LABEL record . Which one depends on BIFF version It differs from _writeString by the writing of rich text strings .