-
Notifications
You must be signed in to change notification settings - Fork 541
command query ppt
zmworm edited this page Mar 18, 2026
·
52 revisions
Query selectors for PowerPoint documents.
| Selector | Aliases | Description |
|---|---|---|
shape |
textbox |
Shapes and text boxes |
title |
- | Title shapes |
picture |
pic |
Pictures |
video |
- | Videos |
audio |
- | Audio clips |
equation |
math, formula
|
Equations |
table |
- | Tables |
chart |
- | Charts |
placeholder |
- | Placeholders |
| Attribute | Applies To | Description |
|---|---|---|
font |
shapes | Font name (exact match) |
font!= |
shapes | Font not equal |
title |
shapes | Is title shape (bool) |
alt |
pictures | Has alt text (bool) |
| Selector | Description |
|---|---|
:contains("text") |
Shape contains text (case-insensitive) |
:no-alt |
Picture without alt text |
Filter by slide: slide[2] > shape[font="Arial"]
# All shapes containing text
officecli query slides.pptx 'shape:contains("Revenue")'
# Pictures without alt text
officecli query slides.pptx "picture:no-alt"
# Title shapes
officecli query slides.pptx "title"
# Shapes on slide 2 with Arial
officecli query slides.pptx 'slide[2] > shape[font="Arial"]'
# Shapes not using Calibri
officecli query slides.pptx "shape[font!=Calibri]"
# All charts
officecli query slides.pptx "chart"
# All tables
officecli query slides.pptx "table"- query - Command syntax
- PowerPoint Reference - All PowerPoint elements
Based on OfficeCli v1.0.6