-
Notifications
You must be signed in to change notification settings - Fork 562
ppt slide add
zmworm edited this page Mar 18, 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) |
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"Based on OfficeCli v1.0.6