set_line_spacing
Adjust line spacing and paragraph spacing for a specific paragraph using line rule, line value, and space before/after points.
Instructions
Set line spacing and paragraph spacing.
Args: para_id: paraId of the target paragraph. line_rule: "auto" | "exact" | "atLeast". None leaves unchanged. line_value: For "auto": 240=single, 360=1.5x, 480=double. For "exact"/"atLeast": twips. space_before_pt: Space before paragraph in points (None = unchanged). space_after_pt: Space after paragraph in points (None = unchanged).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | Yes | ||
| line_rule | No | ||
| line_value | No | ||
| space_before_pt | No | ||
| space_after_pt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |