lib/PHPRtfLite/Table.php
public function writeToCell($rowIndex,
                                $columnIndex,
                                $text,
                                PHPRtfLite_Font $font = null,
                                PHPRtfLite_ParFormat $parFormat = null,
                                $convertTagsToRtf = true)
    {
        $cell = $this->getCell($rowIndex, $columnIndex);
        if ($font === null) {
            $font = $cell->getFont();
        }
        return $cell->writeText($text, $font, $parFormat, $convertTagsToRtf);
    }
public function writeToCell($rowIndex,
                                $columnIndex,
                                $text,
                                PHPRtfLite_Font $font = null,
                                PHPRtfLite_ParFormat $parFormat = null,
                                $convertTagsToRtf = true)
    {
        $cell = $this->getCell($rowIndex, $columnIndex);
        if ($font === null) {
            $font = $cell->getFont();
        }
        return $cell->writeText($text, $font, $parFormat, $convertTagsToRtf);
    }
public function writeToCell ( $ rowIndex , $ columnIndex , $ text , PHPRtfLite_Font $ font = null , PHPRtfLite_ParFormat $ parFormat = null , $ convertTagsToRtf = true ) { $ cell = $ this -> getCell ( $ rowIndex , $ columnIndex ) ; if ( $ font === null ) { $ font = $ cell -> getFont ( ) ; } return $ cell -> writeText ( $ text , $ font , $ parFormat , $ convertTagsToRtf ) ; }
writes text to cell

@param   integer                 $rowIndex           row index of cell
@param   integer                 $columnIndex        column index of cell
@param   string                  $text               Text. Also you can use html style tags. @see PHPRtfLite_Container#writeText()
@param   PHPRtfLite_Font         $font               Font of text
@param   PHPRtfLite_ParFormat    $parFormat          Paragraph format
@param   boolean                 $convertTagsToRtf   If false, then html style tags are not replaced with rtf code.
@return  PHPRtfLite_Element
writes text to cell