Skip to content

Commit 5c69253

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into develop
2 parents 4039304 + cb97979 commit 5c69253

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/PhpWord/Tests/Style/ImageTest.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,12 @@ public function testSetStyleValue()
6262
'height' => 200,
6363
'align' => 'left',
6464
'marginTop' => 240,
65-
'marginLeft' => 240
65+
'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
6671
);
6772
foreach ($properties as $key => $value) {
6873
$get = "get{$key}";

0 commit comments

Comments
 (0)