Sheet kit command

view.formulaBar

Formula Bar

Shows or hides the formula bar. It is the person's view of every workbook: the workbook does not change (no undo step, nothing to save).

Kit
Sheet 0.1.0 (.xlsx (and opens .xlsm, .xls, .xltx, .csv, .ods, .xlsb))
Changes the document
no

Parameters

Parameters of view.formulaBar
NameTypeRequiredDescription
onbooleannotrue shows it, false hides it; left out, it toggles

Call through sheet_run

text
sheet_run {
  "path": "<file>.xlsx",
  "steps": [{ "command": "view.formulaBar" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: on. sheet_run answers the step’s result in completed[i].result.

Result

Result of view.formulaBar
NameTypeRequiredDescription
onbooleanno
Result JSON Schema
json
{
  "additionalProperties": false,
  "properties": {
    "on": {
      "type": "boolean"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "on": {
      "description": "true shows it, false hides it; left out, it toggles",
      "type": "boolean"
    }
  },
  "returns": "{on}; the person's view, not saved with the workbook",
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (sheet_commands through @kition/[email protected], built from KitionAI/kition-sheet@82f13b2). As data: commands.jsonl.