Doc kit command
drawing.arrange
Arrange Drawing Objects
Moves floating drawing objects to the front, back, or one step in the stacking order.
- Kit
- Doc 0.1.0 (.docx)
- Changes the document
- yes
- Acts on
ids(a list of ids), which a run step’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ids | integer[] | no | |
order | "front" | "back" | "forward" | "backward" | no |
Call through doc_run
text
doc_run {
"path": "<file>.docx",
"steps": [{ "command": "drawing.arrange" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: ids, order. 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": {
"ids": {
"items": {
"description": "an id",
"type": "integer"
},
"type": "array",
"x-khp-types": [
"Inline"
]
},
"order": {
"enum": [
"front",
"back",
"forward",
"backward"
],
"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.