We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f93382e + 4083e46 commit bc8229dCopy full SHA for bc8229d
src/PhpWord/Style/Image.php
@@ -61,7 +61,7 @@ class Image extends Frame
61
public function __construct()
62
{
63
parent::__construct();
64
- $this->setUnit(self::UNIT_PT);
+ $this->setUnit(self::UNIT_PX);
65
66
// Backward compatibility setting
67
// @todo Remove on 1.0.0
src/PhpWord/Writer/Word2007/Style/Section.php
@@ -78,7 +78,6 @@ public function write()
78
$styleWriter->setSizes($style->getBorderSize());
79
$styleWriter->setColors($style->getBorderColor());
80
$styleWriter->setAttributes(array('space' => $style->getBordersSpace()));
81
- $styleWriter->setAttributes(array('space' => '24'));
82
$styleWriter->write();
83
84
$xmlWriter->endElement();
0 commit comments