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
+7-4
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,8 @@ Available Font style options:
55
55
- ``subScript``. Subscript, *true* or *false*.
56
56
- ``superScript``. Superscript, *true* or *false*.
57
57
- ``underline``. Underline, *dash*, *dotted*, etc.
58
+
- ``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
+
See ``\PhpOffice\PhpWord\Style\Language`` class for some language codes.
58
60
59
61
.. _paragraph-style:
60
62
@@ -64,7 +66,7 @@ Paragraph
64
66
Available Paragraph style options:
65
67
66
68
- ``alignment``. Supports all alignment modes since 1st Edition of ECMA-376 standard up till ISO/IEC 29500:2012.
67
-
See ``\PhpOffice\PhpWord\SimpleType\Jc`` class for the details.
69
+
See ``\PhpOffice\PhpWord\SimpleType\Jc`` class for the details.
68
70
- ``basedOn``. Parent style.
69
71
- ``hanging``. Hanging by how much.
70
72
- ``indent``. Indent by how much.
@@ -87,7 +89,7 @@ Table
87
89
Available Table style options:
88
90
89
91
- ``alignment``. Supports all alignment modes since 1st Edition of ECMA-376 standard up till ISO/IEC 29500:2012.
90
-
See ``\PhpOffice\PhpWord\SimpleType\JcTable`` and ``\PhpOffice\PhpWord\SimpleType\Jc`` classes for the details.
92
+
See ``\PhpOffice\PhpWord\SimpleType\JcTable`` and ``\PhpOffice\PhpWord\SimpleType\Jc`` classes for the details.
91
93
- ``bgColor``. Background color, e.g. '9966CC'.
92
94
- ``border(Top|Right|Bottom|Left)Color``. Border color, e.g. '9966CC'.
93
95
- ``border(Top|Right|Bottom|Left)Size``. Border size in twips.
@@ -106,7 +108,8 @@ Available Cell style options:
106
108
- ``border(Top|Right|Bottom|Left)Color``. Border color, e.g. '9966CC'.
107
109
- ``border(Top|Right|Bottom|Left)Size``. Border size in twips.
108
110
- ``gridSpan``. Number of columns spanned.
109
-
- ``textDirection(btLr|tbRl)``. Direction of text. You can use constants ``\PhpOffice\PhpWord\Style\Cell::TEXT_DIR_BTLR`` and ``\PhpOffice\PhpWord\Style\Cell::TEXT_DIR_TBRL``
111
+
- ``textDirection(btLr|tbRl)``. Direction of text.
112
+
You can use constants ``\PhpOffice\PhpWord\Style\Cell::TEXT_DIR_BTLR`` and ``\PhpOffice\PhpWord\Style\Cell::TEXT_DIR_TBRL``
0 commit comments