Skip to content

ppt slide add

zmworm edited this page Mar 18, 2026 · 51 revisions

PowerPoint: Slide - Add

Add new slides to a presentation with optional layout, title, and background.

Path: / (parent)

Properties

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

Examples

# 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

Clone this wiki locally