-
Notifications
You must be signed in to change notification settings - Fork 518
command get ppt
zmworm edited this page Apr 29, 2026
·
51 revisions
Available paths for getting PowerPoint document elements.
| Path | Description |
|---|---|
/ |
Presentation root (metadata, slide list) |
/slide[N] |
Nth slide |
/slide[N]/shape[M] |
Shape M on slide N |
/slide[N]/placeholder[X] |
Placeholder by index or type name |
/slide[N]/picture[M] |
Picture M on slide N |
/slide[N]/chart[M] |
Chart M on slide N |
/slide[N]/table[M] |
Table M on slide N |
/slide[N]/table[M]/tr[R]/tc[C] |
Table cell |
/slide[N]/video[M] |
Video M on slide N |
/slide[N]/audio[M] |
Audio M on slide N |
/slide[N]/notes |
Speaker notes |
/slide[N]/shape[M]/paragraph[P] |
Paragraph in shape |
/slide[N]/shape[M]/paragraph[P]/run[K] |
Run in paragraph |
/slide[N]/shape[M]/run[K] |
Run anywhere in shape |
/slideMaster[N] |
Slide master |
/slideLayout[N] |
Slide layout |
title, body, subtitle, centertitle, date, footer, slidenum, picture, chart, table, object
# Get presentation overview
officecli get slides.pptx /
# Get slide with children
officecli get slides.pptx /slide[1]
officecli get slides.pptx /slide[1] --depth 2
# Get a shape
officecli get slides.pptx /slide[1]/shape[1]
# Get placeholder by type
officecli get slides.pptx "/slide[1]/placeholder[title]"
# Get slide notes
officecli get slides.pptx /slide[1]/notes
# Get table cell
officecli get slides.pptx /slide[1]/table[1]/tr[1]/tc[1]
# Get picture
officecli get slides.pptx /slide[1]/picture[1]
# Get as JSON
officecli get slides.pptx /slide[1]/shape[1] --json- get - Command syntax
- PowerPoint Reference - All PowerPoint elements
Based on OfficeCLI v1.0.64