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