Skip to content

Interface: CallIr ​

One write-API call on a slide, in the order it must be made. method names a real method on the authored slide and args are its positional arguments — so a printer is a formatter, and readModelToIr owns every semantic choice.

Ordering is z-order: OOXML paints a slide's shape tree front-to-back in document order, and so does the write path, so preserving call order preserves overlap.

Properties ​

args ​

args: IrValue[]


method ​

method: "addImage" | "addShape" | "addTable" | "addText" | "addChart" | "addConnector" | "addGroup" | "addNotes"


sourceName? ​

optional sourceName?: string

The source shape's name (p:cNvPr/@name), when it had one. Not an argument — carried so a printer can comment the call and a fidelity note can point at it.