-
Notifications
You must be signed in to change notification settings - Fork 517
ppt slide add
zmworm edited this page Apr 29, 2026
·
51 revisions
Add new slides to a presentation with optional layout, title, and background.
Path: / (parent)
| Property | Default | Description |
|---|---|---|
title |
- | Title text |
text |
- | Content text |
layout |
default | Layout name, type, or 1-based index |
background |
- | Background (see Slide-Set for format) |
transition |
- | Transition effect (morph, fade, push, wipe, split, reveal, random, none) |
advanceTime |
- | Auto-advance time in ms |
advanceClick |
true |
Advance on click (true/false) |
Layout types: title, blank, twoContent, titleOnly, titleContent, section, comparison
# Add title slide
officecli add slides.pptx / --type slide --prop title="Quarterly Review" --prop layout=title
# Add blank slide
officecli add slides.pptx / --type slide --prop layout=blank
# Add slide with background
officecli add slides.pptx / --type slide --prop layout=blank --prop background=1A1A2E
# Insert at position
officecli add slides.pptx / --type slide --prop layout=titleOnly --index 0
# Add with title and body text
officecli add slides.pptx / --type slide --prop title="Welcome" --prop text="Hello world"
# Add slide with morph transition
officecli add slides.pptx / --type slide --prop layout=blank --prop transition=morph
# Add slide with auto-advance
officecli add slides.pptx / --type slide --prop layout=blank --prop transition=fade --prop advanceTime=3000 --prop advanceClick=falseBased on OfficeCLI v1.0.64