mirror of
https://github.com/dolanmiu/docx.git
synced 2026-11-30 16:47:55 +01:00
docs: say a hanging paragraph's left is where the lines after the first start (#3874)
The `left` row in the indentation table ended with "With `hanging`, of the lines after the first", which has no verb and doesn't say what `left` does there. It now reads like the TSDoc on `left` in indent.ts. Claude-Session: https://claude.ai/code/session_01X5zGDL3sgGVBMXPfny376c Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -340,15 +340,15 @@ Set paragraph indentation from the page margins using the `indent` property.
|
||||
|
||||
### IIndentAttributesProperties
|
||||
|
||||
| Property | Type | Notes | Description |
|
||||
| -------------- | ------------------------------------ | -------- | ---------------------------------------------------------------------------------------- |
|
||||
| start | `number \| UniversalMeasure` | Optional | Indentation from the leading edge (left in LTR, right in RTL), in twips |
|
||||
| end | `number \| UniversalMeasure` | Optional | Indentation from the trailing edge (right in LTR, left in RTL), in twips |
|
||||
| left | `number \| UniversalMeasure` | Optional | Indentation from the left margin, in twips. With `hanging`, of the lines after the first |
|
||||
| right | `number \| UniversalMeasure` | Optional | Indentation from the right margin, in twips |
|
||||
| hanging | `number \| PositiveUniversalMeasure` | Optional | How far the first line starts before `left`, in twips |
|
||||
| firstLine | `number \| PositiveUniversalMeasure` | Optional | Additional first-line indent, in twips |
|
||||
| firstLineChars | `number` | Optional | First-line indent in hundredths of a character width (e.g. `200` = 2 chars) |
|
||||
| Property | Type | Notes | Description |
|
||||
| -------------- | ------------------------------------ | -------- | ------------------------------------------------------------------------------------------------------ |
|
||||
| start | `number \| UniversalMeasure` | Optional | Indentation from the leading edge (left in LTR, right in RTL), in twips |
|
||||
| end | `number \| UniversalMeasure` | Optional | Indentation from the trailing edge (right in LTR, left in RTL), in twips |
|
||||
| left | `number \| UniversalMeasure` | Optional | Indentation from the left margin, in twips. With `hanging`, it's where the lines after the first start |
|
||||
| right | `number \| UniversalMeasure` | Optional | Indentation from the right margin, in twips |
|
||||
| hanging | `number \| PositiveUniversalMeasure` | Optional | How far the first line starts before `left`, in twips |
|
||||
| firstLine | `number \| PositiveUniversalMeasure` | Optional | Additional first-line indent, in twips |
|
||||
| firstLineChars | `number` | Optional | First-line indent in hundredths of a character width (e.g. `200` = 2 chars) |
|
||||
|
||||
> `start`/`end` are the bidi-aware equivalents of `left`/`right`. Prefer `start`/`end` for documents that may be rendered in RTL languages.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user