Skip to content

Commit 0231826

Browse files
devX2712Progi1984
authored andcommitted
CHG-Load also richtext shape without text
It seems tha Powerpoint 2007 use also richtext to define rectangle with or without text. So keep loading richtext without text
1 parent 25c99a2 commit 0231826

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/PhpPresentation/Reader/PowerPoint2007.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -922,9 +922,6 @@ protected function loadShapeDrawing(XMLReader $document, DOMElement $node, Abstr
922922
*/
923923
protected function loadShapeRichText(XMLReader $document, DOMElement $node, $oSlide): void
924924
{
925-
if (!$document->elementExists('p:txBody/a:p/a:r', $node)) {
926-
return;
927-
}
928925
// Core
929926
$oShape = $oSlide->createRichTextShape();
930927
$oShape->setParagraphs([]);

0 commit comments

Comments
 (0)