Skip to content

Commit abe3ca3

Browse files
authored
Update paragraph.md
1 parent 41a311e commit abe3ca3

File tree

1 file changed

+19
-14
lines changed

1 file changed

+19
-14
lines changed

docs/usage/styles/paragraph.md

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,32 @@ See [`Sample_01_SimpleText`](/samples/Sample_01_SimpleText.php) and [`Sample_08_
2929
- `basedOn`. Parent style.
3030
- `bidi`. Right to Left Paragraph Layout, *true* or *false*.
3131
- `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*.
3940
- `keepLines`. Keep all lines on one page, *true* or *false*.
4041
- `keepNext`. Keep paragraph with next paragraph, *true* or *false*.
41-
- `lineHeight`. Text line height, e.g. *1.0*, *1.5*, etc.
4242
- `next`. Style for next paragraph.
4343
- `numLevel`. Numbering level. `0` is default.
4444
- `numStyle`. Numbering style name
4545
* See [`Style > Numbering`](../styles/numbering.md).
4646
- `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.
5358
- `suppressAutoHyphens`. Hyphenation for paragraph, *true* or *false*. Only matters if [`Settings > AutoHyphenation](..settings.md) is *true*.
5459
- `tabs`. Set of custom tab stops.
5560
* See [`Style > Tab`](../styles/tab.md).

0 commit comments

Comments
 (0)