From 6697b721854c77b4a451dde987c7a493c1b35c8f Mon Sep 17 00:00:00 2001 From: Gabriel Bull Date: Thu, 13 Feb 2014 12:24:11 -0500 Subject: [PATCH] Fixed bug list items inside of cells --- Classes/PHPWord/Writer/Word2007/Document.php | 2 +- changelog.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Classes/PHPWord/Writer/Word2007/Document.php b/Classes/PHPWord/Writer/Word2007/Document.php index 20d3d5ca..41718f6e 100755 --- a/Classes/PHPWord/Writer/Word2007/Document.php +++ b/Classes/PHPWord/Writer/Word2007/Document.php @@ -251,7 +251,7 @@ class PHPWord_Writer_Word2007_Document extends PHPWord_Writer_Word2007_Base $objWriter->endElement(); } - private function _writeListItem(PHPWord_Shared_XMLWriter $objWriter = null, PHPWord_Section_ListItem $listItem) + public function _writeListItem(PHPWord_Shared_XMLWriter $objWriter = null, PHPWord_Section_ListItem $listItem) { $textObject = $listItem->getTextObject(); $text = $textObject->getText(); diff --git a/changelog.txt b/changelog.txt index b32fd11f..90599cd2 100755 --- a/changelog.txt +++ b/changelog.txt @@ -25,6 +25,7 @@ Changes in branch for release 0.7.1 : - Feature: (gabrielbull) - Word2007 : Support sections page numbering - Bugfix: (gabrielbull) - Fixed bug with cell styling +- Bugfix: (gabrielbull) - Fixed bug list items inside of cells Fixed in branch for release 0.7.0 : - Bugfix: (RomanSyroeshko) GH-32 - "Warning: Invalid error type specified in ...\PHPWord.php on line 226" is thrown when the specified template file is not found