@@ -63,31 +63,31 @@ public function write()
63
63
64
64
// To make it easy to determine what's missing as new features are added,
65
65
// Everything below is in the same order as array found in PhpOffice\PhpWord\Style\Font\getStyleValues
66
-
66
+
67
67
// Basic
68
68
$ content .= $ this ->getValueIf ($ style ->getName () !== null , '\f ' . $ this ->nameIndex );
69
69
$ content .= $ this ->getValueIf ($ style ->getSize () !== null , '\fs ' . round ($ style ->getSize () * 2 ));
70
70
$ content .= $ this ->getValueIf ($ style ->getColor () !== null , '\cf ' . $ this ->colorIndex );
71
71
72
72
// Underline Keywords
73
73
$ underlines = [
74
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_DASH => '\uldash ' ,
75
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_DASHHEAVY => '\ulth ' ,
76
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_DASHLONG => '\ulldash ' ,
77
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_DASHLONGHEAVY => '\ulthldash ' ,
78
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_DOUBLE => '\uldb ' ,
79
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_DOTDASH => '\uldashd ' ,
80
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_DOTDASHHEAVY => '\ulthdashd ' ,
81
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_DOTDOTDASH => '\uldashdd ' ,
82
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_DOTDOTDASHHEAVY => '\ulthdashdd ' ,
83
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_DOTTED => '\uld ' ,
84
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_DOTTEDHEAVY => '\ulthd ' ,
85
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_HEAVY => '\ulth ' ,
86
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_SINGLE => '\ul ' ,
87
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_WAVY => '\ulwave ' ,
88
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_WAVYDOUBLE => '\ululdbwave ' ,
89
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_WAVYHEAVY => '\ulhwave ' ,
90
- \ PhpOffice \ PhpWord \ Style \ Font::UNDERLINE_WORDS => '\ulw ' ,
74
+ Font::UNDERLINE_DASH => '\uldash ' ,
75
+ Font::UNDERLINE_DASHHEAVY => '\ulth ' ,
76
+ Font::UNDERLINE_DASHLONG => '\ulldash ' ,
77
+ Font::UNDERLINE_DASHLONGHEAVY => '\ulthldash ' ,
78
+ Font::UNDERLINE_DOUBLE => '\uldb ' ,
79
+ Font::UNDERLINE_DOTDASH => '\uldashd ' ,
80
+ Font::UNDERLINE_DOTDASHHEAVY => '\ulthdashd ' ,
81
+ Font::UNDERLINE_DOTDOTDASH => '\uldashdd ' ,
82
+ Font::UNDERLINE_DOTDOTDASHHEAVY => '\ulthdashdd ' ,
83
+ Font::UNDERLINE_DOTTED => '\uld ' ,
84
+ Font::UNDERLINE_DOTTEDHEAVY => '\ulthd ' ,
85
+ Font::UNDERLINE_HEAVY => '\ulth ' ,
86
+ Font::UNDERLINE_SINGLE => '\ul ' ,
87
+ Font::UNDERLINE_WAVY => '\ulwave ' ,
88
+ Font::UNDERLINE_WAVYDOUBLE => '\ululdbwave ' ,
89
+ Font::UNDERLINE_WAVYHEAVY => '\ulhwave ' ,
90
+ Font::UNDERLINE_WORDS => '\ulw ' ,
91
91
];
92
92
93
93
// Style
0 commit comments