Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
Jc | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | /** |
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. |
12 | * |
13 | * @see https://github.com/PHPOffice/PHPWord |
14 | * |
15 | * @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3 |
16 | */ |
17 | |
18 | namespace PhpOffice\PhpWord\SimpleType; |
19 | |
20 | use PhpOffice\PhpWord\Shared\AbstractEnum; |
21 | |
22 | /** |
23 | * Horizontal Alignment Type. |
24 | * |
25 | * Introduced in 1st Edition of ECMA-376. Initially it was intended to align paragraphs and tables. |
26 | * Since ISO/IEC-29500:2008 the type must not be used for table alignment. |
27 | * |
28 | * @since 0.13.0 |
29 | * @see \PhpOffice\PhpWord\SimpleType\JcTable For table alignment modes available since ISO/IEC-29500:2008. |
30 | * @see http://www.datypic.com/sc/ooxml/t-w_ST_Jc.html |
31 | */ |
32 | final class Jc extends AbstractEnum |
33 | { |
34 | const START = 'start'; |
35 | const CENTER = 'center'; |
36 | const END = 'end'; |
37 | const BOTH = 'both'; |
38 | const MEDIUM_KASHIDA = 'mediumKashida'; |
39 | const DISTRIBUTE = 'distribute'; |
40 | const NUM_TAB = 'numTab'; |
41 | const HIGH_KASHIDA = 'highKashida'; |
42 | const LOW_KASHIDA = 'lowKashida'; |
43 | const THAI_DISTRIBUTE = 'thaiDistribute'; |
44 | |
45 | /** |
46 | * Kept for compatibility with 1st edition of ECMA-376 standard. |
47 | * Microsoft Word 2007 and WPS Writer 2016 still rely on it. |
48 | * |
49 | * @deprecated 0.13.0 For documents based on ISO/IEC 29500:2008 and later use `START` instead. |
50 | */ |
51 | const LEFT = 'left'; |
52 | /** |
53 | * Kept for compatibility with 1st edition of ECMA-376 standard. |
54 | * Microsoft Word 2007 and WPS Writer 2016 still rely on it. |
55 | * |
56 | * @deprecated 0.13.0 For documents based on ISO/IEC 29500:2008 and later use `END` instead. |
57 | */ |
58 | const RIGHT = 'right'; |
59 | /** |
60 | * Kept for compatibility with 1st edition of ECMA-376 standard. |
61 | * Microsoft Word 2007 and WPS Writer 2016 still rely on it. |
62 | * |
63 | * @deprecated 0.13.0 For documents based on ISO/IEC 29500:2008 and later use `BOTH` instead. |
64 | */ |
65 | const JUSTIFY = 'justify'; |
66 | } |