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 704cc2f + 15c3896 commit cb97979Copy full SHA for cb97979
tests/PhpWord/Tests/Style/ImageTest.php
@@ -62,7 +62,12 @@ public function testSetStyleValue()
62
'height' => 200,
63
'align' => 'left',
64
'marginTop' => 240,
65
- 'marginLeft' => 240
+ 'marginLeft' => 240,
66
+ 'positioning' => \PhpOffice\PhpWord\Style\Image::POSITION_ABSOLUTE,
67
+ 'posHorizontal' => \PhpOffice\PhpWord\Style\Image::POSITION_HORIZONTAL_CENTER,
68
+ 'posVertical' => \PhpOffice\PhpWord\Style\Image::POSITION_VERTICAL_TOP,
69
+ 'posHorizontalRel' => \PhpOffice\PhpWord\Style\Image::POSITION_RELATIVE_TO_COLUMN,
70
+ 'posVerticalRel' => \PhpOffice\PhpWord\Style\Image::POSITION_RELATIVE_TO_IMARGIN
71
);
72
foreach ($properties as $key => $value) {
73
$get = "get{$key}";
0 commit comments