diff --git a/src/PhpWord/Reader/Word2007/AbstractPart.php b/src/PhpWord/Reader/Word2007/AbstractPart.php index 95799387ed..8bef411147 100644 --- a/src/PhpWord/Reader/Word2007/AbstractPart.php +++ b/src/PhpWord/Reader/Word2007/AbstractPart.php @@ -493,6 +493,13 @@ protected function readTable(XMLReader $xmlReader, DOMElement $domNode, $parent, $this->readParagraph($xmlReader, $cellNode, $cell, $docPart); } elseif ($cellNode->nodeName == 'w:tbl') { // Table $this->readTable($xmlReader, $cellNode, $cell, $docPart); + } elseif ('w:sdt' == $cellNode->nodeName) { + if ($xmlReader->elementExists('w:sdtContent/w:p', $cellNode)) { + $cellParagraphNode = $xmlReader->getElement('w:sdtContent/w:p', $cellNode); + if ($cellParagraphNode instanceof DOMElement) { + $this->readParagraph($xmlReader, $cellParagraphNode, $cell, $docPart); + } + } } } }