-
Notifications
You must be signed in to change notification settings - Fork 542
ppt paragraph add
zmworm edited this page Apr 9, 2026
·
50 revisions
Add a paragraph to an existing shape's text body.
Type: paragraph / para
Parent Path: /slide[N]/shape[M]
| Property | Default | Description |
|---|---|---|
text |
(empty) | Text content |
align |
- |
left, center, right, justify
|
indent |
- | First-line indent (EMU or units) |
marginLeft / marL
|
- | Left margin (EMU or units) |
marginRight / marR
|
- | Right margin (EMU or units) |
list / listStyle
|
- |
bullet, dash, arrow, check, star, numbered, alpha, roman, none
|
font |
- | Font family |
size |
- | Font size (pt) |
bold |
false |
Bold text |
italic |
false |
Italic text |
color |
- | Font color (hex RGB or theme) |
spacing |
- | Character spacing (points) |
baseline |
- |
super, sub, none, or percentage |
# Add a simple paragraph
officecli add slides.pptx /slide[1]/shape[1] --type paragraph --prop text="New paragraph"
# Add a centered paragraph with styling
officecli add slides.pptx /slide[1]/shape[1] --type para --prop text="Centered Text" --prop align=center --prop bold=true --prop size=18
# Add a bulleted paragraph with indent
officecli add slides.pptx /slide[1]/shape[1] --type paragraph --prop text="Bullet item" --prop list=bullet --prop indent=457200 --prop marginLeft=914400
# Add a paragraph with custom font and spacing
officecli add slides.pptx /slide[1]/shape[1] --type paragraph --prop text="Spaced text" --prop font="Arial" --prop size=14 --prop spacing=2 --prop color=4472C4Based on OfficeCLI v1.0.40