Merge pull request #2021 from kamilmmach/develop

Fix image border in Word2007 Writer for LibreOffice 7
This commit is contained in:
troosan 2021-03-13 17:27:03 +01:00 committed by GitHub
commit a30bbbdc62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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