File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
tests/PhpWord/Tests/Style Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * PHPWord
3
+ * This file is part of PHPWord - A pure PHP library for reading and writing
4
+ * word processing documents.
5
+ *
6
+ * PHPWord is free software distributed under the terms of the GNU Lesser
7
+ * General Public License version 3 as published by the Free Software Foundation.
8
+ *
9
+ * For the full copyright and license information, please read the LICENSE
10
+ * file that was distributed with this source code. For the full list of
11
+ * contributors, visit https://github.com/PHPOffice/PHPWord/contributors.
4
12
*
5
13
* @link https://github.com/PHPOffice/PHPWord
6
- * @copyright 2014 PHPWord
14
+ * @copyright 2010- 2014 PHPWord contributors
7
15
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
8
16
*/
9
17
@@ -54,7 +62,12 @@ public function testSetStyleValue()
54
62
'height ' => 200 ,
55
63
'align ' => 'left ' ,
56
64
'marginTop ' => 240 ,
57
- '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
58
71
);
59
72
foreach ($ properties as $ key => $ value ) {
60
73
$ get = "get {$ key }" ;
You can’t perform that action at this time.
0 commit comments