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/usage/styles/paragraph.md
+19-14Lines changed: 19 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,27 +29,32 @@ See [`Sample_01_SimpleText`](/samples/Sample_01_SimpleText.php) and [`Sample_08_
29
29
-`basedOn`. Parent style.
30
30
-`bidi`. Right to Left Paragraph Layout, *true* or *false*.
31
31
-`contextualSpacing`. Ignore Spacing Above and Below When Using Identical Styles, *true* or *false*.
32
-
-`indentation`. An array of indentation key => value pairs in *twip*. Supports *left*, *right*, *firstLine*, *firstLineChars* and *hanging* indentation.
33
-
* See [`Style > Indentation`](../styles/indentation.md) for possible identation types.
34
-
-`indentHanging`. Hanging indentation in *half inches*.
35
-
-`indentFirstLine`. First line indentation in *half inches*.
36
-
-`indentFirstLineChars`. First line character indentation in *half inches*.
37
-
-`indentLeft`. Left indentation in *half inches*.
38
-
-`indentRight`. Right indentation in *half inches*.
32
+
-`indentation`. An array of indentation [key => value] pairs.
33
+
* See [`Style > Indentation`](../styles/indentation.md) for indentation options.
34
+
* The following options in paragraph are shortcuts to the indentation options.
35
+
*`indentHanging`. Hanging indentation in *half inches*.
36
+
*`indentFirstLine`. First line indentation in *half inches*.
37
+
*`indentFirstLineChars`. First line character indentation in *half inches*.
38
+
*`indentLeft`. Left indentation in *half inches*.
39
+
*`indentRight`. Right indentation in *half inches*.
39
40
-`keepLines`. Keep all lines on one page, *true* or *false*.
40
41
-`keepNext`. Keep paragraph with next paragraph, *true* or *false*.
41
-
-`lineHeight`. Text line height, e.g. *1.0*, *1.5*, etc.
42
42
-`next`. Style for next paragraph.
43
43
-`numLevel`. Numbering level. `0` is default.
44
44
-`numStyle`. Numbering style name
45
45
* See [`Style > Numbering`](../styles/numbering.md).
46
46
-`pageBreakBefore`. Start paragraph on next page, *true* or *false*.
47
-
-`shading`. Paragraph Shading.
48
-
-`spaceAfter`. Space after paragraph in *twip*.
49
-
-`spaceBefore`. Space before paragraph in *twip*.
50
-
-`spacing`. Space between lines in *twip*. If spacingLineRule is auto, 240 (height of 1 line) will be added, so if you want a double line height, set this to 240.
51
-
-`spacingLineRule`. Line Spacing Rule. *auto*, *exact*, *atLeast*
52
-
* See [`SimpleType > LineSpacingRule`](../simpletypes/linespacingrule.md) class constants for possible values.
47
+
-`shading`. An array of shading [key => value] pairs.
48
+
* See [`Style > Shading`](../styles/shading.md) for shading options.
49
+
-`space`. An array of spacing [key => value] pairs.
50
+
* See [`Style > Spacing`](../styles/spacing.md) for spacing options.
51
+
* The following options in paragraph are shortcuts to the spacing options.
52
+
*`lineHeight`. Text line height, e.g. *1.0*, *1.5*, etc.
53
+
*`spaceAfter`. Space after paragraph in *twip*.
54
+
*`spaceBefore`. Space before paragraph in *twip*.
55
+
*`spacing`. Space between lines within a paragraph in *twip*. If spacingLineRule is auto, 240 (height of 1 line) will be added, so if you want a double line height, set this to 240.
56
+
*`spacingLineRule`. Line Spacing Rule. *auto*, *exact*, *atLeast*
57
+
- See [`SimpleType > LineSpacingRule`](../simpletypes/linespacingrule.md) class constants for possible values.
53
58
-`suppressAutoHyphens`. Hyphenation for paragraph, *true* or *false*. Only matters if [`Settings > AutoHyphenation](..settings.md) is *true*.
0 commit comments