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 | /** |
4 | * This file is part of PHPWord - A pure PHP library for reading and writing |
5 | * word processing documents. |
6 | * |
7 | * PHPWord is free software distributed under the terms of the GNU Lesser |
8 | * General Public License version 3 as published by the Free Software Foundation. |
9 | * |
10 | * For the full copyright and license information, please read the LICENSE |
11 | * file that was distributed with this source code. For the full list of |
12 | * contributors, visit https://github.com/PHPOffice/PHPWord/contributors. |
13 | * |
14 | * @see https://github.com/PHPOffice/PHPWord |
15 | * |
16 | * @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3 |
17 | */ |
18 | |
19 | namespace PhpOffice\PhpWord\SimpleType; |
20 | |
21 | use PhpOffice\PhpWord\Shared\AbstractEnum; |
22 | |
23 | /** |
24 | * Horizontal Alignment Type. |
25 | * |
26 | * Introduced in 1st Edition of ECMA-376. Initially it was intended to align paragraphs and tables. |
27 | * Since ISO/IEC-29500:2008 the type must not be used for table alignment. |
28 | * |
29 | * @since 0.13.0 |
30 | * @see JcTable For table alignment modes available since ISO/IEC-29500:2008. |
31 | * @see http://www.datypic.com/sc/ooxml/t-w_ST_Jc.html |
32 | */ |
33 | final class Jc extends AbstractEnum |
34 | { |
35 | const START = 'start'; |
36 | const CENTER = 'center'; |
37 | const END = 'end'; |
38 | const BOTH = 'both'; |
39 | const MEDIUM_KASHIDA = 'mediumKashida'; |
40 | const DISTRIBUTE = 'distribute'; |
41 | const NUM_TAB = 'numTab'; |
42 | const HIGH_KASHIDA = 'highKashida'; |
43 | const LOW_KASHIDA = 'lowKashida'; |
44 | const THAI_DISTRIBUTE = 'thaiDistribute'; |
45 | |
46 | /** |
47 | * Kept for compatibility with 1st edition of ECMA-376 standard. |
48 | * Microsoft Word 2007 and WPS Writer 2016 still rely on it. |
49 | * |
50 | * @deprecated 0.13.0 For documents based on ISO/IEC 29500:2008 and later use `START` instead. |
51 | */ |
52 | const LEFT = 'left'; |
53 | /** |
54 | * Kept for compatibility with 1st edition of ECMA-376 standard. |
55 | * Microsoft Word 2007 and WPS Writer 2016 still rely on it. |
56 | * |
57 | * @deprecated 0.13.0 For documents based on ISO/IEC 29500:2008 and later use `END` instead. |
58 | */ |
59 | const RIGHT = 'right'; |
60 | /** |
61 | * Kept for compatibility with 1st edition of ECMA-376 standard. |
62 | * Microsoft Word 2007 and WPS Writer 2016 still rely on it. |
63 | * |
64 | * @deprecated 0.13.0 For documents based on ISO/IEC 29500:2008 and later use `BOTH` instead. |
65 | */ |
66 | const JUSTIFY = 'justify'; |
67 | } |