Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
NumberFormat | 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 | * Numbering Format. |
24 | * |
25 | * @since 0.14.0 |
26 | * @see http://www.datypic.com/sc/ooxml/t-w_ST_NumberFormat.html. |
27 | */ |
28 | final class NumberFormat extends AbstractEnum |
29 | { |
30 | //Decimal Numbers |
31 | const DECIMAL = 'decimal'; |
32 | //Uppercase Roman Numerals |
33 | const UPPER_ROMAN = 'upperRoman'; |
34 | //Lowercase Roman Numerals |
35 | const LOWER_ROMAN = 'lowerRoman'; |
36 | //Uppercase Latin Alphabet |
37 | const UPPER_LETTER = 'upperLetter'; |
38 | //Lowercase Latin Alphabet |
39 | const LOWER_LETTER = 'lowerLetter'; |
40 | //Ordinal |
41 | const ORDINAL = 'ordinal'; |
42 | //Cardinal Text |
43 | const CARDINAL_TEXT = 'cardinalText'; |
44 | //Ordinal Text |
45 | const ORDINAL_TEXT = 'ordinalText'; |
46 | //Hexadecimal Numbering |
47 | const HEX = 'hex'; |
48 | //Chicago Manual of Style |
49 | const CHICAGO = 'chicago'; |
50 | //Ideographs |
51 | const IDEOGRAPH_DIGITAL = 'ideographDigital'; |
52 | //Japanese Counting System |
53 | const JAPANESE_COUNTING = 'japaneseCounting'; |
54 | //AIUEO Order Hiragana |
55 | const AIUEO = 'aiueo'; |
56 | //Iroha Ordered Katakana |
57 | const IROHA = 'iroha'; |
58 | //Double Byte Arabic Numerals |
59 | const DECIMAL_FULL_WIDTH = 'decimalFullWidth'; |
60 | //Single Byte Arabic Numerals |
61 | const DECIMAL_HALF_WIDTH = 'decimalHalfWidth'; |
62 | //Japanese Legal Numbering |
63 | const JAPANESE_LEGAL = 'japaneseLegal'; |
64 | //Japanese Digital Ten Thousand Counting System |
65 | const JAPANESE_DIGITAL_TEN_THOUSAND = 'japaneseDigitalTenThousand'; |
66 | //Decimal Numbers Enclosed in a Circle |
67 | const DECIMAL_ENCLOSED_CIRCLE = 'decimalEnclosedCircle'; |
68 | //Double Byte Arabic Numerals Alternate |
69 | const DECIMAL_FULL_WIDTH2 = 'decimalFullWidth2'; |
70 | //Full-Width AIUEO Order Hiragana |
71 | const AIUEO_FULL_WIDTH = 'aiueoFullWidth'; |
72 | //Full-Width Iroha Ordered Katakana |
73 | const IROHA_FULL_WIDTH = 'irohaFullWidth'; |
74 | //Initial Zero Arabic Numerals |
75 | const DECIMAL_ZERO = 'decimalZero'; |
76 | //Bullet |
77 | const BULLET = 'bullet'; |
78 | //Korean Ganada Numbering |
79 | const GANADA = 'ganada'; |
80 | //Korean Chosung Numbering |
81 | const CHOSUNG = 'chosung'; |
82 | //Decimal Numbers Followed by a Period |
83 | const DECIMAL_ENCLOSED_FULL_STOP = 'decimalEnclosedFullstop'; |
84 | //Decimal Numbers Enclosed in Parenthesis |
85 | const DECIMAL_ENCLOSED_PAREN = 'decimalEnclosedParen'; |
86 | //Decimal Numbers Enclosed in a Circle |
87 | const DECIMAL_ENCLOSED_CIRCLE_CHINESE = 'decimalEnclosedCircleChinese'; |
88 | //Ideographs Enclosed in a Circle |
89 | const IDEOGRAPHENCLOSEDCIRCLE = 'ideographEnclosedCircle'; |
90 | //Traditional Ideograph Format |
91 | const IDEOGRAPH_TRADITIONAL = 'ideographTraditional'; |
92 | //Zodiac Ideograph Format |
93 | const IDEOGRAPH_ZODIAC = 'ideographZodiac'; |
94 | //Traditional Zodiac Ideograph Format |
95 | const IDEOGRAPH_ZODIAC_TRADITIONAL = 'ideographZodiacTraditional'; |
96 | //Taiwanese Counting System |
97 | const TAIWANESE_COUNTING = 'taiwaneseCounting'; |
98 | //Traditional Legal Ideograph Format |
99 | const IDEOGRAPH_LEGAL_TRADITIONAL = 'ideographLegalTraditional'; |
100 | //Taiwanese Counting Thousand System |
101 | const TAIWANESE_COUNTING_THOUSAND = 'taiwaneseCountingThousand'; |
102 | //Taiwanese Digital Counting System |
103 | const TAIWANESE_DIGITAL = 'taiwaneseDigital'; |
104 | //Chinese Counting System |
105 | const CHINESE_COUNTING = 'chineseCounting'; |
106 | //Chinese Legal Simplified Format |
107 | const CHINESE_LEGAL_SIMPLIFIED = 'chineseLegalSimplified'; |
108 | //Chinese Counting Thousand System |
109 | const CHINESE_COUNTING_THOUSAND = 'chineseCountingThousand'; |
110 | //Korean Digital Counting System |
111 | const KOREAN_DIGITAL = 'koreanDigital'; |
112 | //Korean Counting System |
113 | const KOREAN_COUNTING = 'koreanCounting'; |
114 | //Korean Legal Numbering |
115 | const KOREAN_LEGAL = 'koreanLegal'; |
116 | //Korean Digital Counting System Alternate |
117 | const KOREAN_DIGITAL2 = 'koreanDigital2'; |
118 | //Vietnamese Numerals |
119 | const VIETNAMESE_COUNTING = 'vietnameseCounting'; |
120 | //Lowercase Russian Alphabet |
121 | const RUSSIAN_LOWER = 'russianLower'; |
122 | //Uppercase Russian Alphabet |
123 | const RUSSIAN_UPPER = 'russianUpper'; |
124 | //No Numbering |
125 | const NONE = 'none'; |
126 | //Number With Dashes |
127 | const NUMBER_IN_DASH = 'numberInDash'; |
128 | //Hebrew Numerals |
129 | const HEBREW1 = 'hebrew1'; |
130 | //Hebrew Alphabet |
131 | const HEBREW2 = 'hebrew2'; |
132 | //Arabic Alphabet |
133 | const ARABIC_ALPHA = 'arabicAlpha'; |
134 | //Arabic Abjad Numerals |
135 | const ARABIC_ABJAD = 'arabicAbjad'; |
136 | //Hindi Vowels |
137 | const HINDI_VOWELS = 'hindiVowels'; |
138 | //Hindi Consonants |
139 | const HINDI_CONSONANTS = 'hindiConsonants'; |
140 | //Hindi Numbers |
141 | const HINDI_NUMBERS = 'hindiNumbers'; |
142 | //Hindi Counting System |
143 | const HINDI_COUNTING = 'hindiCounting'; |
144 | //Thai Letters |
145 | const THAI_LETTERS = 'thaiLetters'; |
146 | //Thai Numerals |
147 | const THAI_NUMBERS = 'thaiNumbers'; |
148 | //Thai Counting System |
149 | const THAI_COUNTING = 'thaiCounting'; |
150 | } |