PDF kit command
form.setTabOrder
Set the tab order
Set the tab order of pages (default all): row (top to bottom, left to right), column, structure, or annotations (unspecified). Or order tabs manually: `field` with `move` earlier|later moves that field one place on its page. Returns the resulting order of fields. Undoable.
- Kit
- PDF 0.1.0 (.pdf)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
field | string | no | |
move | "earlier" | "later" | no | |
order | "row" | "column" | "structure" | "annotations" | no | |
pages | integer[] | no | 1-based page numbers to set (default: all). (minItems 1) |
Call through pdf_run
text
pdf_run {
"path": "<file>.pdf",
"steps": [{ "command": "form.setTabOrder" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: field, move, order, pages. pdf_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": {
"field": {
"type": "string"
},
"move": {
"enum": [
"earlier",
"later"
],
"type": "string"
},
"order": {
"enum": [
"row",
"column",
"structure",
"annotations"
],
"type": "string"
},
"pages": {
"description": "1-based page numbers to set (default: all). (minItems 1)",
"items": {
"description": "(minimum 1)",
"type": "integer"
},
"type": "array"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (pdf_commands through @kition/[email protected], built from KitionAI/kition-pdf@b0d2725). As data: commands.jsonl.