Skip to content

ppt slide get

goworm edited this page Jun 26, 2026 · 52 revisions

PowerPoint: Slide - get

Returned attributes when getting a slide node.

Path: /slide[N]

Returned Attributes

Key Type Description
layout string Layout name (e.g. Title Slide, Two Content)
layoutType string Layout type enum (title, obj, twoObj, blank, etc.)
background string Background (hex color for solid, gradient string, or "image")
transition string Slide transition effect (e.g. fade, push, wipe, none)
transitionSpeed string Transition speed (slow, medium, fast)
advanceTime string Auto-advance delay in ms
advanceClick string Whether click-to-advance is enabled
notes string Speaker notes text
background.alpha number Background fill alpha percent (0..100); surfaces when the resolved fill carries an alpha channel
background.crop string Background image crop quad in l,t,r,b percent units
background.mode string Background image fill mode (tile, center); emitted only when non-default
background.ref number Theme background reference index (bgRef/@idx, e.g. 1001/1002/1003) when inheriting from the theme
background.scale number Tile-fill scale percent; surfaces with background.mode=tile
matchedShapes number Morph transition: number of shapes from the previous slide that matched on this slide
morphShapes number Morph transition: number of candidate shapes considered for matching on this slide

Children

A slide node contains child elements of the following types:

  • shape - Shapes and text boxes
  • picture - Images
  • table - Tables
  • chart - Charts

Example

officecli get slides.pptx /slide[1]
/slide[1] (Slide) (4 children)
  layout: Title Slide
  layoutType: title
  background: #1F4E79
  transition: fade
  transitionSpeed: medium
  advanceTime: 5000
  advanceClick: true
  notes: Welcome the audience and introduce the topic.
officecli get slides.pptx /slide[1] --depth 2
/slide[1] (Slide) (4 children)
  layout: Title Slide
  layoutType: title
  background: #1F4E79
  transition: fade
  transitionSpeed: medium
  advanceTime: 5000
  advanceClick: true
  notes: Welcome the audience and introduce the topic.
  /slide[1]/shape[1] (Shape) (1 children)
    name: Title 1
    isTitle: true
    x: 685800
    y: 2286000
  /slide[1]/shape[2] (Shape) (1 children)
    name: Subtitle 2
    x: 685800
    y: 3886200
  /slide[1]/picture[1] (Picture)
    name: Logo
    x: 7924800
    y: 228600
  /slide[1]/chart[1] (Chart)
    name: Chart 1
    chartType: bar

Based on OfficeCLI v1.0.64

Clone this wiki locally