-
Notifications
You must be signed in to change notification settings - Fork 559
word style add
zmworm edited this page Apr 9, 2026
·
52 revisions
Add a named style definition for paragraphs, characters, tables, or numbering.
Parent: /styles
| Property | Default | Description |
|---|---|---|
id |
CustomStyle |
Style ID |
name |
CustomStyle |
Display name |
type |
paragraph |
paragraph, character/char, table, numbering
|
basedOn |
- | Base style ID |
next |
- | Next style ID |
font, size, bold, italic, color
|
- | Formatting |
alignment, spaceBefore, spaceAfter
|
- | Paragraph settings |
officecli add report.docx /styles --type style --prop name="Custom Heading" --prop id=CustomHeading --prop basedOn=Heading1 --prop font=Georgia --prop size=18 --prop color=2E4057Based on OfficeCLI v1.0.40