Fix image border in Word2007 Writer for LibreOffice 7

https://github.com/PHPOffice/PHPWord/pull/2021
This commit is contained in:
Dave Umrysh 2021-12-21 22:04:22 +00:00
parent 8d76b29d17
commit ff95c7db65

View File

@ -83,6 +83,7 @@ class Image extends AbstractElement
$xmlWriter->startElement('w:pict');
$xmlWriter->startElement('v:shape');
$xmlWriter->writeAttribute('type', '#_x0000_t75');
$xmlWriter->writeAttribute('stroked', 'f');
$styleWriter->write();
@ -115,6 +116,7 @@ class Image extends AbstractElement
$xmlWriter->startElement('w:pict');
$xmlWriter->startElement('v:shape');
$xmlWriter->writeAttribute('type', '#_x0000_t75');
$xmlWriter->writeAttribute('stroked', 'f');
$styleWriter->write();