Skip to content

Interface: TransitionIr ​

A slide's show transition (p:transition), as a literal TransitionProps.

Only the base ECMA-376 transitions reach this type. The read model reports TransitionInfo.type as an open string, because PowerPoint's modern effects (Morph, Vortex, …) live in the p14/p15/p159 namespaces and it decodes those too — but the write path names 21 base ones and nothing else, so from-read/transition.ts filters against that vocabulary and notes what it drops. Anything that survives is a name the write API's own TransitionType union accepts, which is what keeps a printed script compiling.

Properties ​

advanceAfterMs? ​

optional advanceAfterMs?: number

advTm in milliseconds, when the slide auto-advances.


advanceOnClick? ​

optional advanceOnClick?: boolean

advClick. Omitted when true, its default.


durationMs? ​

optional durationMs?: number

p14:dur in milliseconds, when the source carried an exact duration.


sound? ​

optional sound?: TransitionSoundIr


speed ​

speed: "slow" | "med" | "fast"

p:transition@spd. Always present — see from-read/transition.ts for why it is not omitted.


type ​

type: string

The transition-type element's local name, guaranteed to be a writable one.


variant? ​

optional variant?: object

Type-specific attributes on the type element ({ dir: 'd' }, { spokes: '2' }, …).

Index Signature ​

[key: string]: string