@@ -11,26 +11,26 @@ Section
11
11
Available Section style options:
12
12
13
13
- ``borderBottomColor ``. Border bottom color.
14
- - ``borderBottomSize ``. Border bottom size ( in twips) .
14
+ - ``borderBottomSize ``. Border bottom size in * twip * .
15
15
- ``borderLeftColor ``. Border left color.
16
- - ``borderLeftSize ``. Border left size ( in twips) .
16
+ - ``borderLeftSize ``. Border left size in * twip * .
17
17
- ``borderRightColor ``. Border right color.
18
- - ``borderRightSize ``. Border right size ( in twips) .
18
+ - ``borderRightSize ``. Border right size in * twip * .
19
19
- ``borderTopColor ``. Border top color.
20
- - ``borderTopSize ``. Border top size ( in twips) .
20
+ - ``borderTopSize ``. Border top size in * twip * .
21
21
- ``breakType ``. Section break type (nextPage, nextColumn, continuous, evenPage, oddPage).
22
22
- ``colsNum ``. Number of columns.
23
23
- ``colsSpace ``. Spacing between columns.
24
24
- ``footerHeight ``. Spacing to bottom of footer.
25
25
- ``gutter ``. Page gutter spacing.
26
26
- ``headerHeight ``. Spacing to top of header.
27
- - ``marginTop ``. Page margin top ( in twips) .
28
- - ``marginLeft ``. Page margin left ( in twips) .
29
- - ``marginRight ``. Page margin right ( in twips) .
30
- - ``marginBottom ``. Page margin bottom ( in twips) .
27
+ - ``marginTop ``. Page margin top in * twip * .
28
+ - ``marginLeft ``. Page margin left in * twip * .
29
+ - ``marginRight ``. Page margin right in * twip * .
30
+ - ``marginBottom ``. Page margin bottom in * twip * .
31
31
- ``orientation ``. Page orientation (``portrait ``, which is default, or ``landscape ``).
32
- - ``pageSizeH ``. Page height ( in twips) . Implicitly defined by ``orientation `` option. Any changes are discouraged.
33
- - ``pageSizeW ``. Page width ( in twips) . Implicitly defined by ``orientation `` option. Any changes are discouraged.
32
+ - ``pageSizeH ``. Page height in * twip * . Implicitly defined by ``orientation `` option. Any changes are discouraged.
33
+ - ``pageSizeW ``. Page width in * twip * . Implicitly defined by ``orientation `` option. Any changes are discouraged.
34
34
35
35
.. _font-style :
36
36
@@ -70,15 +70,15 @@ Available Paragraph style options:
70
70
- ``alignment ``. Supports all alignment modes since 1st Edition of ECMA-376 standard up till ISO/IEC 29500:2012.
71
71
See ``\PhpOffice\PhpWord\SimpleType\Jc `` class for the details.
72
72
- ``basedOn ``. Parent style.
73
- - ``hanging ``. Hanging by how much .
74
- - ``indent ``. Indent by how much .
73
+ - ``hanging ``. Hanging in * twip * .
74
+ - ``indent ``. Indent in * twip * .
75
75
- ``keepLines ``. Keep all lines on one page, *true * or *false *.
76
76
- ``keepNext ``. Keep paragraph with next paragraph, *true * or *false *.
77
77
- ``lineHeight ``. Text line height, e.g. *1.0 *, *1.5 *, etc.
78
78
- ``next ``. Style for next paragraph.
79
79
- ``pageBreakBefore ``. Start paragraph on next page, *true * or *false *.
80
- - ``spaceBefore ``. Space before paragraph.
81
- - ``spaceAfter ``. Space after paragraph.
80
+ - ``spaceBefore ``. Space before paragraph in * twip * .
81
+ - ``spaceAfter ``. Space after paragraph in * twip * .
82
82
- ``spacing ``. Space between lines.
83
83
- ``spacingLineRule ``. Line Spacing Rule. *auto *, *exact *, *atLeast *
84
84
- ``tabs ``. Set of custom tab stops.
@@ -100,8 +100,8 @@ Available Table style options:
100
100
See ``\PhpOffice\PhpWord\SimpleType\JcTable `` and ``\PhpOffice\PhpWord\SimpleType\Jc `` classes for the details.
101
101
- ``bgColor ``. Background color, e.g. '9966CC'.
102
102
- ``border(Top|Right|Bottom|Left)Color ``. Border color, e.g. '9966CC'.
103
- - ``border(Top|Right|Bottom|Left)Size ``. Border size in twips .
104
- - ``cellMargin(Top|Right|Bottom|Left) ``. Cell margin in twips .
103
+ - ``border(Top|Right|Bottom|Left)Size ``. Border size in * twip * .
104
+ - ``cellMargin(Top|Right|Bottom|Left) ``. Cell margin in * twip * .
105
105
- ``width ``. Table width in percent.
106
106
- ``layout ``. Table layout, either *fixed * or *autofit * See ``\PhpOffice\PhpWord\Style\Table `` for constants.
107
107
@@ -115,13 +115,13 @@ Available Cell style options:
115
115
116
116
- ``bgColor ``. Background color, e.g. '9966CC'.
117
117
- ``border(Top|Right|Bottom|Left)Color ``. Border color, e.g. '9966CC'.
118
- - ``border(Top|Right|Bottom|Left)Size ``. Border size in twips .
118
+ - ``border(Top|Right|Bottom|Left)Size ``. Border size in * twip * .
119
119
- ``gridSpan ``. Number of columns spanned.
120
120
- ``textDirection(btLr|tbRl) ``. Direction of text.
121
121
You can use constants ``\PhpOffice\PhpWord\Style\Cell::TEXT_DIR_BTLR `` and ``\PhpOffice\PhpWord\Style\Cell::TEXT_DIR_TBRL ``
122
122
- ``valign ``. Vertical alignment, *top *, *center *, *both *, *bottom *.
123
123
- ``vMerge ``. *restart * or *continue *.
124
- - ``width ``. Cell width in twips .
124
+ - ``width ``. Cell width in * twip * .
125
125
126
126
.. _image-style :
127
127
0 commit comments