Skip to content

ppt slide get

zmworm edited this page Mar 27, 2026 · 19 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

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.24

Clone this wiki locally