Doc kit command

table.rowHeight

Table Row Height

Sets the height in points of the selected rows (every row when the table is selected; else the caret's), as at least or exactly that height.

Kit
Doc 0.1.0 (.docx)
Changes the document
yes

Parameters

Parameters of table.rowHeight
NameTypeRequiredDescription
heightnumbernopoints
rowintegerno
rule"atLeast" | "exact"no

Call through doc_run

text
doc_run {
  "path": "<file>.docx",
  "steps": [{ "command": "table.rowHeight" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: height, row, rule. doc_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": {
    "height": {
      "description": "points",
      "type": "number"
    },
    "row": {
      "type": "integer"
    },
    "rule": {
      "enum": [
        "atLeast",
        "exact"
      ],
      "type": "string"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (doc_commands through @kition/[email protected], built from KitionAI/kition-doc@41e14a8). As data: commands.jsonl.