Slide kit command

slide.headerFooter

Header and Footer

Turns date, slide number and footer placeholders on or off (and sets their text) on the current or all slides.

Kit
Slide 0.1.0 (.kslide and .pptx)
Changes the document
yes

Parameters

Parameters of slide.headerFooter
NameTypeRequiredDescription
allbooleannodefault true
datebooleanno
dateTextstringnofixed date text
footerbooleanno
footerTextstringno
hideOnTitlebooleanno
slideNumberbooleanno

Call through slide_run

text
slide_run {
  "path": "<file>.pptx",
  "steps": [{ "command": "slide.headerFooter" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: all, date, dateText, footer, footerText, hideOnTitle, slideNumber. slide_run answers the step’s result in completed[i].result.

Result

The kit gives no result schema for this command.

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "all": {
      "description": "default true",
      "type": "boolean"
    },
    "date": {
      "type": "boolean"
    },
    "dateText": {
      "description": "fixed date text",
      "type": "string"
    },
    "footer": {
      "type": "boolean"
    },
    "footerText": {
      "type": "string"
    },
    "hideOnTitle": {
      "type": "boolean"
    },
    "slideNumber": {
      "type": "boolean"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (slide_commands through @kition/[email protected], built from KitionAI/kition-slide@7ef3d11). As data: commands.jsonl.