Skip to content

Commit 6697b72

Browse files
committed
Fixed bug list items inside of cells
1 parent 7ea686f commit 6697b72

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Classes/PHPWord/Writer/Word2007/Document.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ private function _writePageBreak(PHPWord_Shared_XMLWriter $objWriter = null)
251251
$objWriter->endElement();
252252
}
253253

254-
private function _writeListItem(PHPWord_Shared_XMLWriter $objWriter = null, PHPWord_Section_ListItem $listItem)
254+
public function _writeListItem(PHPWord_Shared_XMLWriter $objWriter = null, PHPWord_Section_ListItem $listItem)
255255
{
256256
$textObject = $listItem->getTextObject();
257257
$text = $textObject->getText();

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
Changes in branch for release 0.7.1 :
2626
- Feature: (gabrielbull) - Word2007 : Support sections page numbering
2727
- Bugfix: (gabrielbull) - Fixed bug with cell styling
28+
- Bugfix: (gabrielbull) - Fixed bug list items inside of cells
2829

2930
Fixed in branch for release 0.7.0 :
3031
- 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

0 commit comments

Comments
 (0)