commit
cb97979d57
@ -62,7 +62,12 @@ class ImageTest extends \PHPUnit_Framework_TestCase
|
|||||||
'height' => 200,
|
'height' => 200,
|
||||||
'align' => 'left',
|
'align' => 'left',
|
||||||
'marginTop' => 240,
|
'marginTop' => 240,
|
||||||
'marginLeft' => 240
|
'marginLeft' => 240,
|
||||||
|
'positioning' => \PhpOffice\PhpWord\Style\Image::POSITION_ABSOLUTE,
|
||||||
|
'posHorizontal' => \PhpOffice\PhpWord\Style\Image::POSITION_HORIZONTAL_CENTER,
|
||||||
|
'posVertical' => \PhpOffice\PhpWord\Style\Image::POSITION_VERTICAL_TOP,
|
||||||
|
'posHorizontalRel' => \PhpOffice\PhpWord\Style\Image::POSITION_RELATIVE_TO_COLUMN,
|
||||||
|
'posVerticalRel' => \PhpOffice\PhpWord\Style\Image::POSITION_RELATIVE_TO_IMARGIN
|
||||||
);
|
);
|
||||||
foreach ($properties as $key => $value) {
|
foreach ($properties as $key => $value) {
|
||||||
$get = "get{$key}";
|
$get = "get{$key}";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user