-
Notifications
You must be signed in to change notification settings - Fork 517
word style set
zmworm edited this page Apr 29, 2026
·
51 revisions
Modify an existing style definition.
Path: /styles/{StyleId}
| Property | Default | Description |
|---|---|---|
name |
- | Display name (text) |
basedOn |
- | Base style ID |
next |
- | Next style ID |
font |
- | Font name |
size |
- | Font size (number, pt) |
bold |
- | Bold (bool) |
italic |
- | Italic (bool) |
color |
- | Text color (hex) |
alignment |
- |
left, center, right, justify
|
spaceBefore |
- | Space before paragraph (integer) |
spaceAfter |
- | Space after paragraph (integer) |
underline |
- | Underline style (single, double, true/false/none) |
strike |
- | Strikethrough (bool). Alias: strikethrough
|
lineSpacing |
- | Line spacing (1.5x for multiplier, 18pt for fixed) |
pbdr.* |
- | Paragraph borders (style;size;color;space). Supports .top, .bottom, .left, .right, .between, .bar, .all
|
officecli set report.docx /styles/Heading1 --prop font=Arial --prop size=16 --prop color=1A1A2EBased on OfficeCLI v1.0.64