You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/styles.rst
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@ Available Font style options:
45
45
- ``color``. Font color, e.g. *FF0000*.
46
46
- ``doubleStrikethrough``. Double strikethrough, *true* or *false*.
47
47
- ``fgColor``. Font highlight color, e.g. *yellow*, *green*, *blue*.
48
+
See ``\PhpOffice\PhpWord\Style\Font::FGCOLOR_...`` constants for more values
48
49
- ``hint``. Font content type, *default*, *eastAsia*, or *cs*.
49
50
- ``italic``. Italic, *true* or *false*.
50
51
- ``name``. Font name, e.g. *Arial*.
@@ -54,7 +55,8 @@ Available Font style options:
54
55
- ``strikethrough``. Strikethrough, *true* or *false*.
55
56
- ``subScript``. Subscript, *true* or *false*.
56
57
- ``superScript``. Superscript, *true* or *false*.
57
-
- ``underline``. Underline, *dash*, *dotted*, etc.
58
+
- ``underline``. Underline, *single*, *dash*, *dotted*, etc.
59
+
See ``\PhpOffice\PhpWord\Style\Font::UNDERLINE_...`` constants for more values
58
60
- ``lang``. Language, either a language code like *en-US*, *fr-BE*, etc. or an object (or as an array) if you need to set eastAsian or bidirectional languages
59
61
See ``\PhpOffice\PhpWord\Style\Language`` class for some language codes.
0 commit comments