paragraph style missing from cell()->addText()

Mar 25, 2011 at 10:04 PM

noticed that paragraph style wasn't rendering.

changed addText() in section\table\cell.php, line 110:

    public function addText($text, $style = null, $styleParagraph = null) {
        $text = utf8_encode($text);
        $text = new PHPWord_Section_Text($text, $style, $styleParagraph);
        $this->_elementCollection[] = $text;
        return $text;
    }

Mar 26, 2011 at 3:51 PM
Edited Mar 26, 2011 at 3:52 PM

Please see this discussion for a fix!

http://phpword.codeplex.com/discussions/222575