-
Notifications
You must be signed in to change notification settings - Fork 517
ppt presentation set
zmworm edited this page Apr 29, 2026
·
52 revisions
Modify presentation-level properties such as slide dimensions, aspect ratio, and document metadata.
Path: /
| Property | Description | Example |
|---|---|---|
slideWidth |
Slide width (EMU or units) |
10, 24cm
|
slideHeight |
Slide height (EMU or units) |
7.5, 13.5cm
|
slideSize |
Preset aspect ratio |
16:9, 4:3, 16:10, a4, a3, letter, b4, b5, 35mm, overhead, banner, ledger, widescreen
|
title |
Document title | "Q4 Presentation" |
author / creator
|
Author name | "John Doe" |
subject |
Subject | "Quarterly Review" |
description |
Description | "..." |
category |
Category | "Finance" |
keywords |
Keywords | "Q4, revenue" |
lastmodifiedby |
Last modified by | "Jane" |
revision |
Revision number | "2" |
defaultFont / font
|
Default theme font | "Arial" |
find |
Search text or regex (add regex=true for regex) for replace and/or formatting |
find="TODO", find=\d+% with regex=true
|
replace |
Replacement text (optional; omit to format only) | replace="DONE" |
firstSlideNum |
First slide number (default 1) | 2 |
rtl |
Right-to-left layout |
true / false
|
compatMode |
Compatibility mode |
true / false
|
removePersonalInfo |
Remove personal info on save |
true / false
|
| Property | Description | Example |
|---|---|---|
show.loop |
Loop continuously |
true / false
|
show.narration |
Play narration |
true / false
|
show.animation |
Show animations |
true / false
|
show.useTimings |
Use slide timings |
true / false
|
| Property | Description | Example |
|---|---|---|
print.what |
Print output |
slides, handouts, notes, outline
|
print.colorMode |
Color mode |
color, grayscale, blackAndWhite
|
print.hiddenSlides |
Print hidden slides |
true / false
|
print.scaleToFitPaper |
Scale to fit paper |
true / false
|
print.frameSlides |
Frame slides |
true / false
|
| Property | Description | Example |
|---|---|---|
theme.color.<slot> |
Theme color (dk1, lt1, accent1-6, hlink, folHlink) | FF0000 |
theme.font.major.latin |
Major (heading) Latin font | Arial |
theme.font.minor.latin |
Minor (body) Latin font | Calibri |
| Property | Description | Example |
|---|---|---|
extended.template |
Template name | "Template.potx" |
extended.manager |
Manager | "Jane" |
extended.company |
Company | "Acme Corp" |
# Set slide size to 16:9
officecli set slides.pptx / --prop slideSize=16:9
# Set custom dimensions
officecli set slides.pptx / --prop slideWidth=24cm --prop slideHeight=13.5cm
# Set A4 paper size
officecli set slides.pptx / --prop slideSize=a4
# Set standard 4:3 ratio
officecli set slides.pptx / --prop slideSize=4:3
# Set document properties
officecli set slides.pptx / --prop author="John Doe" --prop title="Q4 Review"
# Set default font for entire presentation
officecli set slides.pptx / --prop defaultFont=Arial
# Find and replace text across all slides
officecli set slides.pptx / --prop find="2025" --prop replace="2026"
# Find and format (highlight matched text without replacing)
officecli set slides.pptx / --prop find="TODO" --prop bold=true --prop color=FF0000
# Find with regex
officecli set slides.pptx / --prop 'find=\d+%' --prop regex=true --prop color=redBased on OfficeCLI v1.0.64